/* ---------- Brand Variables ---------- */
:root {
  --hmh-teal: #00ae9d;
  --hmh-teal-hover: #009688;
  --hmh-teal-deep: #008f82;
  --hmh-green-life: #5fbb46;
  --hmh-dark: #414242; 
  --hmh-grey-light: #f4f4f4; 
  --hmh-muted: #777777;
  --hmh-aqua: #d6edea;
  --hmh-aqua-soft: #eef8f6;
  --hmh-lime-soft: #e6f4d0;
  --hmh-line: rgba(65, 66, 66, 0.14);
  --hmh-shadow-sm: 0 10px 30px rgba(22, 78, 72, 0.08);
  --hmh-shadow-md: 0 20px 40px rgba(0, 0, 0, 0.12);
  --hmh-hero-radius: 32px;
  --hmh-card-radius: 24px;
  --hmh-button-radius: 16px;
      --lfd-hdr-font: 'Poppins', sans-serif;
    --lfd-hdr-radius: 40px;
    --lfd-hdr-cutout-w: 280px;
    --lfd-hdr-cutout-h: 100px;
    --lfd-hdr-primary: #10b981;
    --lfd-hdr-primary-hover: #0ea5e9;
    --lfd-hdr-bg: #ffffff;
    --lfd-hdr-text-dark: #1f2937;
    --lfd-hdr-text-light: #ffffff;
}

body.lfd-pl-body {
  font-family: 'Nunito', sans-serif;
  color: var(--hmh-dark);
  background-color: #f9fafa; /* Very light subtle background for the listing page */
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html,
body {
    width: 100%;
    overflow-x: clip;
}

/* ---------- Hero Section ---------- */
.lfd-pl-hero-wrapper {
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lfd-pl-hero {
    width: 100%;
    height: 480px;
    border-radius: var(--hmh-hero-radius);
    background-image: linear-gradient(to bottom, rgba(34, 34, 34, 0.3), rgba(13, 44, 40, 0.8)), url(https://images.unsplash.com/photo-1501854140801-50d01698950b?auto=format&fit=crop&w=2400&q=80);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: left;
    color: #ffffff;
    padding: 40px;
    /* text-align: left; */
    padding-left: 80px;
}

.lfd-pl-hero-content {
  position: relative;
  z-index: 2;
  margin-top: -60px; /* Offset slightly upward to balance the overlapping search bar */
}

.lfd-pl-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.lfd-pl-hero-title {
  font-family: "Nunito", sans-serif;
  font-size: clamp(2.5rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 15px;
}

.lfd-pl-hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}

/* ---------- Floating Search Widget ---------- */
.lfd-pl-search-container {
  width: 100%;
  max-width: 1360px;
  margin-top: -45px; /* Pulls it up over the hero image */
  position: relative;
  z-index: 10;
  padding: 0 15px;
}

.lfd-pl-search-pill {
  background: #ffffff;
  border-radius: 100px; /* Pill shape */
  padding: 10px 10px 10px 30px;
  box-shadow: var(--hmh-shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lfd-pl-search-segment {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  padding: 5px 15px;
}

.lfd-pl-segment-icon {
  color: var(--hmh-teal);
  font-size: 1.1rem;
}

.lfd-pl-segment-text {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.lfd-pl-segment-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--hmh-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.lfd-pl-segment-input {
  border: none;
  background: transparent;
  padding: 0;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--hmh-muted);
  outline: none;
  width: 100%;
}
.lfd-pl-segment-input::placeholder {
  color: var(--hmh-muted);
  opacity: 0.7;
}
.lfd-pl-text-dark {
  color: var(--hmh-dark) !important;
}

.lfd-pl-divider {
  width: 1px;
  height: 40px;
  background-color: var(--hmh-line);
  margin: 0 10px;
}

.lfd-pl-search-btn {
  background-color: var(--hmh-teal);
  color: #ffffff;
  border: none;
  border-radius: 100px;
  padding: 15px 32px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}
.lfd-pl-search-btn:hover {
  background-color: var(--hmh-teal-hover);
}

/* ---------- Quick Filter Pills ---------- */
.lfd-pl-quick-filters {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.lfd-pl-qfilter-btn {
  background: #ffffff;
  border: 1px solid var(--hmh-teal); /* Thin teal border */
  border-radius: 100px;
  padding: 6px 20px 6px 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.lfd-pl-qfilter-btn:hover {
  background: var(--hmh-aqua-soft);
  transform: translateY(-2px);
}

.lfd-pl-qfilter-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.lfd-pl-qfilter-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.lfd-pl-qfilter-title {
  font-family: "Nunito", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--hmh-dark);
  line-height: 1.2;
}

.lfd-pl-qfilter-desc {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--hmh-muted);
}

/* ---------- Mobile Responsiveness (Part 1) ---------- */
@media (max-width: 991.98px) {
  .lfd-pl-search-pill {
    flex-direction: column;
    border-radius: var(--hmh-card-radius);
    padding: 16px;
    gap: 12px;
  }
  .lfd-pl-search-segment {
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid var(--hmh-line);
  }
  .lfd-pl-search-segment:nth-of-type(3) {
    border-bottom: 1px solid var(--hmh-line);
  }
  .lfd-pl-search-btn {
    width: 100%;
    justify-content: center;
    border-radius: 16px;
    padding: 16px;
    margin-top: 8px;
  }
  .lfd-pl-hero {
    height: auto;
    padding: 120px 20px 100px 20px;
  }
}

@media (max-width: 575.98px) {
  .lfd-pl-hero-wrapper {
    padding: 12px;
  }
  .lfd-pl-hero-title {
    font-size: 2.2rem;
  }
  .lfd-pl-hero-subtitle br {
    display: none;
  }
  .lfd-pl-quick-filters {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0 15px;
  }
  .lfd-pl-qfilter-btn {
    width: 100%;
  }
}




/* ---------- Layout & Sidebar Base ---------- */
.lfd-pl-main-container {
  max-width: 1600px;
  margin: 40px auto;
  padding: 0 20px;
}

.lfd-pl-layout-row {
  row-gap: 20px;
}

.lfd-pl-sidebar {
  background: #ffffff;
  border-radius: var(--hmh-card-radius); /* 24px */
  border: 1px solid var(--hmh-line);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.text-teal {
  color: var(--hmh-teal) !important;
}

/* Sidebar Header */
.lfd-pl-filter-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--hmh-line);
}

.lfd-pl-filter-title {
  font-family: "Nunito", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--hmh-dark);
}

.lfd-pl-clear-all {
  color: var(--hmh-teal);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.lfd-pl-clear-all:hover {
  color: var(--hmh-teal-hover);
}

/* Accordion Styling */
.lfd-pl-filter-group {
  border-bottom: 1px solid var(--hmh-line);
}
.lfd-pl-filter-group:last-child {
  border-bottom: none;
}

.lfd-pl-filter-summary {
  list-style: none;
  padding: 20px 24px;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--hmh-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.lfd-pl-filter-summary::-webkit-details-marker {
  display: none;
}
.lfd-pl-filter-summary::after {
  content: '\f107'; /* FontAwesome angle-down */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--hmh-muted);
  transition: transform 0.3s ease;
}
.lfd-pl-filter-group[open] .lfd-pl-filter-summary::after {
  transform: rotate(180deg);
}

.lfd-pl-filter-content {
  padding: 0 24px 24px 24px;
}

/* Typography inside filters */
.lfd-pl-filter-hint {
  font-size: 0.8rem;
  color: var(--hmh-muted);
  margin: 0;
}
.lfd-pl-count {
  color: var(--hmh-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Custom Checkboxes & Radios overriding Bootstrap */
.lfd-pl-custom-check, .lfd-pl-custom-radio {
  margin-bottom: 12px;
  padding-left: 28px;
}
.lfd-pl-custom-check:last-child, .lfd-pl-custom-radio:last-child {
  margin-bottom: 0;
}
.lfd-pl-custom-check .form-check-input, 
.lfd-pl-custom-radio .form-check-input {
  width: 20px;
  height: 20px;
  margin-left: -28px;
  border-color: #d1d1d1;
  cursor: pointer;
}
.lfd-pl-custom-check .form-check-input:checked, 
.lfd-pl-custom-radio .form-check-input:checked {
  background-color: var(--hmh-teal);
  border-color: var(--hmh-teal);
}
.lfd-pl-custom-check .form-check-input:focus, 
.lfd-pl-custom-radio .form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 174, 157, 0.25);
  border-color: var(--hmh-teal);
}
.lfd-pl-custom-check .form-check-label, 
.lfd-pl-custom-radio .form-check-label {
  font-weight: 600;
  color: var(--hmh-dark);
  cursor: pointer;
  padding-top: 1px;
}

/* Range Slider */
.lfd-pl-price-labels {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--hmh-dark);
  margin-bottom: 8px;
}
.lfd-pl-range-slider::-webkit-slider-thumb {
  background: #ffffff;
  border: 3px solid var(--hmh-teal);
  height: 20px;
  width: 20px;
  margin-top: -8px;
}
.lfd-pl-range-slider::-webkit-slider-runnable-track {
  background: var(--hmh-teal);
  height: 4px;
}

/* Duration Chips Grid */
.lfd-pl-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lfd-pl-filter-chip {
  background: var(--hmh-grey-light);
  border: 1px solid transparent;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--hmh-dark);
  transition: all 0.2s ease;
}
.lfd-pl-filter-chip:hover {
  background: #e8e8e8;
}
.lfd-pl-filter-chip.active {
  background: #ffffff;
  border-color: var(--hmh-teal);
  color: var(--hmh-teal);
}

/* Special styling for closed filter groups (bg tint) */
.lfd-pl-filter-group-closed .lfd-pl-filter-summary {
  background-color: var(--hmh-aqua-soft);
}

/* ---------- Results Header ---------- */
.lfd-pl-results-header {
  margin-bottom: 30px;
}

.lfd-pl-results-title {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--hmh-dark);
  margin: 0 0 4px 0;
  letter-spacing: -0.5px;
}

.lfd-pl-results-subtitle {
  font-size: 0.95rem;
  color: var(--hmh-muted);
  font-weight: 600;
  margin: 0;
}

.lfd-pl-sort-btn {
  background: #ffffff;
  border: 1px solid var(--hmh-line);
  padding: 10px 20px;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--hmh-muted);
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}
.lfd-pl-sort-btn:hover {
  border-color: #d1d1d1;
  background: var(--hmh-grey-light);
}
.lfd-pl-sort-btn::after {
  display: none; /* Hide default bootstrap caret */
}

/* Active Tags */
.lfd-pl-active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lfd-pl-active-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hmh-aqua-soft);
  color: var(--hmh-teal-deep);
  border: 1px solid var(--hmh-teal);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
}
.lfd-pl-tag-close {
  background: transparent;
  border: none;
  color: var(--hmh-teal);
  font-size: 0.8rem;
  padding: 0;
  cursor: pointer;
}
.lfd-pl-tag-close:hover {
  color: var(--hmh-teal-deep);
}   



/* ---------- Program Cards Base ---------- */
.lfd-pl-card {
  display: flex;
  background: #ffffff;
  border-radius: var(--hmh-card-radius); /* 24px */
  border: 1px solid var(--hmh-line);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.25s ease;
}
.lfd-pl-card:hover {
  box-shadow: var(--hmh-shadow-md);
  border: 1px solid var(--hmh-teal);
}

/* --- Card: Image Column (Left) --- */
.lfd-pl-card-img-wrap {
  flex: 0 0 320px;
  position: relative;
  overflow: hidden;
}
.lfd-pl-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lfd-pl-badge-curated {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #ffffff;
  color: var(--hmh-dark);
  font-family: "Nunito", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.lfd-pl-fav-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #ffffff;
  color: var(--hmh-dark);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: color 0.2s ease, transform 0.2s ease;
}
.lfd-pl-fav-btn:hover {
  color: #ff4d4d;
  transform: scale(1.1);
}

.lfd-pl-fav-form {
  margin: 0;
  padding: 0;
}

.lfd-pl-fav-btn--saved {
  color: #00ae9d;
}

.lfd-pl-fav-btn--saved:hover {
  color: #008f82;
}

.lfd-pl-fav-btn {
  cursor: pointer;
  text-decoration: none;
}

.lfd-pl-photo-count {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
}

/* --- Card: Main Content (Middle) --- */
.lfd-pl-card-main {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.lfd-pl-tag-cat {
  font-family: 'Nunito', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.lfd-pl-tag-wellness { background: var(--hmh-aqua-soft); color: var(--hmh-teal-deep); }
.lfd-pl-tag-movement { background: var(--hmh-aqua-soft); color: var(--hmh-teal-deep); }
.lfd-pl-tag-recovery { background: var(--hmh-aqua-soft); color: var(--hmh-teal-deep); }

.lfd-pl-host-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--hmh-muted);
}
.lfd-pl-host-badge .fa-check { color: var(--hmh-green-life); }

.lfd-pl-card-title {
    font-family: "Nunito", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--hmh-teal);
    line-height: 1.3;
    margin: 10px 0;
    letter-spacing: -0.5px;
    text-transform: capitalize;
}

.lfd-pl-card-title,
.lfd-pl-card-title a {
    transition: color 0.3s ease;
}

.lfd-pl-card:hover .lfd-pl-card-title,
.lfd-pl-card:hover .lfd-pl-card-title a {
    color: var(--hmh-dark) !important;
}

.lfd-pl-card-location {
  color: var(--hmh-muted);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.lfd-pl-card-location .fa-map-marker-alt { color: var(--hmh-teal); }

.lfd-pl-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hmh-dark);
  margin-bottom: 16px;
}
.lfd-pl-card-meta i { color: var(--hmh-teal); margin-right: 4px; }

.lfd-pl-card-snippet {
  font-style: italic;
  color: var(--hmh-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.lfd-pl-host-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--hmh-line);
}

.lfd-pl-host-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  background: var(--hmh-aqua);
  color: var(--hmh-teal);
}

.lfd-pl-host-name {
  font-size: 0.85rem;
  color: var(--hmh-muted);
}
.lfd-pl-verified {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--hmh-teal);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- Card: Sidebar/Pricing (Right) --- */
.lfd-pl-card-sidebar {
  flex: 0 0 280px;
  padding: 24px;
  border-left: 1px solid var(--hmh-line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lfd-pl-rating {
  font-size: 0.85rem;
  color: var(--hmh-muted);
}
.lfd-pl-rating .fa-star { color: #f5a623; }
.lfd-pl-rating .fa-star-half-alt { color: #f5a623; }
.lfd-pl-rating strong { color: var(--hmh-dark); font-family: "Nunito", sans-serif; font-size: 1rem; margin-left: 4px;}

.lfd-pl-format-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
}
.lfd-pl-format-residential { border: 1px solid var(--hmh-teal); color: var(--hmh-teal-deep); }
.lfd-pl-format-day { border: 1px solid var(--hmh-teal-deep); background: var(--hmh-aqua-soft); color: var(--hmh-teal-deep); }

.lfd-pl-inclusion {
  font-size: 0.8rem;
  font-weight: 700;
}

.lfd-pl-perks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lfd-pl-perks li {
  font-size: 0.8rem;
  color: var(--hmh-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lfd-pl-perks li i { color: var(--hmh-teal); font-size: 0.9rem;}

.lfd-pl-price-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--hmh-muted);
  letter-spacing: 0.05em;
}
.lfd-pl-price-value {
  font-family: "Nunito", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--hmh-dark);
  line-height: 1.1;
  margin: 4px 0;
}
.lfd-pl-price-unit {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hmh-muted);
}
.lfd-pl-price-sub {
  font-size: 0.75rem;
  color: var(--hmh-muted);
}

.lfd-pl-btn {
  border-radius: var(--hmh-button-radius); /* 16px */
  padding: 10px 0;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.lfd-pl-btn-outline {
  border: 1px solid var(--hmh-line);
  color: var(--hmh-dark);
  background: transparent;
}
.lfd-pl-btn-outline:hover { background: var(--hmh-grey-light); }
.lfd-pl-btn-primary {
  background: var(--hmh-teal);
  color: #fff;
  border: none;
}
.lfd-pl-btn-primary:hover { background: var(--hmh-teal-hover); color: #fff;}

/* ---------- CTA Banner ---------- */
.lfd-pl-banner-cta {
  background: var(--hmh-aqua); /* Light green tint */
  border-radius: var(--hmh-card-radius);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.lfd-pl-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--hmh-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.lfd-pl-banner-text flex-grow-1 {
}
.lfd-pl-banner-text h4 {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 0 4px 0;
  color: var(--hmh-dark);
}
.lfd-pl-banner-text p {
  margin: 0;
  color: var(--hmh-dark);
  font-size: 0.95rem;
}

/* ---------- Pagination ---------- */
.lfd-pl-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}
.lfd-pl-page-btn, .lfd-pl-page-next {
  background: transparent;
  border: none;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  color: var(--hmh-dark);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.lfd-pl-page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lfd-pl-page-btn:hover { background: var(--hmh-grey-light); }
.lfd-pl-page-btn.active {
  background: var(--hmh-teal);
  color: #ffffff;
}
.lfd-pl-page-dots {
  color: var(--hmh-muted);
  font-weight: 800;
  padding: 0 4px;
}
.lfd-pl-page-next {
  padding: 0 20px;
  height: 40px;
  border: 1px solid var(--hmh-line);
  margin-left: 8px;
}
.lfd-pl-page-next:hover { background: var(--hmh-grey-light); }

/* ---------- Mobile Responsiveness (Part 3) ---------- */
/* ==========================================================
   PROGRAM CARDS — TABLET / BELOW XL
========================================================== */

@media (max-width: 1199.98px) {

    .lfd-pl-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 0;
    }

    .lfd-pl-card-img-wrap {
        width: 100%;
        height: 250px;
        flex: 0 0 250px;
    }

    .lfd-pl-card-main {
        width: 100%;
        min-width: 0;
    }

    .lfd-pl-card-sidebar {
        width: 100%;
        min-width: 0;

        flex: none;

        border-left: 0;
        border-top: 1px solid var(--hmh-line);

        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;

        gap: 30px;
    }

    .lfd-pl-card-sidebar > div {
        min-width: 0;
    }

    .lfd-pl-card-sidebar > div:last-child {
        flex: 0 0 auto;
        min-width: 250px;
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
  .lfd-pl-card-sidebar {
    flex-direction: column; /* Stack everything on phones */
    align-items: stretch;
  }
  .lfd-pl-banner-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .lfd-pl-verified {
    display: none; /* Hide verified text on tiny screens to save space, keep badge */
  }
}

/* Program listing search */

.lfd-pl-location-segment,
.lfd-pl-guests-segment {
    position: relative;
}

.lfd-pl-location-wrapper {
    position: relative;
    width: 100%;
}

.lfd-pl-location-icon-btn {
    position: absolute;
    top: 50%;
    right: 0;
    display: inline-flex;
    /* align-items: center; */
    justify-content: right;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--hmh-teal);
    transform: translateY(-50%);
}

.lfd-pl-location-results {
    position: absolute;
    top: calc(100% + 18px);
    left: -42px;
    z-index: 1060;

    width: min(390px, calc(100vw - 32px));

    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    transform: translateY(-8px);

    transition:
        opacity 180ms ease,
        transform 180ms ease,
        visibility 180ms ease;
}

.lfd-pl-location-results.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lfd-pl-location-results-inner {
    overflow: hidden;

    border: 1px solid rgba(21, 68, 61, 0.1);
    border-radius: 18px;
    background: #fff;

    box-shadow:
        0 22px 55px rgba(15, 55, 49, 0.18);
}

.lfd-pl-current-location-option,
.lfd-pl-location-suggestion {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 16px;
    gap: 12px;
    align-items: center;

    width: 100%;
    padding: 13px 15px;

    border: 0;
    background: transparent;
    text-align: left;
}

.lfd-pl-current-location-option {
    background: #effaf7;
}

.lfd-pl-current-location-icon,
.lfd-pl-location-suggestion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border-radius: 12px;
    background: #fff;
    color: var(--hmh-teal);
}

.lfd-pl-current-location-content,
.lfd-pl-location-suggestion-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.lfd-pl-current-location-content strong,
.lfd-pl-location-suggestion-content strong {
    color: #173d39;
    font-size: 13px;
}

.lfd-pl-current-location-content small,
.lfd-pl-location-suggestion-content small {
    color: #778b87;
    font-size: 11px;
    text-transform: capitalize;
}

.lfd-pl-location-results-divider {
    height: 1px;
    background: #edf1f0;
}

.lfd-pl-location-results-heading {
    padding: 12px 15px 7px;
    color: #7f918d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lfd-pl-location-suggestions {
    overflow-y: auto;
    max-height: 260px;
    padding: 0 7px 8px;
}

.lfd-pl-location-suggestion {
    border-radius: 12px;
}

.lfd-pl-location-suggestion:hover {
    background: #f2f9f7;
}

.lfd-pl-location-empty {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 18px 14px;
    color: #6f817e;
}

.lfd-pl-location-empty span {
    display: flex;
    flex-direction: column;
}

.lfd-pl-location-empty small {
    font-size: 11px;
}

.lfd-pl-guests-button {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.lfd-pl-guests-button::after {
    display: none;
}

.lfd-pl-guests-menu {
    width: 300px;
    padding: 8px;

    border: 1px solid rgba(21, 68, 61, 0.1);
    border-radius: 18px;

    box-shadow:
        0 20px 50px rgba(15, 55, 49, 0.16);
}

.lfd-pl-guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 13px 10px;
}

.lfd-pl-guest-row + .lfd-pl-guest-row {
    border-top: 1px solid #edf1f0;
}

.lfd-pl-guest-row > div:first-child {
    display: flex;
    flex-direction: column;
}

.lfd-pl-guest-row strong {
    color: #173d39;
    font-size: 13px;
}

.lfd-pl-guest-row small {
    color: #859592;
    font-size: 11px;
}

.lfd-pl-guest-counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lfd-pl-guest-counter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border: 1px solid #d8e3e0;
    border-radius: 50%;
    background: #fff;
    color: var(--hmh-teal);
}

@media (max-width: 767.98px) {
    .lfd-pl-location-results {
        left: 0;
        width: min(390px, calc(100vw - 36px));
    }

    .lfd-pl-guests-menu {
        width: min(300px, calc(100vw - 36px));
    }
}

/*--- filters side bar ---*/

/* =========================================================
   PREMIUM FILTER SIDEBAR
========================================================= */

.lfd-pl-sidebar {
    overflow: hidden;
    border: 1px solid rgba(15, 74, 66, 0.09);
    border-radius: 22px;
    background: #ffffff;
    box-shadow:
        0 18px 46px rgba(25, 73, 66, 0.07),
        0 3px 10px rgba(25, 73, 66, 0.04);
}

.lfd-pl-filter-header {
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid #edf1f0;
}

.lfd-pl-filter-title {
    color: #173d39;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.lfd-pl-clear-all {
    color: var(--hmh-teal);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.lfd-pl-clear-all:hover {
    color: var(--hmh-teal-deep);
    text-decoration: underline;
}

.lfd-pl-filter-group {
    border-bottom: 1px solid #edf1f0;
    background: #ffffff;
}

.lfd-pl-filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    color: #284b46;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.lfd-pl-filter-summary::-webkit-details-marker {
    display: none;
}

.lfd-pl-filter-summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-size: 10px;
    font-weight: 900;
    color: #8a9c98;
    transition: transform 180ms ease;
}

