/* ---------- 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-lime-soft); color: #438f33; }
.lfd-pl-tag-recovery { background: #e8ebfc; color: #4b5eca; }

.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 #f5a623; color: #d08000; background: #fffaf0; }

.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-green-life); 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-lime-soft); /* 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-muted);
  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;
    }

}