.lfd-pl-filter-group[open] > .lfd-pl-filter-summary::after {
    transform: rotate(180deg);
}

.lfd-pl-filter-summary:hover {
    background: #f7fbfa;
}

.lfd-pl-filter-content {
    padding: 0 20px 18px;
}

.lfd-pl-custom-check,
.lfd-pl-custom-radio {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0;
    padding: 10px 0;
}

.lfd-pl-custom-check + .lfd-pl-custom-check,
.lfd-pl-custom-radio + .lfd-pl-custom-radio {
    border-top: 1px solid #f2f4f3;
}

.lfd-pl-custom-check .form-check-input,
.lfd-pl-custom-radio .form-check-input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 2px 0 0;
    border: 1px solid #bfd0cc;
    box-shadow: none;
}

.lfd-pl-custom-check .form-check-input:checked,
.lfd-pl-custom-radio .form-check-input:checked {
    border-color: var(--hmh-teal);
    background-color: var(--hmh-teal);
}

.lfd-pl-custom-check .form-check-label,
.lfd-pl-custom-radio .form-check-label {
    flex: 1;
    color: #334f4a;
    font-size: 13px;
    cursor: pointer;
}

.lfd-pl-custom-check .form-check-label > span:first-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lfd-pl-custom-check strong {
    color: #203f3a;
    font-size: 13px;
    font-weight: 750;
}

.lfd-pl-custom-check small {
    color: #82918e;
    font-size: 10px;
    line-height: 1.4;
}

.lfd-pl-count {
    color: #91a09d;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.lfd-pl-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.lfd-pl-filter-chip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #d9e5e2;
    border-radius: 10px;
    background: #ffffff;
    color: #526b66;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
    transition:
        border-color 150ms ease,
        background-color 150ms ease,
        color 150ms ease;
}

.lfd-pl-filter-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lfd-pl-filter-chip:hover {
    border-color: #9ed2ca;
    background: #f2faf8;
}

.lfd-pl-filter-chip.active,
.lfd-pl-filter-chip:has(input:checked) {
    border-color: var(--hmh-teal);
    background: rgba(0, 174, 157, 0.1);
    color: var(--hmh-teal-deep);
}

.lfd-pl-price-input-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
    align-items: end;
}

.lfd-pl-price-input-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lfd-pl-price-input-box > span {
    color: #82928f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lfd-pl-price-input-box > div {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 40px;
    padding: 0 9px;
    border: 1px solid #dce6e4;
    border-radius: 10px;
    background: #ffffff;
}

.lfd-pl-price-input-box i {
    color: #778b87;
    font-size: 10px;
}

.lfd-pl-price-input-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #24443f;
    font-size: 12px;
    font-weight: 750;
}

.lfd-pl-price-separator {
    padding-bottom: 10px;
    color: #a0aeab;
}

.lfd-pl-price-labels {
    color: #82918e;
    font-size: 10px;
    font-weight: 700;
}

.lfd-pl-range-slider {
    accent-color: var(--hmh-teal);
}

.lfd-pl-filter-hint {
    margin-bottom: 0;
    color: #84938f;
    font-size: 10px;
    line-height: 1.55;
}

.lfd-pl-filter-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 9px;
    padding: 15px;
    border-top: 1px solid #e8efed;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 25px rgba(25, 73, 66, 0.06);
    backdrop-filter: blur(12px);
}

.lfd-pl-filter-actions .lfd-pl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0;
    text-decoration: none;
}



.lfd-pl-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 30px;
    padding: 6px 12px;

    border: 1px solid var(--hmh-teal);
    border-radius: 999px;
    background: #effaf8;

    color: var(--hmh-teal-deep);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.lfd-pl-active-filter:hover {
    border-color: var(--hmh-teal-deep);
    background: #e5f7f3;
    color: var(--hmh-teal-deep);
    text-decoration: none;
}

.lfd-pl-active-filter i {
    font-size: 10px;
}

.lfd-pl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 10px 16px;

    border: 1px solid transparent;
    border-radius: 14px;

    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-decoration: none;

    cursor: pointer;

    transition:
        transform 150ms ease,
        box-shadow 150ms ease,
        border-color 150ms ease,
        background-color 150ms ease;
}

.lfd-pl-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.lfd-pl-btn-outline {
    border-color: #d8e3e0;
    background: #ffffff;
    color: #294b46;
}

.lfd-pl-btn-outline:hover {
    border-color: var(--hmh-teal);
    background: #f1faf8;
    color: var(--hmh-teal-deep);
}

.lfd-pl-btn-primary {
    border-color: var(--hmh-teal);
    background: var(--hmh-teal);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 174, 157, 0.18);
}

.lfd-pl-btn-primary:hover {
    border-color: var(--hmh-teal-deep);
    background: var(--hmh-teal-deep);
    color: #ffffff;
}

.lfd-pl-card-sidebar .d-flex.gap-2 > .lfd-pl-btn {
    flex: 1 1 0;
    width: auto !important;
    white-space: nowrap;
}

/* ==========================================================
   PROGRAM CARDS — DESKTOP XL ONLY
========================================================== */

@media (min-width: 1200px) {

    .lfd-pl-card {
        display: grid;

        grid-template-columns:
            minmax(240px, 29%)
            minmax(0, 1fr)
            minmax(220px, 24%);

        width: 100%;
        min-width: 0;
    }

    .lfd-pl-card-img-wrap {
        min-width: 0;
        height: auto;
    }

    .lfd-pl-card-main {
        min-width: 0;
    }

    .lfd-pl-card-sidebar {
        min-width: 0;

        padding: 24px 20px;

        border-top: 0;
        border-left: 1px solid var(--hmh-line);

        flex-direction: column;
        align-items: stretch;
    }
}

/* =========================================================
   PREMIUM EMPTY STATE
========================================================= */

.lfd-pl-empty-state {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    align-items: center;

    min-height: 270px;
    padding: 36px;

    overflow: hidden;

    border: 1px solid rgba(16, 91, 81, 0.1);
    border-radius: 24px;

    background:
        radial-gradient(
            circle at top right,
            rgba(0, 174, 157, 0.1),
            transparent 36%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f7fbfa 100%
        );

    box-shadow:
        0 24px 60px rgba(18, 70, 63, 0.08),
        0 4px 14px rgba(18, 70, 63, 0.04);
}

.lfd-pl-empty-state::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -55px;

    width: 180px;
    height: 180px;

    border: 1px solid rgba(0, 174, 157, 0.12);
    border-radius: 50%;
}

.lfd-pl-empty-state::after {
    content: "";
    position: absolute;
    right: 56px;
    bottom: -78px;

    width: 145px;
    height: 145px;

    border-radius: 50%;
    background: rgba(151, 225, 97, 0.08);
}

.lfd-pl-empty-icon {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 82px;
    height: 82px;

    border: 1px solid rgba(0, 174, 157, 0.2);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(0, 174, 157, 0.12),
            rgba(255, 255, 255, 0.9)
        );

    color: var(--hmh-teal);
    font-size: 30px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 12px 30px rgba(0, 174, 157, 0.12);
}

.lfd-pl-empty-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.lfd-pl-empty-eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 8px;

    color: var(--hmh-teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lfd-pl-empty-content h3 {
    margin: 0 0 9px;

    color: #173d39;
    font-family: "Manrope", sans-serif;
    font-size: clamp(22px, 2vw, 29px);
    font-weight: 800;
    line-height: 1.18;
}

.lfd-pl-empty-content p {
    max-width: 540px;
    margin: 0;

    color: #6f817d;
    font-size: 13px;
    line-height: 1.7;
}

.lfd-pl-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 22px;
}

.lfd-pl-empty-actions .lfd-pl-btn {
    min-width: 150px;
}

.lfd-pl-empty-actions .lfd-pl-btn i {
    margin-right: 7px;
    font-size: 11px;
}

@media (max-width: 767.98px) {
    .lfd-pl-empty-state {
        grid-template-columns: 1fr;
        gap: 18px;

        min-height: 0;
        padding: 28px 22px;

        text-align: center;
    }

    .lfd-pl-empty-icon {
        width: 72px;
        height: 72px;
        margin: 0 auto;
    }

    .lfd-pl-empty-content p {
        margin-inline: auto;
    }

    .lfd-pl-empty-actions {
        justify-content: center;
    }

    .lfd-pl-empty-actions .lfd-pl-btn {
        width: 100%;
    }
}

.lfd-pl-infinite-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 90px;
    padding: 24px 0 8px;
}

.lfd-pl-infinite-loader {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 16px;

    border: 1px solid rgba(0, 174, 157, 0.14);
    border-radius: 999px;

    background: #ffffff;

    color: #68807b;
    font-size: 12px;
    font-weight: 700;

    box-shadow:
        0 10px 28px rgba(18, 70, 63, 0.06);
}

.lfd-pl-infinite-spinner {
    display: inline-flex;
    color: var(--hmh-teal);
}

.lfd-pl-infinite-scroll:not(.is-loading)
.lfd-pl-infinite-spinner {
    display: none;
}

.lfd-pl-infinite-retry {
    min-height: 40px;
    padding: 9px 18px;

    border: 1px solid var(--hmh-teal);
    border-radius: 999px;

    background: #ffffff;
    color: var(--hmh-teal-deep);

    font-size: 12px;
    font-weight: 800;
}

.lfd-pl-infinite-retry:hover {
    background: #effaf8;
}

.lfd-pl-load-complete {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #71847f;
    font-size: 12px;
    font-weight: 700;
}

.lfd-pl-load-complete i {
    color: var(--hmh-teal);
}


/* =========================================================
   RELATED PROGRAMS
========================================================= */

.lfd-pl-related-section {
    position: relative;
    margin-top: 34px;
    padding-top: 10px;
}

.lfd-pl-related-shell {
    position: relative;
    overflow: hidden;

    padding: 28px;

    border: 1px solid rgba(18, 91, 81, 0.1);
    border-radius: 26px;

    background:
        radial-gradient(
            circle at top right,
            rgba(0, 174, 157, 0.08),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f7fbfa 100%
        );

    box-shadow:
        0 20px 55px rgba(20, 70, 64, 0.07),
        0 3px 12px rgba(20, 70, 64, 0.03);
}

.lfd-pl-related-shell::before {
    content: "";
    position: absolute;
    top: -86px;
    right: -58px;

    width: 210px;
    height: 210px;

    border: 1px solid rgba(0, 174, 157, 0.1);
    border-radius: 50%;

    pointer-events: none;
}

.lfd-pl-related-shell::after {
    content: "";
    position: absolute;
    top: 38px;
    right: 72px;

    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: var(--hmh-teal);

    box-shadow:
        22px 14px 0 rgba(0, 174, 157, 0.3),
        42px -5px 0 rgba(151, 225, 97, 0.5);

    pointer-events: none;
}

.lfd-pl-related-head {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.lfd-pl-related-head-copy {
    max-width: 650px;
}

.lfd-pl-related-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 8px;
    padding: 6px 10px;

    border: 1px solid rgba(0, 174, 157, 0.14);
    border-radius: 999px;

    background: rgba(0, 174, 157, 0.07);

    color: var(--hmh-teal-deep);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;
}

.lfd-pl-related-eyebrow i {
    color: var(--hmh-teal);
    font-size: 10px;
}

.lfd-pl-related-head h2 {
    margin: 0;

    color: #173d39;
    font-family: "Manrope", sans-serif;
    font-size: clamp(24px, 2.2vw, 31px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.lfd-pl-related-head p {
    max-width: 600px;
    margin: 9px 0 0;

    color: #71837f;
    font-size: 13px;
    line-height: 1.7;
}

.lfd-pl-related-view-all {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 0 0 auto;

    min-height: 42px;
    padding: 10px 16px;

    border: 1px solid rgba(0, 174, 157, 0.22);
    border-radius: 13px;

    background: #ffffff;

    color: var(--hmh-teal-deep);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;

    box-shadow: 0 8px 22px rgba(20, 70, 64, 0.06);

    transition:
        transform 150ms ease,
        border-color 150ms ease,
        background-color 150ms ease,
        box-shadow 150ms ease;
}

.lfd-pl-related-view-all:hover {
    border-color: var(--hmh-teal);
    background: #effaf8;
    color: var(--hmh-teal-deep);
    text-decoration: none;

    transform: translateY(-1px);

    box-shadow: 0 12px 28px rgba(20, 70, 64, 0.1);
}

.lfd-pl-related-view-all i {
    font-size: 10px;
    transition: transform 150ms ease;
}

.lfd-pl-related-view-all:hover i {
    transform: translateX(3px);
}

.lfd-pl-related-divider {
    position: relative;
    z-index: 1;

    height: 1px;
    margin: 24px 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 174, 157, 0.3),
            rgba(18, 91, 81, 0.08) 35%,
            transparent 100%
        );
}

.lfd-pl-related-shell > .d-flex {
    position: relative;
    z-index: 1;
}

@media (max-width: 767.98px) {
    .lfd-pl-related-section {
        margin-top: 26px;
    }

    .lfd-pl-related-shell {
        padding: 22px 16px;
        border-radius: 20px;
    }

    .lfd-pl-related-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .lfd-pl-related-view-all {
        width: 100%;
    }

    .lfd-pl-related-divider {
        margin: 20px 0;
    }
}

/* =========================================================
   FILTER SIDEBAR — MODERN PREMIUM SAAS OVERRIDE
========================================================= */

.lfd-pl-sidebar-col {
    position: relative;
}

.lfd-pl-sidebar {
    width: 100%;
    overflow: visible;

    border: 1px solid rgba(23, 61, 57, 0.09);
    border-radius: 26px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdfc 100%
        );

    box-shadow:
        0 24px 60px rgba(20, 68, 62, 0.08),
        0 4px 14px rgba(20, 68, 62, 0.04);
}

/* Header */

.lfd-pl-filter-header {
    min-height: 76px;
    padding: 22px 24px;
    border-radius: 26px 26px 0 0;
    border-bottom: 1px solid #e9efed;
    background: #ffffff;
}

.lfd-pl-filter-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin: 0;

    color: #173d39;
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.lfd-pl-filter-title i {
    color: #173d39;
    font-size: 15px;
}

.lfd-pl-clear-all {
    color: var(--hmh-teal);
    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.lfd-pl-clear-all:hover {
    color: var(--hmh-teal-deep);
    text-decoration: none;
}

/* Filter sections */

.lfd-pl-filter-group {
    margin: 0;
    border: 0;
    border-bottom: 1px solid #e9efed;
    background: transparent;
}

.lfd-pl-filter-group:last-of-type {
    border-bottom: 0;
}

.lfd-pl-filter-summary {
    min-height: 62px;
    padding: 20px 24px;

    color: #244a44;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;

    background: transparent;
}

.lfd-pl-filter-summary > span {
    gap: 10px !important;
}

.lfd-pl-filter-summary i {
    width: 18px;

    color: var(--hmh-teal) !important;
    font-size: 14px;
    text-align: center;
}

.lfd-pl-filter-summary::after {
    content: "\f078";

    font-family: "Font Awesome 6 Free";
    font-size: 10px;
    font-weight: 900;

    color: #8ca09c;

    transition:
        transform 180ms ease,
        color 180ms ease;
}

.lfd-pl-filter-group[open]
> .lfd-pl-filter-summary::after {
    color: var(--hmh-teal);
    transform: rotate(180deg);
}

.lfd-pl-filter-summary:hover {
    background: #f5faf8;
}

/* Remove Bootstrap tint from Ideal for */

.lfd-pl-filter-summary.bg-light {
    background: transparent !important;
}

.lfd-pl-filter-summary.bg-light:hover {
    background: #f5faf8 !important;
}

.lfd-pl-filter-content {
    padding: 0 24px 22px;
}

/* Checkbox and radio rows */

.lfd-pl-custom-check,
.lfd-pl-custom-radio {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    min-height: 56px;
    margin: 0;
    padding: 13px 0;
}

.lfd-pl-custom-check + .lfd-pl-custom-check,
.lfd-pl-custom-radio + .lfd-pl-custom-radio {
    border-top: 1px solid #edf2f0;
}

.lfd-pl-custom-check .form-check-input,
.lfd-pl-custom-radio .form-check-input {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;

    margin: 2px 0 0;

    border: 1.5px solid #b9ccc8;
    border-radius: 5px;
    background-color: #ffffff;

    cursor: pointer;
    box-shadow: none;
}

.lfd-pl-custom-radio .form-check-input {
    border-radius: 50%;
}

.lfd-pl-custom-check .form-check-input:hover,
.lfd-pl-custom-radio .form-check-input:hover {
    border-color: var(--hmh-teal);
}

.lfd-pl-custom-check .form-check-input:checked,
.lfd-pl-custom-radio .form-check-input:checked {
    border-color: var(--hmh-teal);
    background-color: var(--hmh-teal);
}

.lfd-pl-custom-check .form-check-input:focus,
.lfd-pl-custom-radio .form-check-input:focus {
    border-color: var(--hmh-teal);

    box-shadow:
        0 0 0 4px rgba(0, 174, 157, 0.12);
}

.lfd-pl-custom-check .form-check-label,
.lfd-pl-custom-radio .form-check-label {
    display: flex;
    flex: 1;
    gap: 12px;

    min-width: 0;
    padding: 0;

    color: #2d4e49;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;

    cursor: pointer;
}

.lfd-pl-custom-check
.form-check-label
> span:first-child {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}

.lfd-pl-custom-check strong {
    color: #203f3a;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
}

.lfd-pl-custom-check small {
    color: #81928e;
    font-family: "Nunito", sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.45;
}

.lfd-pl-count {
    flex: 0 0 auto;

    padding-top: 2px;

    color: #879995;
    font-family: "Nunito", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}

/* Duration chips */

.lfd-pl-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.lfd-pl-filter-chip {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 10px 12px;

    border: 1px solid #d6e3e0;
    border-radius: 12px;

    background: #ffffff;
    color: #4c6964;

    font-family: "Nunito", sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;

    cursor: pointer;

    transition:
        border-color 150ms ease,
        background-color 150ms ease,
        color 150ms ease,
        transform 150ms ease,
        box-shadow 150ms ease;
}

.lfd-pl-filter-chip input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.lfd-pl-filter-chip:hover {
    border-color: rgba(0, 174, 157, 0.48);
    background: #f4fbf9;
    color: #244c46;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(19, 75, 67, 0.06);
}

.lfd-pl-filter-chip.active,
.lfd-pl-filter-chip:has(input:checked) {
    border-color: var(--hmh-teal);

    background:
        linear-gradient(
            145deg,
            rgba(0, 174, 157, 0.13),
            rgba(0, 174, 157, 0.06)
        );

    color: var(--hmh-teal-deep);

    box-shadow:
        inset 0 0 0 1px rgba(0, 174, 157, 0.05),
        0 7px 18px rgba(0, 174, 157, 0.08);
}

/* Hint text */

.lfd-pl-filter-hint {
    color: #7f918d;
    font-family: "Nunito", sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.55;
}

/* Sticky footer actions */

.lfd-pl-filter-actions {
    position: sticky;
    bottom: 0;
    z-index: 10;

    display: grid;
    grid-template-columns: minmax(105px, 0.8fr) minmax(145px, 1.2fr);
    gap: 10px;

    padding: 16px 18px 17px;

    border-top: 1px solid #e4ece9;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.92),
            #ffffff 35%
        );

    box-shadow:
        0 -14px 30px rgba(22, 70, 64, 0.06);

    backdrop-filter: blur(14px);
}

.lfd-pl-filter-actions .lfd-pl-btn {
    min-height: 46px;
    padding: 11px 15px;

    border-radius: 14px;

    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.lfd-pl-filter-actions .lfd-pl-btn-outline {
    border-color: #d4e1de;
    background: #ffffff;
    color: #294c46;
}

.lfd-pl-filter-actions .lfd-pl-btn-outline:hover {
    border-color: var(--hmh-teal);
    background: #f3faf8;
    color: var(--hmh-teal-deep);
}

.lfd-pl-filter-actions .lfd-pl-btn-primary {
    border-color: var(--hmh-teal);
    background: var(--hmh-teal);
    color: #ffffff;

    box-shadow:
        0 10px 22px rgba(0, 174, 157, 0.2);
}

/* Desktop: natural page height, no internal scrollbar */

@media (min-width: 992px) {
    .lfd-pl-sidebar-col {
        align-self: flex-start;
    }


}

/* Medium desktop */

@media (min-width: 992px) and (max-width: 1199.98px) {
    .lfd-pl-filter-header {
        padding-inline: 19px;
    }

    .lfd-pl-filter-summary {
        padding-inline: 19px;
    }

    .lfd-pl-filter-content {
        padding-inline: 19px;
    }

    .lfd-pl-custom-check .form-check-label,
    .lfd-pl-custom-radio .form-check-label {
        font-size: 13px;
    }

    .lfd-pl-custom-check strong {
        font-size: 13px;
    }

    .lfd-pl-count {
        font-size: 10px;
    }
}



/* =========================================================
   Mobile filter and sort toolbar
   ========================================================= */

.lfd-pl-mobile-toolbar {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 18px;
}

.lfd-pl-mobile-filter-btn,
.lfd-pl-mobile-sort-btn {
    min-width: 0;
    min-height: 48px;
    border: 1px solid rgba(0, 174, 157, 0.35);
    border-radius: 14px;
    background: #ffffff;
    color: #173d39;
    font-family: "Manrope", sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(26, 61, 57, 0.06);
}

.lfd-pl-mobile-filter-btn {
    flex: 0 0 calc(42% - 5px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
}

.lfd-pl-mobile-sort {
    flex: 1 1 auto;
    min-width: 0;
}

.lfd-pl-mobile-sort-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    white-space: nowrap;
}

.lfd-pl-mobile-sort-btn strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lfd-pl-mobile-sort-btn.dropdown-toggle::after {
    flex: 0 0 auto;
    margin-left: 2px;
}

.lfd-pl-mobile-sort .dropdown-menu {
    min-width: 190px;
    padding: 7px;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(23, 61, 57, 0.14);
}

.lfd-pl-mobile-sort .dropdown-item {
    padding: 10px 12px;
    border-radius: 9px;
    color: #31534f;
}

.lfd-pl-mobile-sort .dropdown-item.active {
    background: rgba(0, 174, 157, 0.1);
    color: #008f82;
}

/* =========================================================
   Mobile filter modal/offcanvas
   ========================================================= */

.lfd-pl-mobile-filter-canvas {
    width: min(380px, 92vw);
    max-width: 92vw;
    border: 0;
    background: #ffffff;
    box-shadow: 24px 0 70px rgba(22, 61, 57, 0.2);
}

.lfd-pl-mobile-filter-canvas .offcanvas-header {
    min-height: 76px;
    padding: 18px 20px;
    border-bottom: 1px solid #e8efed;
}

.lfd-pl-mobile-filter-canvas .offcanvas-title {
    color: #173d39;
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 800;
}

.lfd-pl-mobile-filter-canvas .offcanvas-body {
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.lfd-pl-mobile-filter-canvas .lfd-pl-sidebar {
    position: static;
    width: 100%;
    height: auto;
    min-height: 100%;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.lfd-pl-mobile-filter-canvas .lfd-pl-filter-actions {
    position: sticky;
    right: auto;
    bottom: 0;
    left: auto;
    z-index: 10;
    border-radius: 0;
}

.offcanvas-backdrop.show {
    opacity: 0.42;
}

@media (max-width: 1199.98px) {
    .lfd-pl-layout-row {
        min-height: 0 !important;
        row-gap: 0;
        align-items: flex-start;
    }

    .lfd-pl-main-container,
    .lfd-pl-results-col {
        min-height: 0 !important;
        /*padding: 0px 40px;*/
    }

}

/* Sidebar focus categories */

.lfd-pl-sidebar-category-main {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
    flex: 1;
}

.lfd-pl-sidebar-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(0, 174, 157, 0.1);
    color: var(--hmh-teal);
    font-size: 13px;
}

.lfd-pl-sidebar-category-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.lfd-pl-sidebar-category-copy strong {
    color: #203f3a;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
}

.lfd-pl-sidebar-category-copy small {
    color: #81928e;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
}

/* =========================================================
   SORT DROPDOWN — LIFED THEME
========================================================= */

.lfd-pl-sort-menu {
    min-width: 240px;
    padding: 8px;

    border: 1px solid rgba(0, 174, 157, 0.16);
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 18px 45px rgba(22, 78, 72, 0.14),
        0 3px 10px rgba(22, 78, 72, 0.05);
}

.lfd-pl-sort-menu .dropdown-item {
    display: flex;
    align-items: center;

    min-height: 44px;
    margin: 2px 0;
    padding: 10px 13px;

    border-radius: 11px;

    background: transparent;
    color: var(--hmh-dark);

    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-weight: 700;

    transition:
        background-color 150ms ease,
        color 150ms ease,
        transform 150ms ease;
}

.lfd-pl-sort-menu .dropdown-item:hover,
.lfd-pl-sort-menu .dropdown-item:focus {
    background: var(--hmh-aqua-soft);
    color: var(--hmh-teal-deep);

    transform: translateX(2px);
}

.lfd-pl-sort-menu .dropdown-item.active,
.lfd-pl-sort-menu .dropdown-item:active {
    background:
        linear-gradient(
            135deg,
            rgba(0, 174, 157, 0.15),
            var(--hmh-aqua-soft)
        );

    color: var(--hmh-teal-deep);
}


.lfd-pl-sort-btn {
    border-color: rgba(0, 174, 157, 0.18);
    background: #ffffff;
    color: #617773;
}

.lfd-pl-sort-btn:hover,
.lfd-pl-sort-btn:focus,
.lfd-pl-sort-btn[aria-expanded="true"] {
    border-color: var(--hmh-teal);
    background: var(--hmh-aqua-soft);
    color: var(--hmh-teal-deep);

    box-shadow:
        0 0 0 4px rgba(0, 174, 157, 0.08);
}

.lfd-pl-sort-btn .fw-bold,
.lfd-pl-sort-btn .text-dark {
    color: var(--hmh-teal-deep) !important;
}

.lfd-pl-sort-option {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) 16px;
    gap: 10px;
    align-items: center;
}

.lfd-pl-sort-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 10px;
    background: var(--hmh-aqua-soft);
    color: var(--hmh-teal);

    font-size: 13px;
}

.lfd-pl-sort-option.active
.lfd-pl-sort-option-icon {
    background: var(--hmh-teal);
    color: #ffffff;
}

.lfd-pl-sort-option-label {
    color: inherit;
    font-size: 13px;
    font-weight: 750;
}

.lfd-pl-sort-check {
    justify-self: end;
    color: var(--hmh-teal);
    font-size: 11px;
}

.lfd-pl-sort-option {
    position: relative;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) 16px;
    gap: 10px;
    align-items: center;
}

.lfd-pl-sort-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;

    width: 16px;
    height: 16px;

    color: var(--hmh-teal);
    font-size: 10px;
}

/* =========================================================
   DESKTOP STICKY FILTER SIDEBAR — FINAL
========================================================= */
/*
@media (min-width: 992px) {

    .lfd-pl-main-container,
    .lfd-pl-layout-row {
        overflow: visible !important;
    }

    .lfd-pl-layout-row {
        align-items: flex-start;
    }

    .lfd-pl-sidebar-col {
        position: sticky;
        top: 90px;
        align-self: flex-start;

        height: calc(100vh - 110px);
        max-height: calc(100vh - 110px);

        overflow: visible;
    }

    .lfd-pl-sidebar-col > .lfd-pl-sidebar {
        position: static;

        display: flex;
        flex-direction: column;

        width: 100%;
        height: 100%;
        max-height: 100%;

        overflow-x: hidden;
 
        scrollbar-width: thin;
        scrollbar-color:
            rgba(0, 174, 157, 0.35)
            transparent;
    }

    .lfd-pl-sidebar-col
    > .lfd-pl-sidebar::-webkit-scrollbar {
        width: 6px;
    }

    .lfd-pl-sidebar-col
    > .lfd-pl-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }

    .lfd-pl-sidebar-col
    > .lfd-pl-sidebar::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(0, 174, 157, 0.28);
    }

    .lfd-pl-sidebar-col
    > .lfd-pl-sidebar::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 174, 157, 0.48);
    }

    .lfd-pl-sidebar-col .lfd-pl-filter-actions {
        position: sticky;
        bottom: 0;
        z-index: 20;

        flex: 0 0 auto;

        border-radius: 0 0 26px 26px;
        background: #ffffff;
    }
}
*/
/* =========================================================
   DESKTOP STICKY FILTER SIDEBAR — XL+
========================================================= */

@media (min-width: 1200px) {

    .lfd-pl-main-container,
    .lfd-pl-layout-row {
        overflow: visible !important;
    }

    .lfd-pl-layout-row {
        align-items: flex-start;
    }

    .lfd-pl-sidebar-col {
        position: sticky;
        top: 90px;
        align-self: flex-start;

        height: calc(100vh - 110px);
        max-height: calc(100vh - 110px);
    }

    .lfd-pl-sidebar-col > .lfd-pl-sidebar {
        position: static;

        display: flex;
        flex-direction: column;

        height: 100%;
        max-height: 100%;

        overflow: hidden;

        border-radius: 26px;
    }

    .lfd-pl-filter-scroll {
        flex: 1 1 auto;
        min-height: 0;

        overflow-x: hidden;
        overflow-y: auto;

        scrollbar-width: thin;
        scrollbar-color:
            rgba(0, 174, 157, 0.35)
            transparent;
    }

    .lfd-pl-filter-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .lfd-pl-filter-scroll::-webkit-scrollbar-track {
        margin-block: 14px;
        background: transparent;
    }

    .lfd-pl-filter-scroll::-webkit-scrollbar-thumb {
        border: 1px solid transparent;
        border-radius: 999px;

        background:
            rgba(0, 174, 157, 0.32)
            padding-box;
    }

    .lfd-pl-filter-scroll::-webkit-scrollbar-thumb:hover {
        background:
            rgba(0, 174, 157, 0.5)
            padding-box;
    }

    .lfd-pl-filter-actions {
        position: static;
        z-index: 20;

        flex: 0 0 auto;

        border-radius: 0 0 26px 26px;
        background: #ffffff;
    }
}

.ts-dropdown single
{
    width: 270px !important;
}

.ts-dropdown-content
{
    width: 270px !important;
}

.lfd-pl-price-filter {
    padding-top: 4px;
}

.lfd-pl-price-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-bottom: 18px;

    font-size: 0.85rem;
}

.lfd-pl-price-values span:first-child,
.lfd-pl-price-values span:last-child {
    padding: 7px 10px;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 9px;

    background: #fff;

    color: var(--hmh-dark);
}

.lfd-pl-price-slider {
    position: relative;

    height: 24px;
}

.lfd-pl-price-slider-track,
.lfd-pl-price-slider-range {
    position: absolute;

    top: 50%;
    left: 0;

    width: 100%;
    height: 4px;

    transform: translateY(-50%);

    border-radius: 999px;
}

.lfd-pl-price-slider-track {
    background: #e7eceb;
}

.lfd-pl-price-slider-range {
    background: var(--hmh-teal);
}

.lfd-pl-price-range-input {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 24px;

    margin: 0;

    appearance: none;
    -webkit-appearance: none;

    background: transparent;

    pointer-events: none;
}

.lfd-pl-price-range-input::-webkit-slider-thumb {
    width: 18px;
    height: 18px;

    appearance: none;
    -webkit-appearance: none;

    border: 3px solid #fff;
    border-radius: 50%;

    background: var(--hmh-teal);

    box-shadow:
        0 0 0 1px rgba(0, 174, 157, 0.25),
        0 3px 8px rgba(0, 0, 0, 0.15);

    cursor: pointer;

    pointer-events: auto;
}

.lfd-pl-price-range-input::-moz-range-thumb {
    width: 18px;
    height: 18px;

    border: 3px solid #fff;
    border-radius: 50%;

    background: var(--hmh-teal);

    box-shadow:
        0 0 0 1px rgba(0, 174, 157, 0.25),
        0 3px 8px rgba(0, 0, 0, 0.15);

    cursor: pointer;

    pointer-events: auto;
}

/* ==========================================================
   MOBILE PROGRAM SEARCH
========================================================== */

.lfd-pl-mobile-search-trigger-wrapper,
.lfd-pl-mobile-search-header,
.lfd-pl-mobile-search-backdrop {
    display: none;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767.98px) {

    /* ======================================================
       COMPACT SEARCH TRIGGER
    ====================================================== */

    .lfd-pl-mobile-search-trigger-wrapper {
        position: relative;
        z-index: 15;

        display: block;

        width: 100%;

        margin-top: -64px;
        padding: 0 16px 20px;
    }


    .lfd-pl-mobile-search-trigger {
        display: grid;
        grid-template-columns:
            64px
            minmax(0, 1fr)
            54px;

        align-items: center;

        gap: 14px;

        width: 100%;

        min-height: 112px;

        padding: 14px 16px;

        border: 1px solid rgba(66, 65, 65, 0.16);
        border-radius: 28px;

        background: #fff;

        color: #424141;

        font-family: 'Nunito', sans-serif;

        text-align: left;

        box-shadow:
            0 14px 35px rgba(32, 55, 52, 0.14);

        cursor: pointer;

        -webkit-tap-highlight-color: transparent;
    }


    /* ======================================================
       SEARCH ICON
    ====================================================== */

    .lfd-pl-mobile-search-trigger__search {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 64px;
        height: 64px;

        border-radius: 22px;

        background: var(--hmh-teal);

        color: #fff;

        font-size: 22px;
    }


    /* ======================================================
       CONTENT
    ====================================================== */

    .lfd-pl-mobile-search-trigger__content {
        display: flex;
        flex-direction: column;

        min-width: 0;
    }


    .lfd-pl-mobile-search-trigger__title {
        overflow: hidden;

        color: #173e3b;

        font-size: 17px;
        font-weight: 800;

        line-height: 1.25;

        text-overflow: ellipsis;
        white-space: nowrap;
    }


    .lfd-pl-mobile-search-trigger__summary {
        overflow: hidden;

        margin-top: 4px;

        color: #778280;

        font-size: 13px;
        font-weight: 600;

        line-height: 1.3;

        text-overflow: ellipsis;
        white-space: nowrap;
    }


    /* ======================================================
       FILTER ICON
    ====================================================== */

    .lfd-pl-mobile-search-trigger__filter {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 54px;
        height: 54px;

        justify-self: end;

        border-radius: 19px;

        background: #edf7f6;

        color: var(--hmh-teal);

        font-size: 18px;
    }


    /* ======================================================
       BACKDROP
    ====================================================== */

    .lfd-pl-mobile-search-backdrop {
        position: fixed;

        inset: 0;

        z-index: 1055;

        display: block;

        background: rgba(26, 35, 34, 0.66);

        opacity: 0;
        visibility: hidden;

        pointer-events: none;

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
    }


    body.lfd-pl-search-open
    .lfd-pl-mobile-search-backdrop {
        opacity: 1;
        visibility: visible;

        pointer-events: auto;
    }


    /* ======================================================
       EXISTING SEARCH CONTAINER BECOMES BOTTOM SHEET
    ====================================================== */

    .lfd-pl-search-container {
        position: fixed !important;

        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;

        z-index: 1060 !important;

        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden;

        border-radius: 30px 30px 0 0;

        background: #f7fbfa;

        box-shadow:
            0 -16px 50px rgba(27, 43, 41, 0.22);

        transform: translateY(105%);

        visibility: hidden;

        pointer-events: none;

        transition:
            transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0.32s ease;
    }


    body.lfd-pl-search-open
    .lfd-pl-search-container {
        transform: translateY(0);

        visibility: visible;

        pointer-events: auto;
    }


    /* ======================================================
       SEARCH SHEET HEADER
    ====================================================== */

    .lfd-pl-mobile-search-header {
        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 20px;

        padding:
            24px
            22px
            20px;

        border-bottom: 1px solid #e3eceb;

        background: #fff;
    }


    .lfd-pl-mobile-search-header__eyebrow {
        margin-bottom: 5px;

        color: var(--hmh-teal);

        font-size: 11px;
        font-weight: 900;

        line-height: 1.2;

        letter-spacing: 0.14em;

        text-transform: uppercase;
    }


    .lfd-pl-mobile-search-header__title {
        color: #173e3b;

        font-size: 24px;
        font-weight: 800;

        line-height: 1.15;
    }


    .lfd-pl-mobile-search-close {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 48px;
        height: 48px;

        flex: 0 0 48px;

        padding: 0;

        border: 1px solid #dce5e4;
        border-radius: 50%;

        background: #fff;

        color: #425350;

        font-size: 17px;

        cursor: pointer;
    }


    /* ======================================================
       EXISTING FORM
    ====================================================== */

    #lfd-pl-search-form {
        max-height:
            calc(
                100dvh - 112px
            );

        padding:
            20px
            18px
            calc(
                24px +
                env(safe-area-inset-bottom)
            );

        overflow-x: hidden;
        overflow-y: auto;

        background: #f7fbfa;

        -webkit-overflow-scrolling: touch;
    }


    /* ======================================================
       EXISTING SEARCH PILL -> MOBILE CARD
    ====================================================== */

    .lfd-pl-search-pill {
        display: flex !important;
        flex-direction: column !important;

        gap: 12px !important;

        width: 100% !important;
        height: auto !important;

        padding: 10px !important;

        overflow: visible !important;

        border: 1px solid #e1e9e8 !important;
        border-radius: 26px !important;

        background: #fff !important;

        box-shadow:
            0 12px 35px rgba(34, 62, 58, 0.08) !important;
    }


    /* hide desktop separators */

    .lfd-pl-divider {
        display: none !important;
    }


    /* ======================================================
       SEARCH SEGMENT
    ====================================================== */

    .lfd-pl-search-segment {
        position: relative;

        display: grid !important;
        grid-template-columns:
            64px
            minmax(0, 1fr);

        align-items: center !important;

        gap: 14px !important;

        width: 100% !important;
        min-width: 0 !important;
        min-height: 112px !important;

        padding: 13px 16px !important;

        border: 1px solid #e0e8e7 !important;
        border-radius: 22px !important;

        background: #fff !important;

        cursor: default;
    }


    .lfd-pl-search-segment:hover {
        background: #fff !important;
    }


    /* ======================================================
       SEGMENT ICON
    ====================================================== */

    .lfd-pl-segment-icon {
        position: static !important;

        display: flex !important;
        align-items: center;
        justify-content: center;

        width: 64px;
        height: 64px;

        margin: 0 !important;

        border-radius: 19px;

        background: #edf7f6;

        color: var(--hmh-teal) !important;

        font-size: 21px !important;

        transform: none !important;
    }


    /* ======================================================
       SEGMENT TEXT
    ====================================================== */

    .lfd-pl-segment-text {
        display: flex;
        flex-direction: column;
        justify-content: center;

        min-width: 0;

        padding: 0 !important;
    }


    .lfd-pl-segment-label {
        margin-bottom: 4px;

        color: #777;

        font-size: 14px !important;
        font-weight: 600 !important;

        line-height: 1.15;

        letter-spacing: 0 !important;

        text-transform: none !important;
    }


    /* Convert labels visually */

    .lfd-pl-search-segment:first-child
    .lfd-pl-segment-label {
        font-size: 0 !important;
    }


    .lfd-pl-search-segment:first-child
    .lfd-pl-segment-label::after {
        content: 'Where';

        font-size: 14px;
    }


    .lfd-pl-search-segment:nth-of-type(3)
    .lfd-pl-segment-label {
        font-size: 0 !important;
    }


    .lfd-pl-search-segment:nth-of-type(3)
    .lfd-pl-segment-label::after {
        content: 'When';

        font-size: 14px;
    }


    .lfd-pl-guests-segment
    .lfd-pl-segment-label {
        font-size: 0 !important;
    }


    .lfd-pl-guests-segment
    .lfd-pl-segment-label::after {
        content: 'Who';

        font-size: 14px;
    }


    /* ======================================================
       INPUTS
    ====================================================== */

    .lfd-pl-segment-input {
        width: 100% !important;

        min-height: 32px !important;

        padding: 0 !important;

        border: 0 !important;
        outline: 0 !important;

        background: transparent !important;

        color: #424141 !important;

        font-family: 'Nunito', sans-serif !important;

        font-size: 18px !important;
        font-weight: 700 !important;

        line-height: 1.25 !important;

        box-shadow: none !important;
    }


    .lfd-pl-segment-input::placeholder {
        color: #424141;

        opacity: 0.82;
    }


    /* ======================================================
       LOCATION
    ====================================================== */

    .lfd-pl-location-wrapper {
        position: relative;

        width: 100%;
    }


    .lfd-pl-location-icon-btn {
        position: absolute;

        top: 50%;
        right: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        width: 36px;
        height: 36px;

        padding: 0;

        border: 0;

        background: transparent;

        color: var(--hmh-teal);

        font-size: 17px;

        transform: translateY(-50%);
    }


    #lfd-pl-location {
        padding-right: 44px !important;
    }


    /* ======================================================
       LOCATION RESULTS
    ====================================================== */

    .lfd-pl-location-results {
        left: -78px !important;
        right: -16px !important;
        top: calc(100% + 26px) !important;

        width: auto !important;

        max-height: min(330px, 42dvh);

        border-radius: 18px !important;

        z-index: 1080 !important;

        box-shadow:
            0 18px 40px rgba(33, 52, 49, 0.16) !important;
    }


    /* ======================================================
       GUEST BUTTON
    ====================================================== */

    .lfd-pl-guests-button {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        width: 100% !important;

        text-align: left;
    }


    .lfd-pl-guests-button > i {
        margin-left: 12px;

        color: #727a79;

        font-size: 12px;
    }


    /* ======================================================
       GUEST DROPDOWN
    ====================================================== */

    .lfd-pl-guests-menu {
        width:
            min(
                420px,
                calc(100vw - 56px)
            ) !important;

        max-width: none !important;

        padding: 14px !important;

        border: 1px solid #e0e8e7 !important;
        border-radius: 18px !important;

        box-shadow:
            0 16px 38px rgba(33, 52, 49, 0.15) !important;
    }


    /* ======================================================
       SEARCH CTA
    ====================================================== */

    .lfd-pl-search-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;

        gap: 10px;

        width: 100% !important;
        min-height: 62px !important;

        margin-top: 4px !important;
        padding: 0 20px !important;

        border: 0 !important;
        border-radius: 20px !important;

        background: var(--hmh-teal) !important;

        color: #fff !important;

        font-family: 'Nunito', sans-serif;

        font-size: 18px !important;
        font-weight: 800 !important;

        box-shadow: none !important;
    }


    .lfd-pl-search-btn i {
        font-size: 18px;
    }


    /* ======================================================
       PREVENT PAGE SCROLL WHILE SHEET OPEN
    ====================================================== */

    body.lfd-pl-search-open {
        overflow: hidden;
        touch-action: none;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 575.98px) {

    .lfd-pl-mobile-search-trigger-wrapper {
        padding-right: 12px;
        padding-left: 12px;
    }


    .lfd-pl-mobile-search-trigger {
        grid-template-columns:
            56px
            minmax(0, 1fr)
            48px;

        gap: 11px;

        min-height: 96px;

        padding: 12px 13px;

        border-radius: 24px;
    }


    .lfd-pl-mobile-search-trigger__search {
        width: 56px;
        height: 56px;

        border-radius: 18px;

        font-size: 19px;
    }


    .lfd-pl-mobile-search-trigger__filter {
        width: 48px;
        height: 48px;

        border-radius: 16px;

        font-size: 15px;
    }


    .lfd-pl-mobile-search-trigger__title {
        font-size: 15px;
    }


    .lfd-pl-mobile-search-trigger__summary {
        font-size: 12px;
    }


    .lfd-pl-mobile-search-header__title {
        font-size: 21px;
    }


    .lfd-pl-search-segment {
        grid-template-columns:
            56px
            minmax(0, 1fr);

        min-height: 96px !important;

        gap: 12px !important;

        padding: 12px 14px !important;

        border-radius: 19px !important;
    }


    .lfd-pl-segment-icon {
        width: 56px;
        height: 56px;

        border-radius: 17px;

        font-size: 18px !important;
    }


    .lfd-pl-segment-input {
        font-size: 16px !important;
    }


    .lfd-pl-search-btn {
        min-height: 58px !important;

        font-size: 16px !important;
    }

}

/* ============================================================
   PROGRAM EXPLORE
   SEARCH HERO V2
   ============================================================ */


/* ============================================================
   HERO
   ============================================================ */

.lfd-pl-search-hero {
    position: relative;

    /*width: calc(100% - 48px);*/

    /*max-width: 1460px;*/
    max-width: 100%;

    /*min-height: 330px;*/

    margin:
        12px
        auto
        38px;

    overflow: visible;

    /*border-radius: 28px;*/

    font-family:
        "Nunito",
        sans-serif;
}


/* ============================================================
   BACKGROUND
   ============================================================ */

.lfd-pl-search-hero-media {
    position: absolute;

    inset: 0;

    overflow: hidden;

    border-radius: inherit;

    background: #173d39;
}


.lfd-pl-search-hero-image {
    position: absolute;

    inset: 0;

    background-image:
        url(
            "/assets/website/images/home/lifed-wellness-wellbeing-programs-global-platform.webp"
        );

    background-repeat: no-repeat;

    background-position:
        center 18%;

    background-size: cover;

    transform:
        scaleX(-1);
}


.lfd-pl-search-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(
                15,
                45,
                42,
                0.14
            ),
            rgba(
                15,
                45,
                42,
                0.04
            )
        );
}


/* ============================================================
   HERO CONTENT
   ============================================================ */

.lfd-pl-search-hero-content {
    position: relative;

    z-index: 2;

    min-height: 230px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: min(
        calc(100% - 80px),
        1180px
    );

    margin-inline: auto;

    padding:
        48px
        0;
}


/* ============================================================
   SEARCH WIDTH
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-search-card-home {
    width: 100%;

    max-width: 1040px;

    margin-inline: auto;
}


.lfd-pl-search-hero
.lfd-hdr-search-card {
    width: 100%;

    max-width: none;
}

/* ============================================================
   HOMEPAGE SEARCH COMPONENT
   PROGRAM PAGE COPY
   ============================================================ */

.lfd-pl-search-hero {
    --lfd-hdr-primary: #00ae9d;
    --lfd-hdr-primary-hover: #009688;

    --hmh-teal: #00ae9d;
    --hmh-teal-hover: #009688;
    --hmh-teal-deep: #008f82;
}


/* ============================================================
   SEARCH CARD
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-search-card {
    position: relative;

    width: 100%;

    padding: 0;

    overflow: visible;

    border-radius: 36px;

    background: transparent;

    box-shadow: none;

    transition:
        transform 0.25s ease;
}


.lfd-pl-search-hero
.lfd-hdr-search-card:hover {
    z-index: 30;

    transform:
        translateY(-2px);
}


/* ============================================================
   WHITE SEARCH BAR
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-search-card form {
    position: relative;

    z-index: 3;

    width: 100%;

    padding:
        9px
        11px
        9px
        14px;

    overflow: visible;

    border-radius: 32px;

    background: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(
            18,
            71,
            65,
            0.10
        ),
        0 22px 55px
        rgba(
            13,
            43,
            40,
            0.12
        );
}


.lfd-pl-search-hero
.lfd-hdr-inputs-wrapper {
    min-width: 0;

    padding-left: 0;

    overflow: visible;
}


/* ============================================================
   SEARCH ROW
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-search-standard {
    width: 100%;

    min-height: 68px;

    display: flex;

    flex-wrap: nowrap;

    align-items: stretch !important;

    overflow: visible;
}


.lfd-pl-search-hero
.lfd-hdr-search-standard
> .lfd-hdr-search-col {
    position: relative;

    min-width: 0;

    min-height: 68px;

    margin: 0;

    border: 0;

    box-sizing: border-box;

    overflow: visible;
}


/* ============================================================
   NORMAL FIELD
   icon | content
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-search-standard
> .lfd-hdr-search-col:not(
    .lfd-hdr-search-col-location
) {
    display: grid !important;

    grid-template-columns:
        36px
        minmax(0, 1fr);

    grid-template-areas:
        "icon content";

    align-items: center;

    column-gap: 10px;

    padding:
        7px
        16px;
}


/* ============================================================
   LOCATION
   icon | text | detect
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-search-standard
> .lfd-hdr-search-col-location {
    display: grid !important;

    grid-template-columns:
        36px
        minmax(0, 1fr)
        34px !important;

    grid-template-areas:
        "icon content detect";

    align-items: center;

    column-gap: 8px;

    padding:
        7px
        16px !important;

    overflow: visible !important;
}


/* ============================================================
   FIELD ICON
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-search-standard
> .lfd-hdr-search-col
> .lfd-hdr-field-icon {
    position: static !important;

    inset: auto !important;

    grid-area: icon !important;

    width: 36px;

    height: 36px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin: 0 !important;

    padding: 0 !important;

    color:
        var(
            --lfd-hdr-primary
        );

    font-size: 18px;

    line-height: 1;

    transform: none !important;
}


.lfd-pl-search-hero
.lfd-hdr-field-icon i {
    display: block;

    line-height: 1;
}


/* ============================================================
   FIELD CONTENT
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-search-standard
> .lfd-hdr-search-col
> .lfd-hdr-field-content {
    position: relative;

    grid-area: content !important;

    width: 100%;

    min-width: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;

    margin: 0 !important;

    padding: 0 !important;

    overflow: visible;
}


.lfd-pl-search-hero
.lfd-hdr-label {
    display: block;

    margin:
        0
        0
        3px;

    color: #666666;

    font-size: 12px;

    font-weight: 500;

    line-height: 1.15;

    white-space: nowrap;
}


.lfd-pl-search-hero
.lfd-hdr-input {
    width: 100%;

    min-width: 0;

    min-height: 22px;

    margin: 0;

    padding: 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: #414242;

    font-family:
        "Nunito",
        sans-serif;

    font-size: 14px;

    font-weight: 500;

    line-height: 1.3;
}


.lfd-pl-search-hero
.lfd-hdr-input::placeholder {
    color: #5f6262;

    opacity: 1;
}


/* ============================================================
   FIELD DIVIDERS
   ============================================================ */

@media (min-width: 768px) {

    .lfd-pl-search-hero
    .lfd-hdr-search-standard
    > .lfd-hdr-search-col:not(
        :last-child
    )::after {
        content: "";

        position: absolute;

        top: 18%;

        right: 0;

        width: 1px;

        height: 64%;

        background:
            rgba(
                65,
                66,
                66,
                0.15
            );
    }

}


/* ============================================================
   LOCATION INPUT
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-location-input {
    width: 100% !important;

    min-width: 0 !important;

    padding: 0 !important;

    overflow: visible !important;

    color: #414242;

    text-overflow: clip !important;

    white-space: nowrap;
}


/* ============================================================
   CURRENT LOCATION BUTTON
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-search-standard
> .lfd-hdr-search-col-location
> .lfd-hdr-location-icon-btn {
    position: static !important;

    inset: auto !important;

    grid-area: detect !important;

    align-self: center;

    justify-self: center;

    width: 34px !important;

    height: 34px !important;

    display: inline-flex !important;

    align-items: center;

    justify-content: center;

    margin: 0 !important;

    padding: 0 !important;

    border: 0;

    border-radius: 50%;

    background:
        rgba(
            0,
            174,
            157,
            0.08
        );

    color:
        var(
            --lfd-hdr-primary
        );

    font-size: 14px;

    cursor: pointer;

    transform: none !important;

    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}


.lfd-pl-search-hero
.lfd-hdr-search-standard
> .lfd-hdr-search-col-location
> .lfd-hdr-location-icon-btn:hover,
.lfd-pl-search-hero
.lfd-hdr-search-standard
> .lfd-hdr-search-col-location
> .lfd-hdr-location-icon-btn:focus-visible {
    background:
        rgba(
            0,
            174,
            157,
            0.16
        );

    color: #008f82;

    transform:
        scale(1.05)
        !important;
}


/* ============================================================
   DATE
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-date-input {
    width: 100%;

    min-width: 0;

    padding-right: 16px;

    cursor: pointer;
}


.lfd-pl-search-hero
.lfd-hdr-field-content:has(
    .lfd-hdr-date-display
)::after,
.lfd-pl-search-hero
.lfd-hdr-field-content:has(
    .lfd-hdr-date-input
)::after {
    content: "";

    position: absolute;

    top: 50%;

    right: 1px;

    width: 6px;

    height: 6px;

    border-right:
        1.5px solid
        #66706e;

    border-bottom:
        1.5px solid
        #66706e;

    pointer-events: none;

    transform:
        translateY(-70%)
        rotate(45deg);
}


/* ============================================================
   GUEST FIELD
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-dropdown-btn {
    width: 100%;

    min-width: 0;

    display: block;

    overflow: hidden;

    color: #414242;

    text-align: left;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.lfd-pl-search-hero
.lfd-hdr-dropdown-btn::after {
    display: none;
}


/* ============================================================
   GUEST DROPDOWN
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-dropdown-menu {
    min-width: 250px;

    margin-top: 22px !important;

    padding: 20px !important;

    border: 0;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 15px 40px
        rgba(
            0,
            0,
            0,
            0.10
        );
}


.lfd-pl-search-hero
.lfd-hdr-dropdown-item {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding:
        12px
        0;

    font-weight: 500;
}


.lfd-pl-search-hero
.lfd-hdr-dropdown-item:not(
    :last-child
) {
    border-bottom:
        1px solid
        #f3f4f6;
}


.lfd-pl-search-hero
.lfd-hdr-dropdown-item
> span {
    flex:
        1
        1
        auto;

    min-width: 0;

    color: #343939;

    font-size: 15px;

    font-weight: 600;
}


/* ============================================================
   GUEST QUANTITY
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-qty-ctrl {
    display: grid;

    grid-template-columns:
        34px
        34px
        34px;

    align-items: center;

    justify-content: end;

    gap: 8px;

    flex: 0 0 auto;
}


.lfd-pl-search-hero
.lfd-hdr-qty-btn {
    width: 34px;

    height: 34px;

    min-width: 34px;

    min-height: 34px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin: 0;

    padding: 0;

    border:
        1px solid
        #e2e7e6;

    border-radius: 50%;

    background: #ffffff;

    color: #66706f;

    font-size: 13px;

    cursor: pointer;
}


.lfd-pl-search-hero
.lfd-hdr-qty-btn:hover {
    border-color:
        var(
            --lfd-hdr-primary
        );

    background:
        rgba(
            0,
            174,
            157,
            0.07
        );

    color:
        var(
            --lfd-hdr-primary
        );
}


.lfd-pl-search-hero
.lfd-hdr-qty-input {
    width: 34px !important;

    min-width: 34px !important;

    max-width: 34px !important;

    height: 34px;

    display: block;

    margin: 0;

    padding: 0 !important;

    border: 0 !important;

    outline: 0;

    background: transparent !important;

    color: #303535 !important;

    font-family:
        "Nunito",
        sans-serif;

    font-size: 16px !important;

    font-weight: 700;

    line-height: 34px;

    text-align: center;

    opacity: 1 !important;

    pointer-events: none;

    appearance: textfield;

    -moz-appearance: textfield;
}


.lfd-pl-search-hero
.lfd-hdr-qty-input::-webkit-inner-spin-button,
.lfd-pl-search-hero
.lfd-hdr-qty-input::-webkit-outer-spin-button {
    margin: 0;

    -webkit-appearance: none;

    appearance: none;
}


/* ============================================================
   SEARCH BUTTON
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-btn-wrapper.dt-desktop {
    display: flex !important;

    align-items: center;

    justify-content: center;

    padding:
        0
        2px
        0
        7px;
}


.lfd-pl-search-hero
.lfd-hdr-btn-search {
    width: 56px;

    height: 56px;

    flex:
        0
        0
        56px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background:
        var(
            --lfd-hdr-primary
        );

    color: #ffffff;

    font-size: 21px;

    line-height: 1;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.lfd-pl-search-hero
.lfd-hdr-btn-search:hover {
    background:
        var(
            --lfd-hdr-primary-hover
        );

    transform:
        scale(1.04);

    box-shadow:
        0 12px 28px
        rgba(
            0,
            174,
            157,
            0.30
        );
}


/* ============================================================
   AI LOWER DOCK
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-ai-toggle-wrapper {
    position: relative;

    z-index: 2;

    width: 100%;

    min-height: 86px;

    display: flex;

    align-items: flex-end;

    justify-content: flex-start;

    gap: 13px;

    margin-top: -36px;

    padding:
        31px
        35px
        13px;

    border-radius:
        0
        0
        36px
        36px;

    background:
        rgba(
            214,
            209,
            210,
            0.97
        );
}


.lfd-pl-search-hero
.lfd-hdr-ai-toggle-copy {
    min-height: 27px;

    display: inline-flex;

    align-items: center;

    color: #696969;

    font-size: 16px;

    font-weight: 500;
}


/* ============================================================
   AI SWITCH
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-switch {
    position: relative;

    width: 52px;

    height: 27px;

    flex:
        0
        0
        52px;

    display: inline-block;

    margin: 0;
}


.lfd-pl-search-hero
.lfd-hdr-switch input {
    width: 0;

    height: 0;

    opacity: 0;
}


.lfd-pl-search-hero
.lfd-hdr-slider {
    position: absolute;

    inset: 0;

    border:
        1px solid
        rgba(
            65,
            66,
            66,
            0.20
        );

    border-radius: 34px;

    background: #ffffff;

    cursor: pointer;

    transition: 0.3s ease;
}


.lfd-pl-search-hero
.lfd-hdr-slider::before {
    content: "";

    position: absolute;

    left: 3px;

    bottom: 3px;

    width: 19px;

    height: 19px;

    border-radius: 50%;

    background:
        var(
            --lfd-hdr-primary
        );

    transition: 0.3s ease;
}


.lfd-pl-search-hero
.lfd-hdr-switch
input:checked
+ .lfd-hdr-slider {
    background:
        var(
            --lfd-hdr-primary
        );
}


.lfd-pl-search-hero
.lfd-hdr-switch
input:checked
+ .lfd-hdr-slider::before {
    background: #ffffff;

    transform:
        translateX(25px);
}


/* ============================================================
   AI FIELD
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-search-ai {
    min-height: 68px;
}


.lfd-pl-search-hero
.lfd-hdr-ai-col {
    min-height: 68px;

    display: flex;

    align-items: center;

    padding:
        7px
        24px;
}


.lfd-pl-search-hero
.lfd-hdr-ai-icon {
    flex: 0 0 auto;

    margin:
        0
        16px
        0
        0;

    color:
        var(
            --lfd-hdr-primary
        ) !important;

    font-size: 24px;
}


.lfd-pl-search-hero
.lfd-hdr-ai-input {
    flex: 1;

    min-width: 0;

    font-size: 17px;
}


/* ============================================================
   LOCATION AUTOCOMPLETE
   ============================================================ */

.lfd-pl-search-hero
.lfd-hdr-search-standard
> .lfd-hdr-search-col-location
> .lfd-hdr-location-results {
    position: absolute !important;

    top:
        calc(
            100% + 12px
        ) !important;

    left: 14px !important;

    right: auto !important;

    z-index: 3000;

    width:
        min(
            390px,
            calc(
                100vw - 40px
            )
        ) !important;

    max-height: 420px;

    margin: 0;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transform:
        translateY(-8px);

    transition:
        opacity 180ms ease,
        transform 180ms ease,
        visibility 180ms ease;
}


.lfd-pl-search-hero
.lfd-hdr-location-results.is-open {
    visibility: visible;

    opacity: 1;

    pointer-events: auto;

    transform:
        translateY(0);
}


.lfd-pl-search-hero
.lfd-hdr-location-results-inner {
    overflow: hidden;

    border:
        1px solid
        rgba(
            15,
            83,
            75,
            0.10
        );

    border-radius: 20px;

    background:
        rgba(
            255,
            255,
            255,
            0.99
        );

    box-shadow:
        0 24px 60px
        rgba(
            17,
            53,
            49,
            0.18
        ),
        0 8px 20px
        rgba(
            17,
            53,
            49,
            0.08
        );
}


.lfd-pl-search-hero
.lfd-hdr-current-location-option {
    width: 100%;

    display: grid;

    grid-template-columns:
        42px
        minmax(0, 1fr)
        18px;

    align-items: center;

    gap: 13px;

    padding:
        17px
        18px;

    border: 0;

    background:
        linear-gradient(
            135deg,
            rgba(
                232,
                250,
                247,
                0.96
            ),
            rgba(
                244,
                252,
                250,
                0.96
            )
        );

    color: #173e39;

    text-align: left;

    cursor: pointer;
}


.lfd-pl-search-hero
.lfd-hdr-current-location-icon {
    width: 42px;

    height: 42px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 13px;

    background: #ffffff;

    color: #008f80;
}


.lfd-pl-search-hero
.lfd-hdr-current-location-content {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 3px;
}


.lfd-pl-search-hero
.lfd-hdr-current-location-content strong {
    color: #163d38;

    font-size: 14px;

    font-weight: 750;
}


.lfd-pl-search-hero
.lfd-hdr-current-location-content small {
    color: #6d817e;

    font-size: 12px;
}


.lfd-pl-search-hero
.lfd-hdr-location-suggestions {
    max-height: 260px;

    overflow-y: auto;

    padding:
        8px
        8px
        9px;
}


.lfd-pl-search-hero
.lfd-hdr-location-suggestions:empty {
    display: none;
}


.lfd-pl-search-hero
.lfd-hdr-location-suggestion {
    width: 100%;

    min-height: 62px;

    display: grid;

    grid-template-columns:
        38px
        minmax(0, 1fr)
        16px;

    align-items: center;

    gap: 12px;

    padding:
        10px
        11px;

    border: 0;

    border-radius: 13px;

    background: transparent;

    color: #1c3330;

    text-align: left;

    cursor: pointer;
}


.lfd-pl-search-hero
.lfd-hdr-location-suggestion:hover {
    background: #f1f9f7;
}


.lfd-pl-search-hero
.lfd-hdr-location-suggestion-icon {
    width: 38px;

    height: 38px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: #eef8f6;

    color: #009c8c;
}


.lfd-pl-search-hero
.lfd-hdr-location-suggestion-content {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 3px;
}


.lfd-pl-search-hero
.lfd-hdr-location-suggestion-content strong {
    overflow: hidden;

    color: #1a3632;

    font-size: 13px;

    font-weight: 700;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.lfd-pl-search-hero
.lfd-hdr-location-suggestion-content small {
    color: #82918f;

    font-size: 11px;
}


/* ============================================================
   DESKTOP / MOBILE BUTTON VISIBILITY
   ============================================================ */

.lfd-pl-search-hero
.dt-desktop {
    display: block;
}


.lfd-pl-search-hero
.dt-mobile {
    display: none;
}

/* ============================================================
   PROGRAM SEARCH HERO
   MOBILE
   ============================================================ */

@media (max-width: 767.98px) {

    .lfd-pl-search-hero {
        /*width:
            calc(
                100% - 24px
            );

        min-height: 190px;

        margin:
            8px
            auto
            24px;

        border-radius: 22px;*.
    }


    .lfd-pl-search-hero-media {
        /*border-radius: 22px;*/
    }


    .lfd-pl-search-hero-image {
        background-position:
            42%
            center;
    }


    .lfd-pl-search-hero-content {
        width:
            calc(
                100% - 28px
            );

        min-height: 190px;

        align-items: flex-end;

        /*padding:
            24px
            0;*/
    }


    /*
     * Actual search card disappears from
     * the hero on mobile.
     */
    .lfd-pl-search-hero
    .lfd-hdr-search-card-home {
        display: none;
    }


    /*
     * Compact homepage search launcher.
     */
    .lfd-pl-search-hero
    .lfd-hdr-mobile-search-launcher {
        width: 100%;

        min-height: 66px;

        display: grid;

        grid-template-columns:
            44px
            minmax(0, 1fr)
            38px;

        align-items: center;

        gap: 12px;

        padding:
            10px
            12px;

        border:
            1px solid
            rgba(
                22,
                78,
                72,
                0.12
            );

        border-radius: 18px;

        background:
            rgba(
                255,
                255,
                255,
                0.97
            );

        color: #173d39;

        text-align: left;

        box-shadow:
            0 14px 35px
            rgba(
                10,
                42,
                39,
                0.20
            );
    }


    .lfd-pl-search-hero
    .lfd-hdr-mobile-search-icon {
        width: 44px;

        height: 44px;

        display: inline-flex;

        align-items: center;

        justify-content: center;

        border-radius: 14px;

        background:
            var(
                --lfd-hdr-primary
            );

        color: #ffffff;
    }


    .lfd-pl-search-hero
    .lfd-hdr-mobile-search-copy {
        min-width: 0;

        display: flex;

        flex-direction: column;

        gap: 2px;
    }


    .lfd-pl-search-hero
    .lfd-hdr-mobile-search-copy strong {
        color: #173d39;

        font-size: 0.94rem;

        font-weight: 800;
    }


    .lfd-pl-search-hero
    .lfd-hdr-mobile-search-copy small {
        overflow: hidden;

        color: #74827f;

        font-size: 0.76rem;

        font-weight: 600;

        text-overflow: ellipsis;

        white-space: nowrap;
    }


    .lfd-pl-search-hero
    .lfd-hdr-mobile-search-arrow {
        width: 38px;

        height: 38px;

        display: inline-flex;

        align-items: center;

        justify-content: center;

        border-radius: 12px;

        background:
            rgba(
                0,
                174,
                157,
                0.09
            );

        color:
            var(
                --lfd-hdr-primary
            );
    }

}

/* ============================================================
   PROGRAM PAGE
   MOBILE SEARCH MODAL
   ============================================================ */

.lfd-hdr-search-modal {
    --bs-modal-margin: 0;
}


.lfd-hdr-search-modal
.modal-dialog {
    width: 100%;

    max-width: none;

    min-height: 100%;

    display: flex;

    align-items: flex-end;

    margin: 0;
}


.lfd-hdr-search-modal
.modal-content {
    max-height: 92dvh;

    overflow: hidden;

    border: 0;

    border-radius:
        26px
        26px
        0
        0;

    background: #f7faf9;

    box-shadow:
        0 -24px 60px
        rgba(
            11,
            43,
            40,
            0.24
        );
}


.lfd-hdr-search-modal-header {
    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    padding:
        18px
        18px
        15px;

    border-bottom:
        1px solid
        rgba(
            22,
            78,
            72,
            0.08
        );

    background: #ffffff;
}


.lfd-hdr-search-modal-eyebrow {
    display: block;

    margin-bottom: 3px;

    color: #00ae9d;

    font-size: 0.67rem;

    font-weight: 900;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.lfd-hdr-search-modal-header h2 {
    margin: 0;

    color: #173d39;

    font-size: 1.1rem;

    font-weight: 900;
}


.lfd-hdr-search-modal-close {
    width: 42px;

    height: 42px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border:
        1px solid
        rgba(
            22,
            78,
            72,
            0.12
        );

    border-radius: 50%;

    background: #f6f9f8;

    color: #405450;
}


.lfd-hdr-search-modal-body {
    padding:
        16px
        16px
        calc(
            20px +
            env(
                safe-area-inset-bottom
            )
        );

    overflow-y: auto;

    overscroll-behavior:
        contain;
}

@media (max-width: 767.98px) {

    /*
     * JS moves .lfd-hdr-search-card-home
     * inside this modal.
     */

    .lfd-hdr-search-modal
    .lfd-hdr-search-card-home {
        display: block;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-search-card {
        position: static;

        width: 100%;

        max-width: none;

        margin: 0;

        padding: 0;

        border: 0;

        border-radius: 0;

        background: transparent;

        box-shadow: none;

        transform: none;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-search-card form {
        padding: 0;

        background: transparent;

        box-shadow: none;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-search-standard {
        display: grid;

        gap: 12px;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-search-standard
    > [class*="col-"] {
        width: 100%;

        max-width: 100%;

        flex:
            0
            0
            100%;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-search-col {
        position: relative;

        min-height: 74px;

        display: grid;

        grid-template-columns:
            48px
            minmax(0, 1fr);

        align-items: center;

        gap: 12px;

        padding:
            12px
            14px;

        border:
            1px solid
            rgba(
                22,
                78,
                72,
                0.10
            );

        border-radius: 18px;

        background: #ffffff;

        box-shadow:
            0 5px 18px
            rgba(
                22,
                78,
                72,
                0.05
            );
    }


    .lfd-hdr-search-modal
    .lfd-hdr-search-col::after {
        display: none;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-field-icon {
        position: static !important;

        inset: auto !important;

        width: 48px;

        height: 48px;

        display: inline-flex;

        align-items: center;

        justify-content: center;

        margin: 0;

        border-radius: 14px;

        background:
            rgba(
                0,
                174,
                157,
                0.09
            );

        color: #00ae9d;

        font-size: 1.15rem;

        transform: none !important;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-field-content {
        min-width: 0;

        width: 100%;

        display: flex;

        flex-direction: column;

        justify-content: center;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-label {
        margin:
            0
            0
            2px;

        color: #6f7776;

        font-size: 0.78rem;

        font-weight: 600;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-input {
        width: 100%;

        min-height: auto;

        margin: 0;

        padding: 0 !important;

        border: 0;

        background: transparent;

        color: #414242;

        font-size: 1rem;

        font-weight: 500;

        box-shadow: none;
    }


    /*
     * LOCATION GETS THIRD COLUMN
     */

    .lfd-hdr-search-modal
    .lfd-hdr-search-col-location {
        grid-template-columns:
            48px
            minmax(0, 1fr)
            44px;

        min-height: 94px;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-search-col-location
    > .lfd-hdr-field-content {
        grid-column: 2;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-search-col-location
    > .lfd-hdr-location-icon-btn {
        position: static !important;

        inset: auto !important;

        grid-column: 3;

        width: 44px;

        height: 44px;

        display: inline-flex;

        align-items: center;

        justify-content: center;

        margin: 0;

        padding: 0;

        border: 0;

        border-radius: 14px;

        background:
            rgba(
                0,
                174,
                157,
                0.07
            );

        color: #00ae9d;

        transform: none !important;
    }


    /*
     * LOCATION RESULTS
     */

    .lfd-hdr-search-modal
    .lfd-hdr-search-col-location
    > .lfd-hdr-location-results {
        position: absolute !important;

        top:
            calc(
                100% + 10px
            );

        left: 0 !important;

        right: 0 !important;

        z-index: 1100;

        width: 100% !important;

        max-height: 330px;

        margin: 0;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-location-results-inner {
        width: 100%;

        border-radius: 18px;

        background: #ffffff;

        box-shadow:
            0 16px 38px
            rgba(
                17,
                53,
                49,
                0.14
            );
    }


    /*
     * SEARCH BUTTON
     */

    .lfd-hdr-search-modal
    .lfd-hdr-btn-wrapper.dt-desktop {
        display: none !important;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-btn-wrapper.dt-mobile {
        width: 100%;

        display: block !important;

        margin-top: 14px;

        padding: 0;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-btn-search {
        width: 100%;

        min-height: 54px;

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 8px;

        border: 0;

        border-radius: 15px;

        background: #00ae9d;

        color: #ffffff;
    }


    /*
     * AI DOCK
     */

    .lfd-hdr-search-modal
    .lfd-hdr-ai-toggle-wrapper {
        position: static;

        width: 100%;

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 12px;

        margin-top: 15px;

        padding: 13px;

        border:
            1px solid
            rgba(
                22,
                78,
                72,
                0.08
            );

        border-radius: 15px;

        background: #ffffff;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-switch {
        position: relative;

        width: 52px;

        height: 27px;

        flex:
            0
            0
            52px;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-slider {
        position: absolute;

        inset: 0;

        border-radius: 999px;

        background: #ffffff;

        border:
            1px solid
            rgba(
                65,
                66,
                66,
                0.20
            );
    }


    .lfd-hdr-search-modal
    .lfd-hdr-slider::before {
        content: "";

        position: absolute;

        left: 3px;

        bottom: 3px;

        width: 19px;

        height: 19px;

        border-radius: 50%;

        background: #00ae9d;

        transition: 0.3s ease;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-switch
    input:checked
    + .lfd-hdr-slider {
        background: #00ae9d;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-switch
    input:checked
    + .lfd-hdr-slider::before {
        background: #ffffff;

        transform:
            translateX(25px);
    }


    /*
     * QUANTITY VALUES
     */

    .lfd-hdr-search-modal
    .lfd-hdr-qty-ctrl {
        display: grid;

        grid-template-columns:
            36px
            36px
            36px;

        gap: 9px;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-qty-btn {
        width: 36px;

        height: 36px;

        display: inline-flex;

        align-items: center;

        justify-content: center;

        padding: 0;

        border:
            1px solid
            #e2e7e6;

        border-radius: 50%;

        background: #ffffff;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-qty-input {
        width: 36px !important;

        min-width: 36px !important;

        max-width: 36px !important;

        height: 36px;

        padding: 0 !important;

        border: 0 !important;

        background: transparent;

        color: #303535;

        font-size: 16px;

        font-weight: 700;

        line-height: 36px;

        text-align: center;

        appearance: textfield;

        -moz-appearance: textfield;
    }

}

/* ============================================================
   PROGRAM SEARCH HERO
   TABLET
   ============================================================ */

@media
    (min-width: 768px)
    and
    (max-width: 1199.98px) {

    .lfd-pl-search-hero {
        /*width:
            calc(
                100% - 32px
            );*/

        min-height: 290px;

        margin-bottom: 32px;
    }


    .lfd-pl-search-hero-content {
        width:
            calc(
                100% - 50px
            );

        min-height: 290px;

        padding:
            38px
            0;
    }


    .lfd-pl-search-hero
    .lfd-hdr-search-card-home {
        max-width: 100%;
    }

}

/* ============================================================
   EXPLORE PROGRAMS
   MOBILE LOCATION AUTOCOMPLETE — FINAL FIX
   Keep at VERY END of lifedprograms/style.css
============================================================ */

@media (max-width: 767.98px) {

    /* ========================================================
       LOCATION FIELD MUST BE THE POSITIONING PARENT
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-search-col-location {

        position: relative !important;

        overflow: visible !important;

        z-index: 200;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-search-card,

    .lfd-hdr-search-modal
    .lfd-hdr-search-card form,

    .lfd-hdr-search-modal
    .lfd-hdr-inputs-wrapper,

    .lfd-hdr-search-modal
    .lfd-hdr-search-standard {

        overflow: visible !important;
    }


    /* ========================================================
       LOCATION RESULTS PANEL
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-location-results {

        position: absolute !important;

        top: calc(100% + 10px) !important;

        left: 0 !important;
        right: 0 !important;

        width: 100% !important;

        max-height: min(
            360px,
            calc(100dvh - 250px)
        );

        margin: 0 !important;

        overflow: visible;

        visibility: hidden;

        opacity: 0;

        pointer-events: none;

        transform: translateY(-6px);

        transition:
            opacity 0.18s ease,
            transform 0.18s ease,
            visibility 0.18s ease;

        z-index: 9999 !important;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-location-results.is-open {

        display: block !important;

        visibility: visible !important;

        opacity: 1 !important;

        pointer-events: auto !important;

        transform: translateY(0);
    }


    /* ========================================================
       POPUP SHELL
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-location-results-inner {

        width: 100%;

        max-height: inherit;

        overflow: hidden;

        border:
            1px solid
            rgba(22, 78, 72, 0.10);

        border-radius: 20px;

        background: #ffffff;

        box-shadow:
            0 18px 45px
            rgba(17, 53, 49, 0.16),

            0 6px 18px
            rgba(17, 53, 49, 0.08);
    }


    /* ========================================================
       CURRENT LOCATION ROW
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-current-location-option {

        appearance: none;
        -webkit-appearance: none;

        width: 100%;

        min-height: 82px;

        display: grid;

        grid-template-columns:
            46px
            minmax(0, 1fr)
            22px;

        align-items: center;

        gap: 12px;

        margin: 0;

        padding: 13px 14px;

        border: 0 !important;

        border-radius:
            19px
            19px
            0
            0;

        outline: 0;

        background:
            linear-gradient(
                135deg,
                #eefaf8,
                #f7fcfb
            );

        color: #173d39;

        font-family:
            "Nunito",
            sans-serif;

        text-align: left;

        box-shadow: none !important;

        cursor: pointer;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-current-location-option:hover,

    .lfd-hdr-search-modal
    .lfd-hdr-current-location-option:focus-visible {

        background: #e6f7f4;

        outline: none;
    }


    /* ========================================================
       CURRENT LOCATION ICON
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-current-location-icon {

        width: 46px;
        height: 46px;

        display: inline-flex;

        align-items: center;
        justify-content: center;

        margin: 0;

        border-radius: 14px;

        background: #ffffff;

        color: #00ae9d;

        font-size: 15px;

        box-shadow:
            0 5px 14px
            rgba(0, 174, 157, 0.12);
    }


    .lfd-hdr-search-modal
    .lfd-hdr-current-location-icon i {

        display: block;

        margin: 0;

        line-height: 1;
    }


    /* ========================================================
       CURRENT LOCATION COPY
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-current-location-content {

        min-width: 0;

        display: flex;

        flex-direction: column;

        align-items: flex-start !important;

        gap: 3px;

        margin: 0;

        text-align: left;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-current-location-content strong {

        display: block;

        width: 100%;

        margin: 0;

        color: #173d39;

        font-size: 0.88rem;

        font-weight: 800;

        line-height: 1.3;

        text-align: left;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-current-location-content small {

        display: block;

        width: 100%;

        margin: 0;

        color: #748783;

        font-size: 0.74rem;

        font-weight: 500;

        line-height: 1.35;

        text-align: left;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-current-location-content
    small.is-error {

        color: #c43d3d;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-current-location-arrow {

        width: 22px;
        height: 22px;

        display: inline-flex;

        align-items: center;
        justify-content: center;

        color: #91a19f;

        font-size: 10px;
    }


    /* ========================================================
       LOCATION SUGGESTIONS CONTAINER
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-location-suggestions {

        width: 100%;

        max-height: 255px;

        overflow-x: hidden;
        overflow-y: auto;

        padding:
            7px
            8px
            9px;

        background: #ffffff;

        scrollbar-width: thin;

        scrollbar-color:
            #c7d6d3
            transparent;

        -webkit-overflow-scrolling: touch;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-location-suggestions:empty {

        display: none;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-location-suggestions::-webkit-scrollbar {

        width: 5px;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-location-suggestions::-webkit-scrollbar-track {

        background: transparent;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-location-suggestions::-webkit-scrollbar-thumb {

        border-radius: 999px;

        background: #c7d6d3;
    }


    /* ========================================================
       GENERATED LOCATION RESULT BUTTON
    ======================================================== */

    .lfd-hdr-search-modal
    button.lfd-hdr-location-suggestion {

        appearance: none !important;
        -webkit-appearance: none !important;

        width: 100% !important;

        min-height: 62px;

        display: grid !important;

        grid-template-columns:
            40px
            minmax(0, 1fr)
            18px;

        align-items: center;

        gap: 11px;

        margin: 0 !important;

        padding:
            9px
            10px !important;

        border: 0 !important;

        border-radius: 14px !important;

        outline: 0 !important;

        background: transparent !important;

        color: #1d3431 !important;

        font-family:
            "Nunito",
            sans-serif !important;

        font-size: inherit;

        font-weight: inherit;

        line-height: normal;

        text-align: left !important;

        box-shadow: none !important;

        cursor: pointer;

        transition:
            background-color 0.16s ease,
            transform 0.16s ease;
    }


    .lfd-hdr-search-modal
    button.lfd-hdr-location-suggestion
    + button.lfd-hdr-location-suggestion {

        margin-top: 2px !important;
    }


    .lfd-hdr-search-modal
    button.lfd-hdr-location-suggestion:hover,

    .lfd-hdr-search-modal
    button.lfd-hdr-location-suggestion:focus-visible {

        border: 0 !important;

        background: #f0f9f7 !important;

        color: #1d3431 !important;

        outline: none !important;

        transform: translateX(2px);
    }


    /* ========================================================
       RESULT ICON
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-location-suggestion-icon {

        width: 40px;
        height: 40px;

        display: inline-flex;

        align-items: center;
        justify-content: center;

        margin: 0;

        border-radius: 12px;

        background: #eef8f6;

        color: #00ae9d;

        font-size: 14px;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-location-suggestion-icon i {

        display: block;

        margin: 0;

        line-height: 1;
    }


    /* ========================================================
       RESULT COPY
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-location-suggestion-content {

        min-width: 0;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 2px;

        margin: 0;

        overflow: hidden;

        text-align: left;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-location-suggestion-content strong {

        display: block;

        width: 100%;

        overflow: hidden;

        margin: 0;

        color: #203a36;

        font-size: 0.84rem;

        font-weight: 750;

        line-height: 1.35;

        text-align: left;

        text-overflow: ellipsis;

        white-space: nowrap;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-location-suggestion-content small {

        display: block;

        width: 100%;

        overflow: hidden;

        margin: 0;

        color: #81918e;

        font-size: 0.7rem;

        font-weight: 500;

        line-height: 1.3;

        text-align: left;

        text-overflow: ellipsis;

        white-space: nowrap;

        text-transform: capitalize;
    }


    /* ========================================================
       RESULT ARROW
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-location-suggestion-arrow {

        width: 18px;
        height: 18px;

        display: inline-flex;

        align-items: center;
        justify-content: center;

        margin: 0;

        color: #9caaa8;

        font-size: 9px;
    }


    /* ========================================================
       EMPTY STATE
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-location-empty {

        min-height: 70px;

        display: grid;

        grid-template-columns:
            40px
            minmax(0, 1fr);

        align-items: center;

        gap: 11px;

        padding:
            11px
            10px;

        color: #687875;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-location-empty-icon {

        width: 40px;
        height: 40px;

        display: inline-flex;

        align-items: center;
        justify-content: center;

        border-radius: 12px;

        background: #f1f5f4;

        color: #91a09d;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-location-empty > span:last-child {

        min-width: 0;

        display: flex;

        flex-direction: column;

        gap: 2px;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-location-empty strong {

        color: #405753;

        font-size: 0.82rem;

        font-weight: 800;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-location-empty small {

        color: #879591;

        font-size: 0.72rem;

        line-height: 1.4;
    }

}

/* ============================================================
   PROGRAM EXPLORE SEARCH MODAL
   GLOBAL HEADER / Z-INDEX FIX
   KEEP AT VERY END
============================================================ */


/* ------------------------------------------------------------
   When Bootstrap search modal is open,
   keep the global site header UNDER the backdrop.
------------------------------------------------------------ */



/* ------------------------------------------------------------
   Backdrop must cover the global navbar.
------------------------------------------------------------ */

body.modal-open .modal-backdrop {
    z-index: 1050 !important;
}


/* ------------------------------------------------------------
   Search sheet above backdrop.
------------------------------------------------------------ */

.lfd-hdr-search-modal {
    z-index: 1060 !important;
}


/* ------------------------------------------------------------
   Lewis intentionally remains above the search sheet,
   matching the first screenshot.
------------------------------------------------------------ */

.lewis-dock {
    z-index: 9998 !important;
}

/* =========================================================
   PROGRAM SEARCH MODAL
   WHO FIELD ALIGNMENT
========================================================= */

@media (max-width: 767.98px) {

    .lfd-hdr-search-modal
    .lfd-hdr-search-col-guests
    .dropdown {
        width: 100%;
        min-width: 0;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-search-col-guests
    .lfd-hdr-dropdown-btn {

        width: 100% !important;
        min-width: 0;

        display: block;

        margin: 0;
        padding: 0 !important;

        border: 0;

        background: transparent;

        color: #414242;

        font-size: 1.18rem;
        font-weight: 500;

        line-height: 1.35;

        text-align: left !important;

        white-space: nowrap;

        box-shadow: none;
    }


    /*
     * Homepage design does not need
     * Bootstrap's little dropdown caret here.
     */
    .lfd-hdr-search-modal
    .lfd-hdr-dropdown-btn::after {
        display: none !important;
    }

}

/* =========================================================
   MOBILE AI TOGGLE
   CLEAN HOMEPAGE STYLE
========================================================= */

@media (max-width: 767.98px) {

    .lfd-hdr-search-modal
    .lfd-hdr-ai-toggle-wrapper {

        position: static;

        width: 100%;
        min-height: auto;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        gap: 16px;

        margin-top: 20px;

        padding:
            8px
            10px;

        border: 0;

        border-radius: 0;

        background: transparent;

        box-shadow: none;

        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-ai-toggle-copy {

        min-height: auto;

        padding: 0;

        color: #414242;

        font-size: 1rem;
        font-weight: 500;

        line-height: 1.3;
    }

}

/* =========================================================
   EXPLORE SEARCH
   LOCATION DROPDOWN VISIBILITY FIX
========================================================= */

.lfd-pl-search-hero,
.lfd-pl-search-hero-content,
.lfd-hdr-search-card-home,
.lfd-hdr-search-card,
.lfd-hdr-search-card form,
.lfd-hdr-inputs-wrapper,
.lfd-hdr-search-standard,
.lfd-hdr-search-col-location {

    overflow: visible !important;

}


.lfd-pl-search-hero {

    position: relative;

    z-index: 20;

}


.lfd-pl-search-hero-content {

    position: relative;

    z-index: 30;

}


.lfd-hdr-search-card-home {

    position: relative;

    z-index: 40;

}


.lfd-hdr-search-card {

    position: relative;

    z-index: 50;

}


.lfd-hdr-search-col-location {

    position: relative;

    z-index: 100;

}


.lfd-hdr-location-results {

    z-index: 9999 !important;

}


.lfd-hdr-location-results.is-open {

    display: block !important;

    visibility: visible !important;

    opacity: 1 !important;

    pointer-events: auto !important;

}

/* =========================================================
   BOOTSTRAP MODAL VS SITE HEADER
========================================================= */

/*
 * Normal page:
 * header stays above page content.
 *
 * When any Bootstrap modal is open:
 * header must move below the modal backdrop.
 */

body.modal-open .lfd-sitehdr {
    z-index: 1030 !important;
}


/*
 * Backdrop covers the website header.
 */
body.modal-open .modal-backdrop {
    z-index: 1050 !important;
}


/*
 * LIFED search modal stays above backdrop.
 */
body.modal-open .lfd-hdr-search-modal {
    z-index: 1060 !important;
}

/* ============================================================
   EXPLORE SEARCH MODAL
   GUEST DROPDOWN + AI SWITCH FINAL FIX
   KEEP AT ABSOLUTE END OF FILE
============================================================ */

@media (max-width: 767.98px) {

    /* ========================================================
       WHO / GUEST FIELD
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-search-col-guests {
        overflow: visible !important;
        z-index: 150;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-search-col-guests
    .lfd-hdr-field-content {
        overflow: visible !important;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-search-col-guests
    .dropdown {
        position: relative;

        width: 100%;
        min-width: 0;
    }


    /* ========================================================
       GUEST TRIGGER
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-dropdown-btn {
        appearance: none !important;
        -webkit-appearance: none !important;

        width: 100% !important;
        min-width: 0 !important;
        min-height: 28px !important;

        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;
        outline: 0 !important;

        background: transparent !important;

        color: #414242 !important;

        font-family:
            "Nunito",
            sans-serif !important;

        font-size: 1rem !important;
        font-weight: 500 !important;

        line-height: 1.3 !important;

        text-align: left !important;

        box-shadow: none !important;

        white-space: nowrap;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-dropdown-btn::after {
        display: none !important;
    }


    /* ========================================================
       GUEST DROPDOWN PANEL
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-dropdown-menu {
        --bs-dropdown-min-width: 0;

        width:
            min(
                310px,
                calc(100vw - 72px)
            ) !important;

        min-width: 0 !important;

        margin-top: 10px !important;

        padding:
            8px
            14px !important;

        overflow: hidden;

        border:
            1px solid
            rgba(
                22,
                78,
                72,
                0.10
            ) !important;

        border-radius: 18px !important;

        background: #ffffff !important;

        box-shadow:
            0 18px 45px
            rgba(
                17,
                53,
                49,
                0.16
            ),
            0 5px 16px
            rgba(
                17,
                53,
                49,
                0.06
            ) !important;

        font-family:
            "Nunito",
            sans-serif !important;

        z-index: 5000 !important;
    }


    /* ========================================================
       ADULT / CHILD ROW
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-dropdown-item {
        width: 100% !important;
        min-height: 58px;

        display: flex !important;

        align-items: center !important;
        justify-content: space-between !important;

        gap: 18px;

        margin: 0 !important;

        padding:
            11px
            0 !important;

        list-style: none;

        background: transparent !important;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-dropdown-item
    + .lfd-hdr-dropdown-item {
        border-top:
            1px solid
            #edf2f0;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-dropdown-item
    > span {
        flex: 1 1 auto;

        min-width: 0;

        color: #334b47 !important;

        font-size: 0.88rem !important;
        font-weight: 700 !important;

        line-height: 1.3;
    }


    /* ========================================================
       +/- CONTROLLER
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-qty-ctrl {
        flex:
            0
            0
            auto !important;

        display: grid !important;

        grid-template-columns:
            34px
            34px
            34px !important;

        align-items: center !important;

        gap: 7px !important;

        width: auto !important;

        margin: 0 !important;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-qty-btn {
        appearance: none !important;
        -webkit-appearance: none !important;

        width: 34px !important;
        height: 34px !important;

        min-width: 34px !important;
        min-height: 34px !important;

        display: inline-flex !important;

        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;
        padding: 0 !important;

        border:
            1px solid
            #dce6e4 !important;

        border-radius: 50% !important;

        background: #ffffff !important;

        color: #435653 !important;

        font-size: 11px !important;

        line-height: 1 !important;

        box-shadow: none !important;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-qty-btn:hover,
    .lfd-hdr-search-modal
    .lfd-hdr-qty-btn:focus-visible {
        border-color:
            #00ae9d !important;

        background:
            #effaf8 !important;

        color:
            #00ae9d !important;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-qty-input {
        appearance: textfield !important;
        -moz-appearance: textfield !important;

        width: 34px !important;
        height: 34px !important;

        min-width: 34px !important;
        max-width: 34px !important;

        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;
        outline: 0 !important;

        background: transparent !important;

        color: #303535 !important;

        font-family:
            "Nunito",
            sans-serif !important;

        font-size: 15px !important;
        font-weight: 800 !important;

        line-height: 34px !important;

        text-align: center !important;

        box-shadow: none !important;

        pointer-events: none;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-qty-input::-webkit-inner-spin-button,
    .lfd-hdr-search-modal
    .lfd-hdr-qty-input::-webkit-outer-spin-button {
        margin: 0;

        appearance: none;
        -webkit-appearance: none;
    }


    /* ========================================================
       AI TOGGLE
       IMPORTANT:
       hide the REAL checkbox after search card
       is moved outside .lfd-pl-search-hero.
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-switch {
        position: relative !important;

        width: 52px !important;
        height: 27px !important;

        flex:
            0
            0
            52px !important;

        display: inline-block !important;

        margin: 0 !important;

        padding: 0 !important;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-switch
    > input {
        position: absolute !important;

        top: 0 !important;
        left: 0 !important;

        width: 1px !important;
        height: 1px !important;

        margin: 0 !important;
        padding: 0 !important;

        opacity: 0 !important;

        appearance: none !important;
        -webkit-appearance: none !important;

        pointer-events: none !important;

        clip: rect(
            0,
            0,
            0,
            0
        ) !important;

        clip-path:
            inset(
                50%
            ) !important;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-slider {
        position: absolute !important;

        inset: 0 !important;

        display: block !important;

        margin: 0 !important;

        border:
            1px solid
            rgba(
                65,
                66,
                66,
                0.20
            ) !important;

        border-radius: 999px !important;

        background: #ffffff !important;

        cursor: pointer;

        box-shadow: none !important;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-slider::before {
        content: "";

        position: absolute !important;

        left: 3px !important;
        bottom: 3px !important;

        width: 19px !important;
        height: 19px !important;

        border-radius: 50% !important;

        background:
            #00ae9d !important;

        transition:
            transform
            0.25s
            ease,
            background-color
            0.25s
            ease;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-switch
    > input:checked
    + .lfd-hdr-slider {
        background:
            #00ae9d !important;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-switch
    > input:checked
    + .lfd-hdr-slider::before {
        background:
            #ffffff !important;

        transform:
            translateX(
                25px
            ) !important;
    }


    /* ========================================================
       AI TOGGLE ROW
    ======================================================== */

    .lfd-hdr-search-modal
    .lfd-hdr-ai-toggle-wrapper {
        width: 100%;

        min-height: 50px;

        display: flex;

        align-items: center;
        justify-content: flex-start;

        gap: 14px;

        margin-top: 18px;

        padding:
            5px
            8px !important;

        border: 0 !important;

        border-radius: 0 !important;

        background:
            transparent !important;

        box-shadow:
            none !important;
    }


    .lfd-hdr-search-modal
    .lfd-hdr-ai-toggle-copy {
        margin: 0;

        color: #414242;

        font-size: 0.95rem;
        font-weight: 500;

        line-height: 1.3;
    }

}

/* =========================================================
   EXPLORE PROGRAM SEARCH
   STICKY DESKTOP / TABLET SEARCH
========================================================= */

@media (min-width: 768px) {

    .lfd-pl-search-hero
    .lfd-hdr-search-card-home {
        position: relative;

        z-index: 100;

        transition:
            filter 0.2s ease;
    }


    /*
     * Once JS detects that the original search bar
     * has reached the top, keep the WHOLE component
     * fixed:
     *
     * - white search bar
     * - AI toggle lower panel
     */
    .lfd-hdr-search-card-home.is-explore-sticky {

        position: fixed !important;

        top: 12px !important;

        left: 50% !important;

        z-index: 1040 !important;

        width:
            min(
                calc(100vw - 48px),
                1040px
            ) !important;

        max-width: 1040px !important;

        margin: 0 !important;

        transform:
            translateX(-50%) !important;
    }


    /*
     * Slightly stronger elevation only
     * while floating over page results.
     */
    .lfd-hdr-search-card-home.is-explore-sticky
    .lfd-hdr-search-card {

        filter:
            drop-shadow(
                0 14px 24px
                rgba(18, 61, 56, 0.10)
            );
    }


    /*
     * Autocomplete and guest dropdowns must
     * remain visible while sticky.
     */
    .lfd-hdr-search-card-home.is-explore-sticky,

    .lfd-hdr-search-card-home.is-explore-sticky
    .lfd-hdr-search-card,

    .lfd-hdr-search-card-home.is-explore-sticky
    form,

    .lfd-hdr-search-card-home.is-explore-sticky
    .lfd-hdr-inputs-wrapper,

    .lfd-hdr-search-card-home.is-explore-sticky
    .lfd-hdr-search-standard,

    .lfd-hdr-search-card-home.is-explore-sticky
    .lfd-hdr-search-col {

        overflow: visible !important;
    }

}

/* =========================================================
   EXPLORE PROGRAM SEARCH
   STICKY SEARCH + HERO BACKGROUND
========================================================= */

@media (min-width: 768px) {

    /* Normal position inside hero */
    .lfd-pl-search-hero
    .lfd-hdr-search-card-home {
        position: relative;

        z-index: 100;

        isolation: isolate;
    }


    /* =====================================================
       STICKY STATE
    ====================================================== */

    .lfd-hdr-search-card-home.is-explore-sticky {
        position: fixed !important;

        top: 12px !important;
        left: 50% !important;

        z-index: 1040 !important;

        width:
            min(
                calc(100vw - 48px),
                1040px
            ) !important;

        max-width: 1040px !important;

        margin: 0 !important;

        transform:
            translateX(-50%) !important;

        isolation: isolate;
    }


    /* =====================================================
       STICKY HERO IMAGE STRIP
       Travels together with search
    ====================================================== */

    .lfd-hdr-search-card-home.is-explore-sticky::before {
        content: "";

        position: absolute;

        /*
         * Extend beyond the search itself
         */
        top: -22px;
        bottom: -22px;

        left: 50%;

        width: 100vw;

        transform:
            translateX(-50%);

        z-index: -2;

        background-image:
            linear-gradient(
                90deg,
                rgba(15, 45, 42, 0.16),
                rgba(15, 45, 42, 0.05)
            ),
            url(
                "/assets/website/images/home/lifed-wellness-wellbeing-programs-global-platform.webp"
            );

        background-repeat:
            no-repeat;

        background-size:
            cover;

        background-position:
            center 48%;

        box-shadow:
            0 10px 30px
            rgba(14, 48, 44, 0.12);
    }


    /* Optional slight tint so search remains readable */
    .lfd-hdr-search-card-home.is-explore-sticky::after {
        content: "";

        position: absolute;

        top: -22px;
        bottom: -22px;

        left: 50%;

        width: 100vw;

        transform:
            translateX(-50%);

        z-index: -1;

        background:
            rgba(
                17,
                53,
                49,
                0.05
            );

        pointer-events: none;
    }


    /* =====================================================
       SEARCH MUST SIT ABOVE IMAGE
    ====================================================== */

    .lfd-hdr-search-card-home.is-explore-sticky
    > .lfd-hdr-search-card {
        position: relative;

        z-index: 2;

        filter:
            drop-shadow(
                0 12px 26px
                rgba(15, 48, 44, 0.12)
            );
    }


    /* =====================================================
       KEEP POPUPS VISIBLE
    ====================================================== */

    .lfd-hdr-search-card-home.is-explore-sticky,

    .lfd-hdr-search-card-home.is-explore-sticky
    .lfd-hdr-search-card,

    .lfd-hdr-search-card-home.is-explore-sticky
    form,

    .lfd-hdr-search-card-home.is-explore-sticky
    .lfd-hdr-inputs-wrapper,

    .lfd-hdr-search-card-home.is-explore-sticky
    .lfd-hdr-search-standard,

    .lfd-hdr-search-card-home.is-explore-sticky
    .lfd-hdr-search-col-location {
        overflow: visible !important;
    }


    .lfd-hdr-search-card-home.is-explore-sticky
    .lfd-hdr-location-results,

    .lfd-hdr-search-card-home.is-explore-sticky
    .dropdown-menu {
        z-index: 1100 !important;
    }

}

/* =========================================================
   LIFED PROGRAM FILTER SIDEBAR V3
   Fixed header + scroll content + fixed actions
========================================================= */

.lfd-pl-sidebar-col {
    position: relative;
    min-width: 0;
}


/* =========================================================
   SIDEBAR SHELL
========================================================= */

.lfd-pl-sidebar {
    position: relative;

    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border:
        1px solid
        rgba(20, 74, 67, 0.10);

    border-radius: 24px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdfc 100%
        );

    box-shadow:
        0 18px 45px
        rgba(19, 65, 59, 0.07),
        0 3px 12px
        rgba(19, 65, 59, 0.035);

    font-family:
        "Nunito",
        sans-serif;
}


/* =========================================================
   FIXED HEADER
========================================================= */

.lfd-pl-filter-header {
    position: relative;

    z-index: 20;

    flex: 0 0 auto;

    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    padding:
        17px
        18px;

    border-bottom:
        1px solid
        rgba(21, 72, 65, 0.08);

    background:
        rgba(
            255,
            255,
            255,
            0.98
        );

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);
}


.lfd-pl-filter-header-main {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 12px;
}


.lfd-pl-filter-header-icon {
    width: 42px;
    height: 42px;

    flex:
        0
        0
        42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background:
        rgba(
            0,
            174,
            157,
            0.09
        );

    color:
        var(--hmh-teal);

    font-size: 14px;
}


.lfd-pl-filter-header-copy {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 2px;
}


.lfd-pl-filter-header-copy strong {
    color: #183f3a;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 15px;
    font-weight: 800;

    line-height: 1.25;
}


.lfd-pl-filter-header-copy small {
    overflow: hidden;

    color: #84928f;

    font-size: 10.5px;
    font-weight: 600;

    line-height: 1.3;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.lfd-pl-clear-all {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding:
        7px
        11px;

    border:
        1px solid
        rgba(
            0,
            174,
            157,
            0.16
        );

    border-radius: 10px;

    background:
        rgba(
            0,
            174,
            157,
            0.055
        );

    color:
        var(--hmh-teal-deep);

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;

    transition:
        background-color 150ms ease,
        border-color 150ms ease,
        transform 150ms ease;
}


.lfd-pl-clear-all:hover {
    border-color:
        rgba(
            0,
            174,
            157,
            0.32
        );

    background:
        rgba(
            0,
            174,
            157,
            0.10
        );

    color:
        var(--hmh-teal-deep);

    transform:
        translateY(-1px);
}


/* =========================================================
   SCROLLABLE BODY
========================================================= */

.lfd-pl-filter-scroll {
    position: relative;

    flex:
        1
        1
        auto;

    min-height: 0;

    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior:
        contain;

    scrollbar-width:
        thin;

    scrollbar-color:
        rgba(
            0,
            174,
            157,
            0.32
        )
        transparent;

    -webkit-overflow-scrolling:
        touch;
}


.lfd-pl-filter-scroll::-webkit-scrollbar {
    width: 5px;
}


.lfd-pl-filter-scroll::-webkit-scrollbar-track {
    background: transparent;
}


.lfd-pl-filter-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;

    background:
        rgba(
            0,
            174,
            157,
            0.28
        );
}


.lfd-pl-filter-scroll::-webkit-scrollbar-thumb:hover {
    background:
        rgba(
            0,
            174,
            157,
            0.48
        );
}


/* =========================================================
   FILTER GROUP
========================================================= */

.lfd-pl-filter-group {
    margin: 0;

    border: 0;

    border-bottom:
        1px solid
        rgba(
            28,
            78,
            71,
            0.075
        );

    background: transparent;
}


.lfd-pl-filter-group:last-child {
    border-bottom: 0;
}


/* =========================================================
   FILTER GROUP HEADER
========================================================= */

.lfd-pl-filter-summary {
    width: 100%;

    min-height: 62px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding:
        18px
        19px;

    list-style: none;

    background: transparent;

    color: #294d47;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 13px;
    font-weight: 800;

    line-height: 1.25;

    cursor: pointer;

    user-select: none;

    transition:
        background-color 150ms ease;
}


.lfd-pl-filter-summary::-webkit-details-marker {
    display: none;
}


.lfd-pl-filter-summary:hover {
    background:
        rgba(
            0,
            174,
            157,
            0.035
        );
}


.lfd-pl-filter-summary.bg-light {
    background: transparent !important;
}


.lfd-pl-filter-summary.bg-light:hover {
    background:
        rgba(
            0,
            174,
            157,
            0.035
        ) !important;
}


.lfd-pl-filter-summary > span {
    min-width: 0;

    display: flex !important;
    align-items: center;

    gap: 10px !important;
}


.lfd-pl-filter-summary i {
    width: 20px;

    flex:
        0
        0
        20px;

    color:
        var(--hmh-teal) !important;

    font-size: 13px;

    text-align: center;
}


.lfd-pl-filter-summary::after {
    content: "\f078";

    flex: 0 0 auto;

    font-family:
        "Font Awesome 6 Free";

    font-size: 9px;
    font-weight: 900;

    color: #94a39f;

    transition:
        color 180ms ease,
        transform 180ms ease;
}


.lfd-pl-filter-group[open]
> .lfd-pl-filter-summary::after {
    color:
        var(--hmh-teal);

    transform:
        rotate(180deg);
}


/* =========================================================
   FILTER CONTENT
========================================================= */

.lfd-pl-filter-content {
    padding:
        0
        19px
        18px;
}


/* =========================================================
   CHECKBOX / RADIO ROWS
========================================================= */

.lfd-pl-custom-check,
.lfd-pl-custom-radio {
    min-height: 54px;

    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin: 0;

    padding:
        11px
        0;
}


.lfd-pl-custom-check
+
.lfd-pl-custom-check,

.lfd-pl-custom-radio
+
.lfd-pl-custom-radio {
    border-top:
        1px solid
        rgba(
            33,
            80,
            73,
            0.06
        );
}


.lfd-pl-custom-check
.form-check-input,

.lfd-pl-custom-radio
.form-check-input {
    width: 19px;
    height: 19px;

    flex:
        0
        0
        19px;

    margin:
        2px
        0
        0;

    border:
        1.5px solid
        #bfd0cc;

    background: #ffffff;

    box-shadow: none;

    cursor: pointer;
}


.lfd-pl-custom-check
.form-check-input {
    border-radius: 5px;
}


.lfd-pl-custom-radio
.form-check-input {
    border-radius: 50%;
}


.lfd-pl-custom-check
.form-check-input:hover,

.lfd-pl-custom-radio
.form-check-input:hover {
    border-color:
        var(--hmh-teal);
}


.lfd-pl-custom-check
.form-check-input:checked,

.lfd-pl-custom-radio
.form-check-input:checked {
    border-color:
        var(--hmh-teal);

    background-color:
        var(--hmh-teal);
}


.lfd-pl-custom-check
.form-check-input:focus,

.lfd-pl-custom-radio
.form-check-input:focus {
    border-color:
        var(--hmh-teal);

    box-shadow:
        0
        0
        0
        3px
        rgba(
            0,
            174,
            157,
            0.10
        );
}


/* =========================================================
   CHECKBOX COPY
========================================================= */

.lfd-pl-custom-check
.form-check-label,

.lfd-pl-custom-radio
.form-check-label {
    flex:
        1
        1
        auto;

    min-width: 0;

    display: flex;

    gap: 10px;

    padding: 0;

    color: #35524e;

    font-size: 12.5px;
    font-weight: 700;

    line-height: 1.4;

    cursor: pointer;
}


.lfd-pl-custom-check
.form-check-label
> span:first-child {
    min-width: 0;

    flex:
        1
        1
        auto;

    display: flex;

    flex-direction: column;

    gap: 2px;
}


.lfd-pl-custom-check strong {
    color: #213f3a;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 12.5px;
    font-weight: 750;

    line-height: 1.35;
}


.lfd-pl-custom-check small {
    color: #879591;

    font-size: 10.5px;
    font-weight: 600;

    line-height: 1.4;
}


.lfd-pl-count {
    flex:
        0
        0
        auto;

    padding-top: 2px;

    color: #899995;

    font-size: 10px;
    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   DURATION CHIPS
========================================================= */

.lfd-pl-chip-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap: 8px;
}


.lfd-pl-filter-chip {
    position: relative;

    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        8px
        9px;

    border:
        1px solid
        #d9e4e2;

    border-radius: 11px;

    background: #ffffff;

    color: #526b66;

    font-size: 11px;
    font-weight: 800;

    line-height: 1.25;

    text-align: center;

    cursor: pointer;

    transition:
        border-color 150ms ease,
        background-color 150ms ease,
        color 150ms ease,
        transform 150ms ease;
}


.lfd-pl-filter-chip input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


.lfd-pl-filter-chip:hover {
    border-color:
        rgba(
            0,
            174,
            157,
            0.45
        );

    background: #f4fbf9;

    transform:
        translateY(-1px);
}


.lfd-pl-filter-chip.active,
.lfd-pl-filter-chip:has(
    input:checked
) {
    border-color:
        var(--hmh-teal);

    background:
        rgba(
            0,
            174,
            157,
            0.09
        );

    color:
        var(--hmh-teal-deep);
}


/* =========================================================
   PRICE
========================================================= */

.lfd-pl-price-filter {
    padding-top: 3px;
}


.lfd-pl-price-values {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 9px;

    margin-bottom: 16px;
}


.lfd-pl-price-values
> span:first-child,

.lfd-pl-price-values
> span:last-child {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        7px
        9px;

    border:
        1px solid
        #dde7e5;

    border-radius: 10px;

    background: #ffffff;

    color: #294944;

    font-size: 11px;
    font-weight: 700;
}


.lfd-pl-price-values
> span:nth-child(2) {
    color: #8c9b98;

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   FIXED FOOTER
========================================================= */

.lfd-pl-filter-actions {
    position: relative;

    z-index: 20;

    flex:
        0
        0
        auto;

    display: grid;

    grid-template-columns:
        minmax(
            92px,
            0.75fr
        )
        minmax(
            140px,
            1.25fr
        );

    gap: 9px;

    padding:
        13px
        14px
        14px;

    border-top:
        1px solid
        rgba(
            21,
            72,
            65,
            0.09
        );

    background:
        rgba(
            255,
            255,
            255,
            0.98
        );

    box-shadow:
        0
        -12px
        26px
        rgba(
            22,
            70,
            64,
            0.045
        );

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);
}


/* =========================================================
   FOOTER BUTTONS
========================================================= */

.lfd-pl-filter-action {
    min-width: 0;

    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding:
        9px
        12px;

    border:
        1px solid
        transparent;

    border-radius: 12px;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 11px;
    font-weight: 800;

    line-height: 1;

    text-align: center;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 150ms ease,
        border-color 150ms ease,
        color 150ms ease,
        box-shadow 150ms ease,
        transform 150ms ease;
}


.lfd-pl-filter-action:hover {
    transform:
        translateY(-1px);

    text-decoration: none;
}


.lfd-pl-filter-action-reset {
    border-color:
        #d8e3e0;

    background:
        #ffffff;

    color: #42615c;
}


.lfd-pl-filter-action-reset:hover {
    border-color:
        rgba(
            0,
            174,
            157,
            0.45
        );

    background: #f4faf9;

    color:
        var(--hmh-teal-deep);
}


.lfd-pl-filter-action-apply {
    border-color:
        var(--hmh-teal);

    background:
        var(--hmh-teal);

    color: #ffffff;

    box-shadow:
        0
        8px
        18px
        rgba(
            0,
            174,
            157,
            0.19
        );
}


.lfd-pl-filter-action-apply:hover {
    border-color:
        var(--hmh-teal-deep);

    background:
        var(--hmh-teal-deep);

    color: #ffffff;

    box-shadow:
        0
        10px
        23px
        rgba(
            0,
            174,
            157,
            0.25
        );
}


/* =========================================================
   DESKTOP XL
   ENTIRE SIDEBAR STAYS IN VIEW
   HEADER + FOOTER DO NOT SCROLL
========================================================= */

@media (min-width: 1200px) {

    .lfd-pl-sidebar-col {
        position: sticky;

        top: 210px;

        align-self: flex-start;

        height: 540px;
    }


    .lfd-pl-sidebar-col
    > .lfd-pl-sidebar {
        height: 100%;
        max-height: 100%;
    }

}


/* =========================================================
   MOBILE / TABLET OFFCANVAS
========================================================= */

@media (max-width: 1199.98px) {

    .lfd-pl-mobile-filter-canvas
    .offcanvas-body {
        padding: 0;

        overflow: hidden;
    }


    .lfd-pl-mobile-filter-canvas
    .lfd-pl-sidebar {
        width: 100%;

        height: 100%;

        min-height: 100%;

        max-height: 100%;

        border: 0;

        border-radius: 0;

        box-shadow: none;
    }


    /*
     * Offcanvas already has its own top header,
     * so hide the duplicate title area but retain
     * the clear control.
     */

    .lfd-pl-mobile-filter-canvas
    .lfd-pl-filter-header {
        min-height: 52px;

        justify-content: flex-end;

        padding:
            8px
            16px;
    }


    .lfd-pl-mobile-filter-canvas
    .lfd-pl-filter-header-main {
        display: none;
    }


    .lfd-pl-mobile-filter-canvas
    .lfd-pl-filter-scroll {
        min-height: 0;
    }


    .lfd-pl-mobile-filter-canvas
    .lfd-pl-filter-actions {
        padding-bottom:
            calc(
                14px
                +
                env(
                    safe-area-inset-bottom
                )
            );
    }

}

.lfd-pl-mobile-filter-canvas .offcanvas-body {
    display: flex;
    flex-direction: column;
}

@media (max-width: 1199.98px) {

    .lfd-pl-mobile-filter-canvas
    .offcanvas-body {
        display: flex;
        flex-direction: column;

        min-height: 0;

        padding: 0;

        overflow: hidden;
    }

    .lfd-pl-mobile-filter-canvas
    .offcanvas-body
    > .lfd-pl-sidebar {
        flex: 1 1 auto;

        min-height: 0;
    }

}

@media (max-width: 1199.98px) {

    .lfd-pl-mobile-filter-canvas {
        top: 110px !important;
        bottom: auto !important;

        height: 510px !important;
        max-height: 510px !important;

        overflow: hidden;
        border-radius: 20px;
    }


    .lfd-pl-mobile-filter-canvas
    .offcanvas-body {
        height: 100%;

        padding: 0;

        overflow: hidden;
    }


    .lfd-pl-mobile-filter-canvas
    .lfd-pl-sidebar {
        height: 100%;
        max-height: 100%;

        display: flex;
        flex-direction: column;

        overflow: hidden;
    }


    .lfd-pl-mobile-filter-canvas
    .lfd-pl-filter-scroll {
        flex: 1 1 auto;
        min-height: 0;

        overflow-x: hidden;
        overflow-y: auto;
    }


    .lfd-pl-mobile-filter-canvas
    .lfd-pl-filter-actions {
        position: sticky;
        bottom: 0;
        z-index: 20;

        flex: 0 0 auto;

        background: #ffffff;
    }

}

/* =========================================================
   MOBILE FILTER HEADER
========================================================= */

@media (max-width: 1199.98px) {

    .lfd-pl-mobile-filter-canvas
    .lfd-pl-mobile-filter-header {
        flex: 0 0 auto;

        min-height: 78px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 16px;

        padding: 16px 18px;

        border-bottom:
            1px solid rgba(22, 78, 72, 0.09);

        background: #ffffff;
    }


    .lfd-pl-mobile-filter-header
    .offcanvas-title {
        min-width: 0;

        display: inline-flex;
        align-items: center;

        gap: 11px;

        margin: 0;

        color: #173d39;

        font-family: "Manrope", sans-serif;

        font-size: 17px;
        font-weight: 800;

        line-height: 1.2;
    }


    .lfd-pl-mobile-filter-header
    .offcanvas-title i {
        color: #173d39;

        font-size: 16px;
    }


    .lfd-pl-mobile-filter-header-actions {
        flex: 0 0 auto;

        display: flex;
        align-items: center;

        gap: 9px;
    }


    /* -------------------------------
       CLEAR
    -------------------------------- */

    .lfd-pl-mobile-filter-clear {
        min-height: 38px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        padding: 0 13px;

        border:
            1px solid
            rgba(0, 174, 157, 0.22);

        border-radius: 11px;

        background:
            rgba(0, 174, 157, 0.055);

        color: #008f82;

        font-family: "Nunito", sans-serif;

        font-size: 12px;
        font-weight: 800;

        line-height: 1;

        text-decoration: none;
    }


    .lfd-pl-mobile-filter-clear:hover,
    .lfd-pl-mobile-filter-clear:focus {
        border-color: #00ae9d;

        background:
            rgba(0, 174, 157, 0.10);

        color: #008f82;

        text-decoration: none;
    }


    /* -------------------------------
       CLOSE
    -------------------------------- */

    .lfd-pl-mobile-filter-close {
        width: 38px;
        height: 38px;

        flex: 0 0 38px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        margin: 0;
        padding: 0;

        border: 0;

        border-radius: 50%;

        background: transparent;

        color: #798482;

        font-size: 19px;

        cursor: pointer;
    }


    .lfd-pl-mobile-filter-close:hover {
        background: #f1f6f5;

        color: #173d39;
    }

}

/* =========================================================
   TABLET PORTRAIT
   FILTER SIDEBAR HEIGHT
========================================================= */

@media
    (min-width: 768px)
    and
    (max-width: 991.98px)
    and
    (orientation: portrait) {

    .lfd-pl-mobile-filter-canvas {
        top: 100px !important;

        bottom: auto !important;

        height: calc(100dvh - 130px) !important;
        max-height: calc(100dvh - 130px) !important;
    }


    .lfd-pl-mobile-filter-canvas
    .offcanvas-body {
        height: 100%;

        min-height: 0;

        padding: 0;

        overflow: hidden;
    }


    .lfd-pl-mobile-filter-canvas
    .lfd-pl-sidebar {
        height: 100%;

        min-height: 0;

        display: flex;
        flex-direction: column;

        overflow: hidden;
    }


    /*
     * Only filter options scroll.
     * Header + footer remain visible.
     */
    .lfd-pl-mobile-filter-canvas
    .lfd-pl-filter-scroll {
        flex: 1 1 auto;

        min-height: 0;

        overflow-x: hidden;
        overflow-y: auto;
    }


    .lfd-pl-mobile-filter-canvas
    .lfd-pl-filter-actions {
        flex: 0 0 auto;

        position: static;

        width: 100%;
    }

}

/* =========================================================
   MOBILE SEARCH HERO — STICKY
========================================================= */

@media (max-width: 767.98px) {

    .lfd-pl-search-hero {
        position: sticky !important;

        /*
         * Mobile website header is around 80px high.
         * Adjust this if needed.
         */
        top: 80px !important;

        z-index: 900 !important;

        margin-top: 0;
    }


    /*
     * Keep the background attached to the sticky section.
     */
    .lfd-pl-search-hero-media {
        position: absolute;
        inset: 0;

        z-index: 0;
    }


    .lfd-pl-search-hero-content {
        position: relative;

        z-index: 2;
    }


    /*
     * Launcher must remain above the hero image.
     */
    .lfd-pl-search-hero
    .lfd-hdr-mobile-search-launcher {
        position: relative;

        z-index: 3;
    }


    /*
     * When search modal opens, sticky hero should
     * move underneath Bootstrap backdrop.
     */
    body.modal-open
    .lfd-pl-search-hero {
        z-index: 20 !important;
    }

}

@media (max-width: 767.98px) {

    .lfd-pl-search-hero {
        position: sticky !important;
        top: 80px !important;
        z-index: 900 !important;

        min-height: 130px;
    }


    .lfd-pl-search-hero-content {
        min-height: 130px;

        padding:
            16px
            0;
    }

}

/* =========================================================
   MOBILE STICKY SEARCH HERO — FINAL ALIGNMENT
   Keep at VERY END of lifedprograms/style.css
========================================================= */

@media (max-width: 767.98px) {

    /* -----------------------------------------------------
       Sticky hero wrapper
    ----------------------------------------------------- */

    .lfd-pl-search-hero {
        position: sticky !important;

        /*
         * Adjust according to actual mobile header height.
         */
        top: 0px !important;

        z-index: 900 !important;

        width: 100% !important;
        max-width: none !important;

        min-height: 150px !important;
        height: 150px !important;

        margin:
            0
            0
            20px !important;

        padding: 0 !important;

        border-radius: 0 !important;

        overflow: visible !important;
    }


    /* -----------------------------------------------------
       Background must exactly follow sticky wrapper
    ----------------------------------------------------- */

    .lfd-pl-search-hero-media {
        position: absolute !important;

        inset: 0 !important;

        width: 100%;
        height: 100%;

        border-radius: 0 !important;

        overflow: hidden !important;

        z-index: 0;
    }


    .lfd-pl-search-hero-image {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        background-position:
            center
            48% !important;

        background-size: cover;

        transform:
            scaleX(-1);
    }


    /* -----------------------------------------------------
       Content must fill hero exactly
    ----------------------------------------------------- */

    .lfd-pl-search-hero-content {
        position: relative;

        z-index: 2;

        width: 100% !important;

        min-height: 150px !important;
        height: 150px !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;

        padding:
            16px
            18px !important;
    }


    /* -----------------------------------------------------
       Search launcher
    ----------------------------------------------------- */

    .lfd-pl-search-hero
    .lfd-hdr-mobile-search-launcher {
        position: relative;

        z-index: 3;

        width: 100% !important;
        max-width: 720px;

        min-height: 78px !important;

        display: grid !important;

        grid-template-columns:
            56px
            minmax(0, 1fr)
            50px;

        align-items: center;

        gap: 13px;

        margin: 0 auto !important;

        padding:
            10px
            12px !important;

        border:
            1px solid
            rgba(22, 78, 72, 0.12);

        border-radius: 22px !important;

        background:
            rgba(
                255,
                255,
                255,
                0.97
            );

        box-shadow:
            0 12px 30px
            rgba(
                10,
                42,
                39,
                0.17
            );
    }


    /* Search icon */

    .lfd-pl-search-hero
    .lfd-hdr-mobile-search-icon {
        width: 56px !important;
        height: 56px !important;

        display: inline-flex;

        align-items: center;
        justify-content: center;

        border-radius: 17px !important;

        background: #00ae9d;

        color: #ffffff;

        font-size: 20px;
    }


    /* Copy */

    .lfd-pl-search-hero
    .lfd-hdr-mobile-search-copy {
        min-width: 0;

        display: flex;

        flex-direction: column;

        justify-content: center;

        gap: 3px;
    }


    .lfd-pl-search-hero
    .lfd-hdr-mobile-search-copy strong {
        overflow: hidden;

        margin: 0;

        color: #173d39;

        font-size: 1rem;

        font-weight: 800;

        line-height: 1.25;

        text-overflow: ellipsis;

        white-space: nowrap;
    }


    .lfd-pl-search-hero
    .lfd-hdr-mobile-search-copy small {
        overflow: hidden;

        margin: 0;

        color: #75827f;

        font-size: 0.79rem;

        font-weight: 600;

        line-height: 1.3;

        text-overflow: ellipsis;

        white-space: nowrap;
    }


    /* Sliders icon */

    .lfd-pl-search-hero
    .lfd-hdr-mobile-search-arrow {
        width: 50px !important;
        height: 50px !important;

        display: inline-flex;

        align-items: center;
        justify-content: center;

        justify-self: end;

        border-radius: 16px !important;

        background:
            rgba(
                0,
                174,
                157,
                0.08
            );

        color: #00ae9d;

        font-size: 17px;
    }


    /* -----------------------------------------------------
       Do not allow old mobile hero dimensions to interfere
    ----------------------------------------------------- */

    .lfd-pl-search-hero
    .lfd-hdr-search-card-home {
        display: none !important;
    }


    /*
     * When search modal is opened,
     * sticky section must sit below Bootstrap backdrop.
     */
    body.modal-open
    .lfd-pl-search-hero {
        z-index: 20 !important;
    }

}

/* =========================================================
   LIFED FLATPICKR CALENDAR
   Homepage / Explore Program Search
========================================================= */

.flatpickr-calendar.lfd-hdr-calendar {
    width: 330px !important;

    padding:
        14px
        14px
        16px;

    overflow: hidden;

    border:
        1px solid
        rgba(22, 78, 72, 0.10);

    border-radius: 22px !important;

    background: #ffffff;

    font-family:
        "Nunito",
        sans-serif;

    box-shadow:
        0 22px 60px
        rgba(18, 62, 57, 0.16),
        0 6px 18px
        rgba(18, 62, 57, 0.07);

    z-index: 12000 !important;
}


/* =========================================================
   REMOVE DEFAULT ARROW
========================================================= */

.flatpickr-calendar.lfd-hdr-calendar::before,
.flatpickr-calendar.lfd-hdr-calendar::after {
    display: none !important;
}


/* =========================================================
   MONTH HEADER
========================================================= */

.lfd-hdr-calendar
.flatpickr-months {
    position: relative;

    min-height: 48px;

    display: flex;

    align-items: center;

    margin-bottom: 8px;

    padding:
        0
        2px;
}


.lfd-hdr-calendar
.flatpickr-month {
    height: 48px;

    display: flex;

    align-items: center;

    color: #173d39;

    background: transparent;
}


.lfd-hdr-calendar
.flatpickr-current-month {
    position: static;

    width: 100%;
    height: auto;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    color: #173d39;

    font-size: 1rem;

    font-weight: 800;
}


/* Month name */

.lfd-hdr-calendar
.flatpickr-current-month
.flatpickr-monthDropdown-months {
    width: auto;

    margin: 0;

    padding:
        6px
        3px;

    border: 0;

    border-radius: 8px;

    background: transparent;

    color: #173d39;

    font-family:
        "Nunito",
        sans-serif;

    font-size: 0.96rem;

    font-weight: 800;

    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;
}


/* Year */

.lfd-hdr-calendar
.flatpickr-current-month
.numInputWrapper {
    width: 62px;

    margin-left: 3px;
}


.lfd-hdr-calendar
.flatpickr-current-month
input.cur-year {
    height: 32px;

    padding: 0;

    color: #173d39;

    font-family:
        "Nunito",
        sans-serif;

    font-size: 0.96rem;

    font-weight: 800;
}


/* Hide default year arrows */

.lfd-hdr-calendar
.numInputWrapper
span {
    display: none;
}


/* =========================================================
   PREVIOUS / NEXT MONTH BUTTONS
========================================================= */

.lfd-hdr-calendar
.flatpickr-prev-month,
.lfd-hdr-calendar
.flatpickr-next-month {
    top: 6px;

    width: 38px;
    height: 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 !important;

    border:
        1px solid
        rgba(0, 174, 157, 0.12);

    border-radius: 12px;

    background:
        rgba(0, 174, 157, 0.06);

    color: #00ae9d !important;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}


.lfd-hdr-calendar
.flatpickr-prev-month {
    left: 2px;
}


.lfd-hdr-calendar
.flatpickr-next-month {
    right: 2px;
}


.lfd-hdr-calendar
.flatpickr-prev-month:hover,
.lfd-hdr-calendar
.flatpickr-next-month:hover {
    border-color:
        rgba(0, 174, 157, 0.25);

    background:
        rgba(0, 174, 157, 0.12);

    transform:
        translateY(-1px);
}


.lfd-hdr-calendar
.flatpickr-prev-month svg,
.lfd-hdr-calendar
.flatpickr-next-month svg {
    width: 12px;
    height: 12px;

    fill: #00ae9d !important;

    stroke: #00ae9d !important;
}


/* =========================================================
   WEEKDAYS
========================================================= */

.lfd-hdr-calendar
.flatpickr-weekdays {
    height: 36px;

    margin-top: 3px;

    border-top:
        1px solid
        #eef3f2;
}


.lfd-hdr-calendar
.flatpickr-weekdaycontainer {
    display: grid;

    grid-template-columns:
        repeat(7, 1fr);
}


.lfd-hdr-calendar
span.flatpickr-weekday {
    display: flex;

    align-items: center;
    justify-content: center;

    color: #83918f;

    font-family:
        "Nunito",
        sans-serif;

    font-size: 0.68rem;

    font-weight: 800;

    line-height: 1;

    text-transform: uppercase;
}


/* =========================================================
   DAYS CONTAINER
========================================================= */

.lfd-hdr-calendar
.flatpickr-innerContainer {
    display: block;
}


.lfd-hdr-calendar
.flatpickr-rContainer {
    width: 100%;
}


.lfd-hdr-calendar
.flatpickr-days {
    width: 100% !important;

    border: 0;
}


.lfd-hdr-calendar
.dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;

    display: grid !important;

    grid-template-columns:
        repeat(7, 1fr);

    gap: 3px;

    padding-top: 5px;
}


/* =========================================================
   DAY
========================================================= */

.lfd-hdr-calendar
.flatpickr-day {
    width: 38px;
    max-width: 38px;
    height: 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin: auto;

    border:
        1px solid
        transparent;

    border-radius: 12px;

    background: transparent;

    color: #40534f;

    font-family:
        "Nunito",
        sans-serif;

    font-size: 0.79rem;

    font-weight: 700;

    line-height: 38px;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        transform 0.15s ease;
}


/* Hover */

.lfd-hdr-calendar
.flatpickr-day:hover,
.lfd-hdr-calendar
.flatpickr-day:focus {
    border-color:
        rgba(0, 174, 157, 0.20);

    background:
        #eef9f7;

    color: #008f82;

    transform:
        translateY(-1px);
}


/* =========================================================
   TODAY
========================================================= */

.lfd-hdr-calendar
.flatpickr-day.today {
    border:
        1.5px solid
        #00ae9d;

    background:
        rgba(0, 174, 157, 0.05);

    color: #008f82;

    font-weight: 900;
}


.lfd-hdr-calendar
.flatpickr-day.today:hover {
    border-color: #00ae9d;

    background:
        rgba(0, 174, 157, 0.10);

    color: #008f82;
}


/* =========================================================
   SELECTED DATE
========================================================= */

.lfd-hdr-calendar
.flatpickr-day.selected,
.lfd-hdr-calendar
.flatpickr-day.selected:hover,
.lfd-hdr-calendar
.flatpickr-day.selected:focus,
.lfd-hdr-calendar
.flatpickr-day.startRange,
.lfd-hdr-calendar
.flatpickr-day.endRange {
    border-color: #00ae9d !important;

    background: #00ae9d !important;

    color: #ffffff !important;

    font-weight: 900;

    box-shadow:
        0 7px 18px
        rgba(0, 174, 157, 0.24);
}


/* =========================================================
   DAYS FROM OTHER MONTHS
========================================================= */

.lfd-hdr-calendar
.flatpickr-day.prevMonthDay,
.lfd-hdr-calendar
.flatpickr-day.nextMonthDay {
    color: #bcc5c3;
}


/* =========================================================
   DISABLED DATES
========================================================= */

.lfd-hdr-calendar
.flatpickr-day.flatpickr-disabled,
.lfd-hdr-calendar
.flatpickr-day.flatpickr-disabled:hover {
    border-color: transparent;

    background: transparent;

    color: #d0d7d5;

    cursor: not-allowed;

    transform: none;
}


/* =========================================================
   DATE INPUT ALT FIELD
========================================================= */

.lfd-hdr-date-display {
    cursor: pointer !important;

    color: #414242 !important;

    background: transparent !important;
}


/* =========================================================
   MOBILE SEARCH MODAL CALENDAR
========================================================= */

@media (max-width: 767.98px) {

    .flatpickr-calendar.lfd-hdr-calendar {
        width:
            min(
                340px,
                calc(100vw - 32px)
            ) !important;

        padding:
            12px
            11px
            14px;

        border-radius: 20px !important;

        box-shadow:
            0 18px 50px
            rgba(17, 53, 49, 0.22);

        z-index: 13000 !important;
    }


    .lfd-hdr-calendar
    .flatpickr-months {
        min-height: 44px;

        margin-bottom: 5px;
    }


    .lfd-hdr-calendar
    .flatpickr-prev-month,
    .lfd-hdr-calendar
    .flatpickr-next-month {
        width: 36px;
        height: 36px;
    }


    .lfd-hdr-calendar
    .flatpickr-day {
        width: 36px;
        max-width: 36px;
        height: 36px;

        border-radius: 11px;

        font-size: 0.76rem;

        line-height: 36px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 359.98px) {

    .flatpickr-calendar.lfd-hdr-calendar {
        width:
            calc(
                100vw - 20px
            ) !important;

        padding:
            10px
            8px
            12px;
    }


    .lfd-hdr-calendar
    .flatpickr-day {
        width: 34px;
        max-width: 34px;
        height: 34px;

        line-height: 34px;
    }

}