/* ==========================================================================
   LocationLara - Space Search & Map Redesign Stylesheet
   Version: 1.0.0
   ========================================================================== */

:root {
  --ll-primary: #003B95;
  --ll-primary-dark: #00224F;
  --ll-primary-light: #1A5BB8;
  --ll-accent: #FF5A5F;
  --ll-accent-dark: #E03B40;
  --ll-dark: #1E293B;
  --ll-text: #475569;
  --ll-light-bg: #F8FAFC;
  --ll-card-bg: #FFFFFF;
  --ll-border: #E2E8F0;
  --ll-border-hover: #CBD5E1;
  --ll-radius-sm: 8px;
  --ll-radius-md: 14px;
  --ll-radius-lg: 20px;
  --ll-radius-pill: 999px;
  --ll-shadow-sm: 0 2px 8px rgba(0, 29, 78, 0.05);
  --ll-shadow-md: 0 6px 20px rgba(0, 29, 78, 0.08);
  --ll-shadow-lg: 0 12px 36px rgba(0, 29, 78, 0.12);
  --ll-shadow-floating: 0 10px 30px rgba(0, 0, 0, 0.22);
}

/* --------------------------------------------------------------------------
   1. HERO BANNER (NORMAL MODE)
   -------------------------------------------------------------------------- */
.locationlara-theme .bc_search_space .bc_banner {
  background: linear-gradient(135deg, #00224F 0%, #003B95 50%, #1A5BB8 100%) !important;
  padding: 48px 0 42px !important;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.locationlara-theme .bc_search_space .bc_banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.locationlara-theme .bc_search_space .bc_banner .banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--ll-radius-pill);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.locationlara-theme .bc_search_space .bc_banner h1 {
  font-size: 34px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin: 0 0 8px !important;
  letter-spacing: -0.5px;
}

.locationlara-theme .bc_search_space .bc_banner .banner-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   2. SEARCH FORM CONTAINER REFINEMENT
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .locationlara-theme .bc_search_space .bc_form_search:not(.is-autocomplete-open):not(.has-dropdown-open) {
    margin-top: -28px;
    margin-bottom: 32px;
    position: relative;
    z-index: 200 !important;
  }
}

/* --------------------------------------------------------------------------
   3. RESULT TOPBAR & VIEW MODE SWITCHER
   -------------------------------------------------------------------------- */
.ll-space-results-topbar {
  background: #FFFFFF;
  border: 1px solid var(--ll-border);
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05);
}

.ll-space-results-topbar .results-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ll-space-results-topbar .meta-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ll-space-results-topbar .meta-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EFF6FF;
  color: var(--ll-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.ll-space-results-topbar .results-title {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.3px;
}

.ll-space-results-topbar .badge-count {
  background: #EFF6FF;
  color: var(--ll-primary);
  border: 1px solid #BFDBFE;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--ll-radius-pill);
}

.ll-space-results-topbar .results-subtitle {
  font-size: 13px;
  color: #64748B;
  margin: 2px 0 0 42px;
  font-weight: 500;
}

.ll-space-results-topbar .results-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Sorting Dropdown Wrapper */
.ll-sort-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ll-sort-wrapper .sort-prefix-label {
  display: none !important;
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  white-space: nowrap;
}

/* Luxury Sort Pill (Sort by: Recommended) */
.bc-form-order {
  margin: 0 !important;
}

.bc-form-order .item.orderby {
  display: inline-flex !important;
  align-items: center !important;
  background: #FFFFFF !important;
  border: 1.5px solid var(--ll-border) !important;
  border-radius: var(--ll-radius-pill) !important;
  /* padding: 6px 16px !important; */
  transition: all 0.2s ease !important;
  gap: 6px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.bc-form-order .item.orderby:hover {
  background: #FFFFFF !important;
  border-color: #93C5FD !important;
  box-shadow: 0 3px 10px rgba(0, 59, 149, 0.1) !important;
}

.bc-form-order .item-title {
  display: inline-block !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #64748B !important;
  margin: 0 !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

.bc-form-order .dropdown-toggle {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--ll-dark) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  line-height: 1 !important;
}

.bc-form-order .dropdown-toggle::after {
  display: inline-block;
  margin-left: 2px;
  vertical-align: 0.12em;
  content: "";
  border-top: 0.35em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  color: #64748B;
  transition: transform 0.2s ease;
}

.bc-form-order .show>.dropdown-toggle::after {
  transform: rotate(180deg);
}

.bc-form-order .dropdown-menu {
  border-radius: 14px !important;
  border: 1px solid var(--ll-border) !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12) !important;
  padding: 6px !important;
  margin-top: 8px !important;
  min-width: 200px !important;
  z-index: 1050 !important;
}

.bc-form-order .dropdown-item {
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  padding: 8px 14px !important;
  transition: all 0.15s ease !important;
}

.bc-form-order .dropdown-item:hover,
.bc-form-order .dropdown-item.active {
  background-color: #EFF6FF !important;
  color: var(--ll-primary) !important;
}

/* Mode Switcher Buttons */
.ll-view-mode-toggle {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  border-radius: var(--ll-radius-pill);
  padding: 3px;
  border: 1px solid var(--ll-border);
}

.ll-view-mode-toggle .btn-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--ll-radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: #64748B;
  text-decoration: none !important;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.ll-view-mode-toggle .btn-mode:hover {
  color: var(--ll-dark);
}

.ll-view-mode-toggle .btn-mode.active {
  background: #FFFFFF;
  color: var(--ll-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ll-view-mode-toggle .btn-mode i {
  font-size: 13px;
}

/* Active Filter Tags Bar */
.ll-active-filters-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 4px 16px;
}

.ll-active-filters-bar .active-filter-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94A3B8;
  margin-right: 4px;
}

.ll-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: var(--ll-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--ll-radius-pill);
  transition: all 0.15s ease;
}

.ll-filter-tag:hover {
  background: #EFF6FF;
  border-color: #93C5FD;
  color: var(--ll-primary);
}

.ll-filter-tag .tag-remove {
  color: #94A3B8;
  cursor: pointer;
  font-size: 13px;
  transition: color 0.15s ease;
}

.ll-filter-tag .tag-remove:hover {
  color: var(--ll-accent);
}

.ll-btn-reset-filters {
  font-size: 12px;
  font-weight: 700;
  color: var(--ll-accent);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.ll-btn-reset-filters:hover {
  color: var(--ll-accent-dark);
}

/* --------------------------------------------------------------------------
   4. SIDEBAR FILTER REFINEMENT (DESKTOP) - WIDER SIDEBAR
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .locationlara-theme .bc-list-item-sidebar-col {
    flex: 0 0 340px !important;
    max-width: 340px !important;
    width: 340px !important;
    position: sticky;
    top: 90px;
    align-self: flex-start;
    z-index: 20;
  }

  .locationlara-theme .bc-list-item-main-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (min-width: 1400px) {
  .locationlara-theme .bc-list-item-main-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

.locationlara-theme .bc_filter {
  background: #FFFFFF !important;
  border: 1px solid var(--ll-border) !important;
  border-radius: var(--ll-radius-lg) !important;
  padding: 24px !important;
  box-shadow: var(--ll-shadow-sm) !important;
}

.locationlara-theme .bc_filter .filter-header-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 2px solid #F1F5F9;
}

.locationlara-theme .bc_filter .filter-header-title h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ll-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.locationlara-theme .bc_filter .filter-header-title .btn-clear {
  font-size: 12px;
  font-weight: 700;
  color: var(--ll-accent);
  text-decoration: none;
}

.locationlara-theme .bc_filter .filter-header-title .btn-clear:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   5. MOBILE FLOATING ACTION BUTTONS & DRAWER
   -------------------------------------------------------------------------- */
.ll-mobile-filter-btn-wrapper {
  display: none;
}

/* Floating Bottom Action Bar on Mobile */
.ll-floating-mobile-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(30, 41, 59, 0.94);
  backdrop-filter: blur(12px);
  padding: 6px 8px;
  border-radius: var(--ll-radius-pill);
  box-shadow: var(--ll-shadow-floating);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: llSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes llSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.ll-floating-mobile-bar .ll-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--ll-radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none !important;
  border: none;
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ll-floating-mobile-bar .ll-float-btn.primary {
  background: var(--ll-primary);
}

.ll-floating-mobile-bar .ll-float-btn:active {
  transform: scale(0.96);
}

.ll-floating-mobile-bar .divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
}

/* Offcanvas / Bottom Sheet Filter Drawer for Mobile */
.ll-mobile-filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000000 !important;
  display: none;
}

.ll-mobile-drawer-results-meta {
  padding: 10px 16px;
  margin: 0 16px 12px 16px;
  background: #F8FAFC;
  border: 1px solid var(--ll-border, #E2E8F0);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}

.ll-mobile-drawer-results-meta .meta-title-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ll-mobile-drawer-results-meta .results-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.ll-mobile-drawer-results-meta .results-subtitle {
  font-size: 12px;
  color: #64748B;
  margin: 0;
}

.ll-mobile-filter-drawer.show {
  display: block;
}

.ll-mobile-filter-drawer .drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ll-mobile-filter-drawer.show .drawer-backdrop {
  opacity: 1;
}

.ll-mobile-filter-drawer .drawer-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 88vh;
  background: #FFFFFF;
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.ll-mobile-filter-drawer.show .drawer-content {
  transform: translateY(0);
}

.ll-mobile-filter-drawer .drawer-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--ll-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  position: relative;
}

.ll-mobile-filter-drawer .drawer-header .drag-handle {
  width: 40px;
  height: 4px;
  background: #CBD5E1;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
}

.ll-mobile-filter-drawer .drawer-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ll-dark);
  margin: 0;
}

.ll-mobile-filter-drawer .drawer-header .btn-close-drawer {
  background: #F1F5F9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ll-dark);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ll-mobile-filter-drawer .drawer-header .btn-close-drawer:hover {
  background: #E2E8F0;
}

.ll-mobile-filter-drawer .drawer-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex-grow: 1;
}

.ll-mobile-filter-drawer .drawer-body .bc_filter {
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Checkboxes & Attribute Items inside Mobile Filter Drawer */
.ll-mobile-filter-drawer .bc_filter .g-filter-item {
  padding: 14px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
}

.ll-mobile-filter-drawer .bc_filter .item-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  padding: 2px 0 !important;
}

.ll-mobile-filter-drawer .bc_filter .item-title h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  margin: 0 !important;
}

.ll-mobile-filter-drawer .bc_filter .item-content {
  padding-top: 10px !important;
}

.ll-mobile-filter-drawer .bc_filter .item-content ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ll-mobile-filter-drawer .bc_filter .item-content ul li {
  margin-bottom: 8px !important;
}

.ll-mobile-filter-drawer .bc_filter .bc-checkbox {
  margin: 0 !important;
}

.ll-mobile-filter-drawer .bc_filter .bc-checkbox label {
  display: flex !important;
  align-items: center !important;
  padding: 6px 0 !important;
  padding-left: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  font-size: 14px !important;
  color: #334155 !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  position: relative !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: color 0.15s ease !important;
}

.ll-mobile-filter-drawer .bc_filter .bc-checkbox label:hover {
  color: var(--ll-primary, #1e5dd9) !important;
}

.ll-mobile-filter-drawer .bc_filter .bc-checkbox input[type="checkbox"],
.ll-mobile-filter-drawer .bc_filter .bc-checkbox input {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
}

.ll-mobile-filter-drawer .bc_filter .bc-checkbox .checkmark {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0 !important;
  background-color: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 5px !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  margin: 0 10px 0 0 !important;
}

.ll-mobile-filter-drawer .bc_filter .bc-checkbox:hover input ~ .checkmark {
  border-color: var(--ll-primary, #1e5dd9) !important;
}

.ll-mobile-filter-drawer .bc_filter .bc-checkbox input:checked ~ .checkmark {
  background-color: var(--ll-primary, #1e5dd9) !important;
  border-color: var(--ll-primary, #1e5dd9) !important;
}

.ll-mobile-filter-drawer .bc_filter .bc-checkbox .checkmark:after {
  content: "" !important;
  position: absolute !important;
  display: none !important;
  left: 5px !important;
  top: 1.5px !important;
  width: 5px !important;
  height: 9px !important;
  border: solid white !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
  box-sizing: border-box !important;
}

.ll-mobile-filter-drawer .bc_filter .bc-checkbox input:checked ~ .checkmark:after {
  display: block !important;
}

.ll-mobile-filter-drawer .bc_filter .bc-checkbox i.fa-star {
  color: #FFB700 !important;
  font-size: 13px !important;
  margin-right: 2px !important;
}

[dir="rtl"] .ll-mobile-filter-drawer .bc_filter .bc-checkbox .checkmark,
body.is-rtl .ll-mobile-filter-drawer .bc_filter .bc-checkbox .checkmark {
  margin: 0 0 0 10px !important;
}

.ll-mobile-filter-drawer .drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--ll-border);
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  flex-shrink: 0;
}

.ll-mobile-filter-drawer .drawer-footer .btn-reset {
  flex: 1;
  padding: 14px;
  border-radius: var(--ll-radius-md);
  border: 1px solid var(--ll-border);
  background: #FFFFFF;
  font-weight: 700;
  color: var(--ll-text);
  font-size: 14px;
}

.ll-mobile-filter-drawer .drawer-footer .btn-apply {
  flex: 2;
  padding: 14px;
  border-radius: var(--ll-radius-md);
  border: none;
  background: var(--ll-primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  box-shadow: var(--ll-shadow-md);
}

/* --------------------------------------------------------------------------
   6. MODE MAP - FULL PAGE & SPLIT SCREEN LAYOUT
   -------------------------------------------------------------------------- */
body.has-search-map {
  overflow: hidden !important;
  height: 100vh !important;
  background-color: #F8FAFC !important;
}

body.has-search-map .bc_wrap {
  height: 100vh !important;
  display: flex;
  flex-direction: column;
}

body.has-search-map .main-content {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Map Mode Page Layout & Header Isolation */
body.has-search-map {
  height: 100vh !important;
  overflow: hidden !important;
}

body.has-search-map .bc_wrap {
  display: flex !important;
  flex-direction: column !important;
  height: 100vh !important;
  overflow: hidden !important;
}

body.has-search-map .bc_header {
  position: relative !important;
  z-index: 100 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  flex-shrink: 0 !important;
}

/* Hide multi-service secondary nav in map view for maximum map visibility */
body.has-search-map .bc_header .ll-services-nav-bar {
  display: none !important;
}

body.has-search-map main.main-content {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.bc_search_space.ll-map-search-page {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  position: relative !important;
}

/* Top Sticky Filter & Navigation Bar */
.ll-map-top-bar {
  background: #FFFFFF !important;
  border-bottom: 1px solid var(--ll-border) !important;
  padding: 0 20px !important;
  height: 60px !important;
  min-height: 60px !important;
  max-height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  z-index: 10050 !important;
  position: relative !important;
  overflow: visible !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
}

.map-form-wrapper {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 100% !important;
  overflow: visible !important;
}

.bc_form_search_map {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  height: 100% !important;
}

.ll-map-filter-item {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 100% !important;
}

/* Luxury Filter Chip (Pill Shape) */
.ll-filter-chip {
  height: 38px !important;
  padding: 0 16px !important;
  background: #FFFFFF !important;
  border: 1.5px solid var(--ll-border) !important;
  border-radius: var(--ll-radius-pill) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ll-dark) !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  white-space: nowrap !important;
  outline: none !important;
  user-select: none !important;
  position: relative !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

button.ll-filter-chip {
  appearance: none;
  -webkit-appearance: none;
  background-color: #FFFFFF;
}

/* Eliminate duplicate dropdown chevron from Bootstrap dropdown-toggle */
.ll-filter-chip.dropdown-toggle::after,
.ll-map-top-bar .dropdown-toggle::after,
.ll-filter-chip::after {
  display: none !important;
  content: none !important;
}

.ll-filter-chip:hover {
  border-color: #93C5FD !important;
  background: #F8FAFC !important;
  color: var(--ll-primary) !important;
  box-shadow: 0 2px 8px rgba(0, 59, 149, 0.08) !important;
}

.ll-filter-chip.active {
  border-color: var(--ll-primary) !important;
  background: #EFF6FF !important;
  color: var(--ll-primary) !important;
  font-weight: 700 !important;
}

.ll-filter-chip .chip-icon {
  font-size: 13px !important;
  color: var(--ll-primary) !important;
  flex-shrink: 0 !important;
}

.ll-filter-chip .chip-label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: inherit !important;
  line-height: 1 !important;
}

.ll-filter-chip .chip-chevron {
  font-size: 11px !important;
  color: #94A3B8 !important;
  margin-left: 2px !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}

.ll-map-filter-item.dropdown.show .chip-chevron {
  transform: rotate(180deg) !important;
}

.ll-filter-chip .chip-counter {
  background: var(--ll-primary) !important;
  color: #FFFFFF !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 2px 7px !important;
  line-height: 1 !important;
  margin-left: 2px !important;
}

/* Reset Chip */
.ll-filter-chip-reset {
  border-color: #FECACA !important;
  color: #DC2626 !important;
  background: #FEF2F2 !important;
}

.ll-filter-chip-reset:hover {
  border-color: #EF4444 !important;
  background: #FEE2E2 !important;
  color: #B91C1C !important;
}

.ll-filter-chip-reset i {
  color: #DC2626 !important;
}

/* Location & Attr Smart Search specifics */
.locationlara-theme .ll-map-top-bar .smart-search,
.ll-map-top-bar .smart-search {
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ll-map-top-bar .smart-search:after,
.ll-map-top-bar .smart-search::after {
  display: none !important;
  content: none !important;
}

.locationlara-theme .ll-map-top-bar .smart-search input.parent_text,
.locationlara-theme .ll-map-top-bar .smart-search .smart-search-location,
.locationlara-theme .ll-map-top-bar .smart-search .smart-select,
.ll-map-top-bar .smart-search input.parent_text,
.ll-map-top-bar .smart-search .smart-search-location,
.ll-map-top-bar .smart-search .smart-select,
.ll-map-attr-item .chip-input {
  text-align: left !important;
  width: 130px !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ll-dark) !important;
  padding: 0 !important;
  height: 36px !important;
  line-height: 36px !important;
  cursor: pointer !important;
  outline: none !important;
  margin: 0 !important;
}

.ll-map-location-item .chip-input {
  text-align: left !important;
  width: 175px !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  padding: 0 !important;
  height: 36px !important;
  line-height: 36px !important;
  cursor: pointer !important;
  outline: none !important;
  margin: 0 !important;
  transition: width 0.2s ease !important;
}

.locationlara-theme .ll-map-top-bar .smart-search input.parent_text:focus,
.locationlara-theme .ll-map-top-bar .smart-search .smart-search-location:focus,
.ll-map-top-bar .smart-search input.parent_text:focus,
.ll-map-location-item .chip-input:focus {
  width: 200px !important;
}

.btn-clear-map-location {
  background: transparent !important;
  border: none !important;
  padding: 0 4px !important;
  margin-left: 2px !important;
  color: #94A3B8 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 0.15s ease, transform 0.15s ease !important;
  outline: none !important;
}

.btn-clear-map-location:hover {
  color: #EF4444 !important;
  transform: scale(1.1) !important;
}

.locationlara-theme .ll-map-top-bar .smart-search input.parent_text::placeholder,
.locationlara-theme .ll-map-top-bar .smart-search .smart-search-location::placeholder,
.locationlara-theme .ll-map-top-bar .smart-search .smart-select::placeholder,
.ll-map-top-bar .smart-search input.parent_text::placeholder,
.ll-map-location-item .chip-input::placeholder,
.ll-map-attr-item .chip-input::placeholder {
  text-align: left !important;
  color: #64748B !important;
  font-weight: 500 !important;
  font-size: 13px !important;
}

.ll-map-top-bar .smart-search .bc-autocomplete {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: -10px !important;
  min-width: 340px !important;
  width: max-content !important;
  max-width: 420px !important;
  background: #FFFFFF !important;
  border-radius: 16px !important;
  border: 1px solid var(--ll-border) !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
  padding: 6px 0 !important;
  z-index: 2147483647 !important;
  max-height: 380px !important;
  overflow-y: auto !important;
}

.ll-map-top-bar .smart-search .bc-autocomplete .item {
  padding: 10px 16px !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}

.ll-map-top-bar .smart-search .bc-autocomplete .item:hover,
.ll-map-top-bar .smart-search .bc-autocomplete .item.active {
  background: #F8FAFC !important;
}

/* Date Chip specifics */
.ll-map-date-item {
  position: relative !important;
}

.ll-map-date-item .ll-filter-chip {
  position: relative !important;
  overflow: visible !important;
}

.ll-map-date-item .check-in-out.input-filter {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 5 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

.ll-map-date-item .date-wrapper {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ll-dark) !important;
  pointer-events: none !important;
  display: inline-flex !important;
  align-items: center !important;
}

.ll-map-date-item .date-wrapper .render {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: inherit !important;
  white-space: nowrap !important;
}

.ll-map-date-item .ll-filter-chip.active .date-wrapper {
  color: var(--ll-primary) !important;
}

/* Price Popover */
.ll-map-price-item {
  position: relative !important;
}

.ll-price-popover {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  width: 320px !important;
  min-width: 320px !important;
  max-width: 340px !important;
  padding: 20px !important;
  background: #FFFFFF !important;
  border-radius: 18px !important;
  border: 1px solid var(--ll-border) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16) !important;
  z-index: 100010 !important;
  margin-top: 0 !important;
  animation: llSlideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ll-price-popover .popover-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 12px !important;
  margin-bottom: 14px !important;
  border-bottom: 1px solid var(--ll-border) !important;
  background: transparent !important;
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ll-price-popover .popover-title {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: var(--ll-dark) !important;
  margin: 0 !important;
}

.ll-price-popover .btn-clear-price {
  font-size: 12px !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.ll-price-popover .btn-clear-price:hover {
  text-decoration: underline !important;
}

.ll-price-popover .bc-filter-price {
  padding: 0 !important;
}

.ll-price-popover .popover-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 18px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--ll-border) !important;
}

.ll-price-popover .popover-actions .price-hint {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--ll-primary) !important;
}

.ll-price-popover .popover-actions .btn-apply-price {
  background: var(--ll-primary) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  padding: 6px 18px !important;
  font-size: 13px !important;
  border-radius: var(--ll-radius-pill) !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 59, 149, 0.25) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.ll-price-popover .popover-actions .btn-apply-price:hover {
  background: var(--ll-primary-hover) !important;
  box-shadow: 0 4px 12px rgba(0, 59, 149, 0.35) !important;
}

/* View Mode Segmented Switcher (Desktop & Mobile) */
.ll-view-mode-toggle {
  display: inline-flex !important;
  align-items: center !important;
  background: #F1F5F9 !important;
  border-radius: var(--ll-radius-pill) !important;
  padding: 3px !important;
  gap: 2px !important;
  flex-shrink: 0 !important;
  border: 1px solid var(--ll-border) !important;
}

.ll-view-mode-toggle .btn-mode {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  height: 32px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #64748B !important;
  border-radius: var(--ll-radius-pill) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  border: none !important;
  background: transparent !important;
}

.ll-view-mode-toggle .btn-mode:hover {
  color: var(--ll-dark) !important;
  background: rgba(255, 255, 255, 0.6) !important;
}

.ll-view-mode-toggle .btn-mode.active {
  background: #FFFFFF !important;
  color: var(--ll-primary) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12) !important;
}

.ll-view-mode-toggle .btn-mode i {
  font-size: 13px !important;
}

/* Advance Filters Backdrop & Floating Modal */
#advance_filters_backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 100000 !important;
  transition: opacity 0.2s ease !important;
}

#advance_filters_backdrop.d-none {
  display: none !important;
}

#advance_filters {
  position: fixed !important;
  top: 75px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 720px !important;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100vh - 110px) !important;
  background: #FFFFFF !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid var(--ll-border) !important;
  z-index: 100005 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  animation: llModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#advance_filters.d-none {
  display: none !important;
}

#advance_filters .ad-filter-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 20px 24px !important;
  border-bottom: 1px solid var(--ll-border) !important;
  background: #FFFFFF !important;
}

#advance_filters .ad-title {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: var(--ll-dark) !important;
  margin: 0 0 2px 0 !important;
}

#advance_filters .ad-subtitle {
  font-size: 13px !important;
  color: #64748B !important;
  margin: 0 !important;
}

#advance_filters .btn-close-advance {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 1px solid var(--ll-border) !important;
  background: #F8FAFC !important;
  color: #64748B !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  line-height: 1 !important;
}

#advance_filters .btn-close-advance:hover {
  background: #E2E8F0 !important;
  color: var(--ll-dark) !important;
}

#advance_filters .ad-filter-b {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 0 24px !important;
  scrollbar-width: thin !important;
  scrollbar-color: #CBD5E1 transparent !important;
}

#advance_filters .ad-filter-b .filter-item {
  margin-bottom: 24px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid var(--ll-border) !important;
}

#advance_filters .ad-filter-b .filter-item:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

#advance_filters .ad-filter-b .filter-title {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: var(--ll-dark) !important;
  margin-bottom: 14px !important;
}

#advance_filters .ad-filter-b .filter-items {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

#advance_filters .ad-filter-b .filter-term-item {
  padding: 6px 12px 6px 0 !important;
}

#advance_filters .ad-filter-b .filter-term-item label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
  margin: 0 !important;
  user-select: none !important;
}

#advance_filters .ad-filter-b .filter-term-item input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  accent-color: var(--ll-primary) !important;
  cursor: pointer !important;
}

#advance_filters .ad-filter-f {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 24px !important;
  background: #F8FAFC !important;
  border-top: 1px solid var(--ll-border) !important;
}

@keyframes llModalPop {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes llSlideUpMobile {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile & Tablet Responsiveness for Filter Bar */
@media (max-width: 991px) {
  .ll-map-top-bar {
    padding: 0 12px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    gap: 8px !important;
  }

  .map-form-wrapper {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding-right: 8px !important;
  }

  .bc_form_search_map {
    gap: 8px !important;
  }

  .ll-filter-chip {
    height: 36px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    gap: 6px !important;
  }

  .ll-view-mode-toggle .btn-mode {
    padding: 4px 8px !important;
    height: 28px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 768px) {

  /* Bottom sheet on mobile for Price popover */
  .ll-price-popover {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    border-bottom: none !important;
    box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.25) !important;
    z-index: 100020 !important;
    animation: llSlideUpMobile 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  #advance_filters {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 85vh !important;
    border-radius: 20px 20px 0 0 !important;
    animation: llSlideUpMobile 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
}

/* Main Half-Map Split Wrapper */
.ll-half-map-container {
  display: flex;
  flex: 1;
  height: calc(100vh - 140px);
  position: relative;
  overflow: hidden;
}

/* Left Listings Pane (58%) */
.ll-half-map-results {
  width: 58%;
  height: 100%;
  overflow-y: auto;
  padding: 24px 28px 80px;
  background-color: #F8FAFC;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.ll-half-map-results::-webkit-scrollbar {
  width: 6px;
}

.ll-half-map-results::-webkit-scrollbar-thumb {
  background-color: #CBD5E1;
  border-radius: 10px;
}

.ll-half-map-results .results-header {
  margin-bottom: 20px;
}

.ll-half-map-results .results-header .title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.ll-half-map-results .results-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ll-dark);
  margin: 0;
}

.ll-half-map-results .results-header p {
  color: var(--ll-text);
  font-size: 13px;
  margin: 4px 0 0;
}

/* 2-Columns Grid in Half-Map */
.ll-half-map-results .row {
  margin-left: -10px;
  margin-right: -10px;
}

.ll-half-map-results .col-xl-6,
.ll-half-map-results .col-lg-6,
.ll-half-map-results .col-md-6,
.ll-half-map-results .col-12 {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
}

/* Right Sticky Map Pane (42%) */
.ll-half-map-view {
  width: 42%;
  height: 100%;
  position: relative;
  background-color: #E2E8F0;
}

.ll-half-map-view #bc_results_map {
  width: 100%;
  height: 100%;
}

.ll-half-map-view .map-loading-overlay {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  padding: 8px 18px;
  border-radius: var(--ll-radius-pill);
  box-shadow: var(--ll-shadow-md);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ll-primary);
}

/* Custom Map Pins & Price Badges (Booking.com / Airbnb style) */
.leaflet-div-icon,
.ll-leaflet-price-pin {
  background: transparent !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

.ll-map-price-marker {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: -0.2px !important;
  padding: 6px 12px !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22) !important;
  border: 1.5px solid #E2E8F0 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  position: relative !important;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  transform: translateY(0) !important;
  user-select: none !important;
  line-height: 1 !important;
}

.ll-map-price-marker::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #FFFFFF;
  transition: border-top-color 0.2s ease;
}

.ll-map-price-marker:hover,
.ll-map-price-marker.active {
  background: var(--ll-primary) !important;
  color: #FFFFFF !important;
  transform: translateY(-4px) scale(1.15) !important;
  z-index: 9999 !important;
  box-shadow: 0 8px 24px rgba(0, 59, 149, 0.45) !important;
  border-color: var(--ll-primary) !important;
}

.ll-map-price-marker:hover::after,
.ll-map-price-marker.active::after {
  border-top-color: var(--ll-primary) !important;
}

/* Luxury Booking.com / Airbnb Cluster Badges */
.ll-map-cluster-marker {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #003580 0%, #0057b7 100%) !important;
  color: #FFFFFF !important;
  border: 2.5px solid #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(0, 53, 128, 0.45), 0 2px 6px rgba(0, 0, 0, 0.18) !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, background 0.2s ease !important;
}

/* Cluster Marker with From Price and Space Count (Capsule/Pill) */
.ll-map-cluster-marker.has-price {
  width: auto !important;
  height: 38px !important;
  padding: 0 8px 0 12px !important;
  border-radius: 20px !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

.ll-map-cluster-marker.has-price .cluster-price-wrap {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 3px !important;
  pointer-events: none !important;
  line-height: 1 !important;
}

.ll-map-cluster-marker.has-price .cluster-from-label {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  text-transform: lowercase !important;
  letter-spacing: -0.1px !important;
}

.ll-map-cluster-marker.has-price .cluster-price-val {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.3px !important;
}

.ll-map-cluster-marker.has-price .cluster-badge-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
  border-radius: 12px !important;
  padding: 2px 7px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  min-width: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12) !important;
  pointer-events: none !important;
}

.ll-map-cluster-marker.has-price:hover {
  transform: scale(1.12) !important;
  background: linear-gradient(135deg, #00224f 0%, #003b95 100%) !important;
  box-shadow: 0 8px 26px rgba(0, 53, 128, 0.65), 0 0 0 4px rgba(0, 108, 228, 0.3) !important;
}

.ll-map-cluster-marker.has-price:hover .cluster-badge-count {
  background: #FFFFFF !important;
  color: #003580 !important;
  border-color: #FFFFFF !important;
}

/* Fallback for circular cluster without price */
.ll-map-cluster-marker.no-price,
.ll-map-cluster-marker:not(.has-price) {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  letter-spacing: -0.3px !important;
  border: 3.5px solid #FFFFFF !important;
}

.ll-map-cluster-marker.no-price:hover,
.ll-map-cluster-marker:not(.has-price):hover {
  transform: scale(1.18) !important;
  background: linear-gradient(135deg, #00224f 0%, #003b95 100%) !important;
  box-shadow: 0 8px 26px rgba(0, 53, 128, 0.6), 0 0 0 4px rgba(0, 108, 228, 0.25) !important;
}

.ll-map-cluster-marker.no-price .cluster-badge-count,
.ll-map-cluster-marker:not(.has-price) .cluster-badge-count {
  pointer-events: none !important;
}

/* Mode Brillant & Coloré on property card when clicked from map */
.item-loop-wrap.card-active-highlight {
  border: 2.5px solid #006CE4 !important;
  box-shadow: 0 0 0 3px rgba(0, 108, 228, 0.4), 0 0 30px rgba(0, 108, 228, 0.65), 0 16px 36px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-5px) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  z-index: 25 !important;
  background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 45%) !important;
}

.item-loop-wrap.card-active-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #006CE4, #38BDF8, #F59E0B, #EC4899);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 108, 228, 0.5);
}

/* Luminous pulsating glow animation */
@keyframes cardLuminousPulse {
  0% {
    box-shadow: 0 0 0 2px rgba(0, 108, 228, 0.6), 0 0 18px rgba(0, 108, 228, 0.4), 0 12px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px) scale(1.01);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.6), 0 0 38px rgba(0, 108, 228, 0.8), 0 20px 42px rgba(0, 0, 0, 0.25);
    transform: translateY(-6px) scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 3px rgba(0, 108, 228, 0.4), 0 0 30px rgba(0, 108, 228, 0.65), 0 16px 36px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px) scale(1);
  }
}

.card-highlight-pulse {
  animation: cardLuminousPulse 1.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Floating Selected Badge on image */
.ll-badge-map-selected {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 15;
  background: linear-gradient(135deg, #006CE4, #0284C7);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.3px;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 108, 228, 0.55), 0 0 0 1.5px rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

/* Cluster Filter Notice Pill */
.ll-cluster-filter-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1.5px solid #93C5FD;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0, 108, 228, 0.08);
}

.ll-cluster-filter-notice .notice-info {
  font-size: 13.5px;
  color: #1E3A8A;
  display: flex;
  align-items: center;
}

.ll-cluster-filter-notice .btn-clear-cluster-filter {
  background: #FFFFFF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.ll-cluster-filter-notice .btn-clear-cluster-filter:hover {
  background: #1D4ED8;
  color: #FFFFFF;
  border-color: #1D4ED8;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.3);
}

.ll-gmap-marker-wrap {
  position: absolute !important;
  cursor: pointer !important;
  z-index: 50 !important;
  transition: z-index 0.15s ease !important;
  transform: translate(-50%, -100%) !important;
}

.ll-gmap-marker-wrap:hover,
.ll-gmap-marker-wrap.active,
.ll-gmap-marker-wrap:has(.active) {
  z-index: 99999 !important;
}

.ll-map-pin-img {
  width: auto !important;
  height: 36px !important;
  display: block !important;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.3)) !important;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.ll-gmap-marker-wrap:hover .ll-map-pin-img {
  transform: scale(1.15) !important;
}

/* Map Infobox Popup Styling (Compact & Luxury) */
.ll-luxury-popup .leaflet-popup-content-wrapper,
.leaflet-popup-content-wrapper,
.gm-style .gm-style-iw-c {
  border-radius: 14px !important;
  padding: 0 !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
  max-width: 240px !important;
}

.gm-style .gm-style-iw-d {
  overflow: hidden !important;
  padding: 0 !important;
  max-height: none !important;
}

.gm-style .gm-style-iw-tc::after {
  background: #FFFFFF !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
}

.gm-style .gm-style-iw-chr {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  z-index: 30 !important;
  pointer-events: none !important;
}

.gm-style button.gm-ui-hover-effect {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22) !important;
  color: #1E293B !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  z-index: 35 !important;
  opacity: 0.95 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.gm-style button.gm-ui-hover-effect:hover {
  background: #FFFFFF !important;
  transform: scale(1.1) !important;
}

.gm-style button.gm-ui-hover-effect>span {
  margin: 0 !important;
}

.ll-luxury-popup .leaflet-popup-content,
.leaflet-popup-content {
  margin: 0 !important;
  line-height: 1.3 !important;
  width: 230px !important;
}

.ll-luxury-popup .leaflet-popup-tip-container {
  width: 24px !important;
  height: 12px !important;
}

.ll-luxury-popup .leaflet-popup-tip {
  background: #FFFFFF !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
}

.ll-luxury-popup a.leaflet-popup-close-button {
  top: 6px !important;
  right: 6px !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22) !important;
  color: #1E293B !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  z-index: 15 !important;
  padding: 0 !important;
  line-height: 24px !important;
  transition: all 0.15s ease !important;
}

.ll-luxury-popup a.leaflet-popup-close-button:hover {
  background: #FFFFFF !important;
  color: #E11D48 !important;
  transform: scale(1.1) !important;
}

/* Leaflet Cluster Marker Pin */
.ll-leaflet-cluster-pin {
  background: transparent !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

/* Google Maps InfoWindow Custom Styling to prevent cut-off */
.gm-style .gm-style-iw-c {
  padding: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22) !important;
  max-width: 250px !important;
  min-width: 230px !important;
  background: #FFFFFF !important;
  border: none !important;
  overflow: visible !important;
  max-height: none !important;
  box-sizing: border-box !important;
}

.gm-style .gm-style-iw-d {
  overflow: visible !important;
  padding: 0 !important;
  max-height: none !important;
  height: auto !important;
  max-width: 250px !important;
}

.gm-style .gm-style-iw-d .ll-compact-infobox {
  width: 235px !important;
  margin: 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.gm-style .gm-style-iw-d .ll-compact-infobox .infobox-footer {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.gm-style .gm-style-iw-tc::after {
  background: #FFFFFF !important;
}



/* Compact Infobox Inside Map Popup */
.ll-compact-infobox,
.infobox-item {
  width: 230px !important;
  background: #FFFFFF !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  font-family: inherit !important;
  border: none !important;
  box-shadow: none !important;
}

.ll-compact-infobox:after,
.infobox-item:after {
  display: none !important;
}

.ll-compact-infobox .infobox-thumb-link {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.ll-compact-infobox .infobox-thumb {
  position: relative;
  width: 100%;
  height: 108px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #F1F5F9;
  transition: transform 0.3s ease;
}

.ll-compact-infobox:hover .infobox-thumb {
  transform: scale(1.03);
}

.ll-compact-infobox .infobox-badge-featured {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
}

.ll-compact-infobox .infobox-badge-featured i {
  color: #FBBF24;
  font-size: 9px;
}

.ll-compact-infobox .infobox-badge-rating {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
}

.ll-compact-infobox .infobox-badge-rating i {
  color: #F59E0B;
  font-size: 9.5px;
}

.ll-compact-infobox .infobox-body {
  padding: 8px 10px 10px 10px;
}

.ll-compact-infobox .infobox-location {
  font-size: 10.5px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.ll-compact-infobox .infobox-title {
  margin: 0 0 3px 0;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
}

.ll-compact-infobox .infobox-title a {
  color: #0F172A;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}

.ll-compact-infobox .infobox-title a:hover {
  color: var(--ll-primary);
}

.ll-compact-infobox .infobox-specs {
  font-size: 10.5px;
  color: #64748B;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

.ll-compact-infobox .infobox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px solid #F1F5F9;
}

.ll-compact-infobox .infobox-price {
  line-height: 1;
}

.ll-compact-infobox .price-val {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ll-primary);
}

.ll-compact-infobox .price-unit {
  font-size: 10px;
  color: #64748B;
  font-weight: 500;
}

.ll-compact-infobox .btn-infobox-view {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--ll-primary);
  color: #FFFFFF !important;
  border: none;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.ll-compact-infobox .btn-infobox-view:hover {
  background: #002B70;
  transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   7. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {

  /* Hide desktop sidebar */
  .locationlara-theme .bc-list-item-sidebar-col {
    display: none;
  }

  /* Full width listings */
  .locationlara-theme .bc-list-item-main-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* Show floating action bar */
  .ll-floating-mobile-bar {
    display: flex;
  }

  /* Normal mode topbar adjustments */
  .ll-space-results-topbar {
    padding: 12px 16px;
  }

  .ll-space-results-topbar .ll-view-mode-toggle {
    display: none;
    /* Replaced by bottom floating pill */
  }

  .ll-space-results-topbar .results-title {
    font-size: 16px;
  }

  /* Map Mode in Mobile */
  .ll-map-top-bar {
    padding: 10px 14px;
    gap: 8px;
  }

  .ll-half-map-container {
    height: calc(100vh - 120px);
    flex-direction: column;
  }

  /* On mobile map mode: Toggle between list or map view */
  .ll-half-map-results {
    width: 100% !important;
    height: 100% !important;
    padding: 14px 14px 90px !important;
    display: none;
    /* Controlled by JS switcher */
  }

  .ll-half-map-view {
    width: 100% !important;
    height: 100% !important;
    display: block;
    /* Default map view on mobile */
  }

  /* When mobile mode is set to 'list' */
  .ll-half-map-container.mobile-show-list .ll-half-map-results {
    display: block;
  }

  .ll-half-map-container.mobile-show-list .ll-half-map-view {
    display: none;
  }

  /* Mobile Floating Button on top of Map - Hidden per user request */
  .ll-mobile-view-list-float {
    display: none !important;
  }

  /* Hide floating bottom bar, topbar, chatbot & live translator when mobile filter drawer is open */
  body.drawer-open .ll-space-results-topbar,
  body.drawer-open .ll-floating-mobile-bar,
  body.drawer-open .db-chatbot-root,
  body.drawer-open #db-live-trans-badge {
    display: none !important;
  }

  .ll-mobile-filter-drawer .filter-header-title {
    display: none !important;
  }

  /* Bottom Card Popup on Mobile Map */
  .ll-mobile-map-card-popup {
    position: fixed;
    bottom: 84px;
    left: 14px;
    right: 14px;
    z-index: 1200;
    display: none;
    background: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--ll-border);
    overflow: hidden;
    animation: llSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .ll-mobile-map-card-popup.show {
    display: block;
  }

  .ll-mobile-map-card-popup .btn-close-popup {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #FFFFFF;
    border: none;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
  }

  .ll-mobile-map-card-popup .mobile-popup-inner {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 12px;
  }

  .ll-mobile-map-card-popup .popup-thumb {
    width: 95px;
    height: 85px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    position: relative;
  }

  .ll-mobile-map-card-popup .popup-info {
    flex: 1;
    min-width: 0;
  }

  .ll-mobile-map-card-popup .popup-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--ll-dark);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ll-mobile-map-card-popup .popup-title a {
    color: inherit;
    text-decoration: none;
  }

  .ll-mobile-map-card-popup .popup-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--ll-primary);
    margin-bottom: 6px;
  }

  .ll-mobile-map-card-popup .popup-actions a {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--ll-radius-pill);
    background: var(--ll-primary);
    color: #FFFFFF !important;
    text-decoration: none;
  }
}

/* Mobile Sticky Filter Bar (Normal Mode) */
.ll-mobile-sticky-filter-bar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 95;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-bottom: 1px solid var(--ll-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 34, 79, 0.06);
}

.ll-mobile-sticky-filter-bar .mobile-sticky-filter-btn,
.ll-mobile-sticky-filter-bar .mobile-sticky-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ll-dark);
  background: #F8FAFC;
  border: 1px solid var(--ll-border);
  border-radius: var(--ll-radius-pill);
  padding: 8px 18px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  flex: 1;
  justify-content: center;
}

.ll-mobile-sticky-filter-bar .mobile-sticky-filter-btn:active,
.ll-mobile-sticky-filter-bar .mobile-sticky-map-btn:active {
  background: #EFF6FF;
  border-color: var(--ll-primary);
  color: var(--ll-primary);
}

.ll-mobile-sticky-filter-bar .divider-v {
  width: 1px;
  height: 24px;
  background: var(--ll-border);
}

/* Permanently Suppress 'Show on the map' legacy links */
.bc-form-order .item:not(.orderby),
.bc-form-order a[href*="_layout=map"],
.bc_search_space .bc-form-order a {
  display: none !important;
}

.bc-form-order .item.orderby {
  display: flex !important;
}

@media (max-width: 575.98px) {
  .locationlara-theme .bc_search_space .bc_banner {
    /* padding: 32px 0 28px !important; */
    padding: 10px 0 10px !important;
  }

  .locationlara-theme .bc_search_space .bc_banner h1 {
    font-size: 24px !important;
  }

  .ll-space-results-topbar .results-meta {
    width: 100%;
  }

  .ll-space-results-topbar .results-actions {
    width: 100%;
    justify-content: space-between;
  }

  .ll-floating-mobile-bar {
    bottom: 16px;
    padding: 4px 6px;
  }

  .ll-floating-mobile-bar .ll-float-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   8. ADVANCE FILTERS POPUP / MODAL (MAP MODE & NORMAL)
   -------------------------------------------------------------------------- */
#advance_filters {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  max-width: 780px !important;
  width: calc(100% - 32px) !important;
  max-height: 85vh !important;
  background: #FFFFFF !important;
  border: 1px solid var(--ll-border) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
  padding: 24px 28px !important;
  z-index: 100005 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-y: auto !important;
  animation: llModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#advance_filters.d-none {
  display: none !important;
}

#advance_filters_backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 100000 !important;
  transition: opacity 0.2s ease !important;
}

#advance_filters_backdrop.d-none {
  display: none !important;
}

#advance_filters .ad-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--ll-border);
}

#advance_filters .ad-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ll-dark);
  margin: 0;
}

#advance_filters .btn-close-advance {
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ll-dark);
  transition: background-color 0.15s ease;
}

#advance_filters .btn-close-advance:hover {
  background: #E2E8F0;
}

#advance_filters .ad-filter-b {
  /* margin-bottom: 20px; */
}

#advance_filters .ad-filter-b .filter-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ll-dark);
  margin-bottom: 10px;
  margin-top: 14px;
}

#advance_filters .ad-filter-b ul.filter-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

#advance_filters .filter-term-item {
  padding: 0;
}

#advance_filters .filter-term-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #F8FAFC;
  border: 1px solid var(--ll-border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  margin-bottom: 0;
  transition: all 0.15s ease;
}

#advance_filters .filter-term-item label:hover {
  background: #EFF6FF;
  border-color: #93C5FD;
  color: var(--ll-primary);
}

#advance_filters .filter-term-item input[type="checkbox"] {
  accent-color: var(--ll-primary);
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
}

#advance_filters .ad-filter-f {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ll-border);
  padding-top: 16px;
}

#advance_filters .ad-filter-f .btn-apply-advances {
  background: var(--ll-primary) !important;
  color: #FFFFFF !important;
  font-weight: 800;
  border-radius: var(--ll-radius-pill);
  padding: 9px 24px;
  font-size: 13px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: var(--ll-shadow-md);
  transition: all 0.2s ease;
}

#advance_filters .ad-filter-f .btn-apply-advances:hover {
  background: var(--ll-primary-dark) !important;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   9. INTERACTIVE MAP CONTROLS & FLOATING BUTTONS
   -------------------------------------------------------------------------- */
.ll-map-redo-search,
.btn-redo-search {
  display: none !important;
}

.ll-map-custom-controls {
  display: none !important;
}

.ll-map-control-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14) !important;
  color: #334155 !important;
  font-size: 15px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.ll-map-control-btn:hover {
  background: var(--ll-primary) !important;
  color: #FFFFFF !important;
  border-color: var(--ll-primary) !important;
  transform: scale(1.08) !important;
}

/* Hide View Mode Switcher on Mobile */
@media (max-width: 767.98px) {
  .ll-view-mode-toggle {
    display: none !important;
  }
}




/* ============================================================
   MOBILE SEARCH FORM COLLAPSE — Booking.com style
   ============================================================ */

/* Summary bar (visible on mobile, hidden on desktop) */
.ll-mobile-search-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  transition: box-shadow .2s;
  margin-bottom: 0;
}

.ll-mobile-search-summary:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .10);
}

.ll-mobile-search-summary .summary-icon {
  width: 36px;
  height: 36px;
  background: #4f46e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

.ll-mobile-search-summary .summary-content {
  flex: 1;
  min-width: 0;
}

.ll-mobile-search-summary .summary-main {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ll-mobile-search-summary .summary-sub {
  font-size: 12px;
  color: #64748b;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ll-mobile-search-summary .summary-edit-btn {
  width: 34px;
  height: 34px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
  font-size: 15px;
  flex-shrink: 0;
  transition: all .2s;
}

.ll-mobile-search-summary:hover .summary-edit-btn {
  background: #4f46e5;
  color: #fff;
  border-color: #4f46e5;
}

/* Mobile: form hidden by default */
@media (max-width: 991.98px) {
  #llFusionFormCollapse,
  #llFusionFormCollapseHome {
    display: none;
    margin-top: 10px;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .10);
    animation: slideDown .25s ease;
  }

  #llFusionFormCollapse.ll-form-open,
  #llFusionFormCollapseHome.ll-form-open {
    display: block;
  }

  /* When modal search is active, strictly disable legacy inline collapse on mobile */
  .bc_form_search #llFusionFormCollapse,
  .bc_form_search #llFusionFormCollapse.ll-form-open,
  body:has(#llMobileSearchModal) #llFusionFormCollapse,
  body:has(#llMobileSearchModal) #llFusionFormCollapse.ll-form-open {
    display: none !important;
  }

  .ll-model-fusion-container {
    padding: 0;
  }
}

/* Desktop: always show form, hide summary bar */
@media (min-width: 992px) {
  .ll-mobile-search-summary,
  #llMobileSearchSummaryHome {
    display: none !important;
  }

  #llFusionFormCollapse,
  #llFusionFormCollapseHome {
    display: block !important;
  }

  .ll-mobile-form-close {
    display: none !important;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   DESIGN IMPROVEMENTS v2 — Space Search & Map
   ============================================================ */

/* ——————————————————————————
   #1  CARDS COMPACT REDESIGN & MULTI-STYLES
   —————————————————————————— */

/* Base card compaction - Eliminating excess whitespace across all space cards */
.locationlara-theme .item-loop.item-space .thumb-image,
.item-loop.item-space .thumb-image {
  position: relative !important;
  width: 100% !important;
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  overflow: hidden !important;
  border-radius: 12px 12px 0 0 !important;
}

.item-loop.item-space {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  border: 1px solid #f1f5f9 !important;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  position: relative;
}

.item-loop.item-space:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .11);
  transform: translateY(-2px);
}

.item-loop.item-space .thumb-image img,
.item-loop.item-space .ll-card-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.item-loop.item-space:hover .ll-card-slide-img.active {
  transform: scale(1.04);
}

/* Price overlay badge on image */
.item-loop.item-space .ll-price-overlay-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, .75);
  color: #fff;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(4px);
  z-index: 3;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.item-loop.item-space .ll-price-overlay-badge .ll-badge-discount-overlay {
  background: #ef4444;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.2;
  margin-left: 3px;
}

/* Wishlist heart */
.item-loop.item-space .service-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .90);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .10);
  transition: transform .2s;
  border: none;
}

.item-loop.item-space .service-wishlist:hover {
  transform: scale(1.15);
}

.item-loop.item-space .service-wishlist .fa-heart {
  font-size: 14px;
  color: #64748b;
  transition: color .2s;
}

.item-loop.item-space .service-wishlist.active .fa-heart,
.item-loop.item-space .service-wishlist:hover .fa-heart {
  color: #ef4444;
}

/* Card body & compact spacing */
.item-loop.item-space .ll-card-body {
  padding: 10px 12px !important;
}

.item-loop.item-space .location {
  font-size: 12px !important;
  font-weight: 500;
  color: #64748b;
}

.item-loop.item-space .ll-card-location-row {
  margin-bottom: 4px !important;
}

.locationlara-theme .item-loop.item-space .item-title,
.item-loop.item-space .item-title {
  margin: 3px 0 5px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  min-height: unset !important;
  max-height: 38px !important;
}

.item-loop.item-space .item-title a {
  font-size: 14px !important;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-loop.item-space .item-title a:hover {
  color: #4f46e5;
}

.item-loop.item-space .ll-card-specs {
  margin-bottom: 6px !important;
  font-size: 11.5px !important;
  gap: 10px !important;
  color: #64748b;
}

.item-loop.item-space .ll-card-badges {
  margin-bottom: 6px !important;
  gap: 4px !important;
}

.item-loop.item-space .ll-badge-free-cancel {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  color: #047857 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  padding: 2.5px 8px !important;
  border-radius: 20px !important;
  line-height: 1.2 !important;
}

.item-loop.item-space .ll-badge-booking-type,
.item-loop.item-space .ll-instant-badge,
.locationlara-theme .item-loop.item-space .ll-badge-booking-type,
.locationlara-theme .item-loop.item-space .ll-badge-instant {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  color: #4338ca !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  background: #eef2ff !important;
  border: 1px solid #c7d2fe !important;
  padding: 2.5px 8px !important;
  border-radius: 20px !important;
  width: fit-content !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.item-loop.item-space .ll-badge-booking-type i,
.item-loop.item-space .ll-instant-badge i,
.locationlara-theme .item-loop.item-space .ll-badge-booking-type i,
.locationlara-theme .item-loop.item-space .ll-badge-instant i {
  color: #4f46e5 !important;
  font-size: 10.5px !important;
}

.item-loop.item-space .ll-card-footer-group {
  margin-top: auto !important;
  display: flex !important;
  flex-direction: column !important;
}

.locationlara-theme .item-loop.item-space .ll-review-score,
.item-loop.item-space .ll-review-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 0 4px !important;
  padding-top: 6px !important;
  border-top: 1px dashed #e2e8f0;
}

.item-loop.item-space .ll-review-score .score-label {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
}

.item-loop.item-space .ll-review-score .score-count {
  font-size: 10.5px;
  color: #64748b;
}

.item-loop.item-space .ll-review-score .score-badge {
  background: #4f46e5;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 2.5px 7px;
  border-radius: 6px;
}

.locationlara-theme .item-loop.item-space .ll-price-wrapper,
.item-loop.item-space .ll-price-wrapper {
  border-top: 1px solid #f1f5f9;
  padding-top: 6px !important;
  margin-top: 4px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.item-loop.item-space .ll-price-block .price-unit {
  font-size: 10px !important;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .04em;
  display: block;
  line-height: 1.1;
  margin-bottom: 2px;
}

.item-loop.item-space .ll-price-discount-row {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-bottom: 2px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

.item-loop.item-space .price-old {
  text-decoration: line-through !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #94a3b8 !important;
  white-space: nowrap !important;
  line-height: 1.1 !important;
}

.item-loop.item-space .price-old del {
  text-decoration: line-through !important;
  white-space: nowrap !important;
}

.item-loop.item-space .price-amount {
  font-size: 16px !important;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap !important;
}

.item-loop.item-space .price-current {
  white-space: nowrap !important;
}

.item-loop.item-space .price-discount-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.2;
  white-space: nowrap !important;
  display: inline-block !important;
}

.item-loop.item-space .ll-price-per-night-text {
  display: inline !important;
  font-size: 11px !important;
  white-space: nowrap !important;
  color: #64748B !important;
  font-weight: 500 !important;
}

.item-loop.item-space .btn-view-deal {
  background: #4f46e5;
  color: #fff !important;
  border-radius: 8px;
  padding: 6px 12px !important;
  font-size: 11.5px !important;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.item-loop.item-space .btn-view-deal:hover {
  background: #3730a3;
  color: #fff !important;
}

.col-xl-3 .item-loop.item-space .btn-view-deal,
.col-lg-3 .item-loop.item-space .btn-view-deal {
  padding: 5px 8px !important;
  font-size: 10.5px !important;
  border-radius: 6px !important;
}

.col-xl-3 .item-loop.item-space .price-amount,
.col-lg-3 .item-loop.item-space .price-amount {
  font-size: 15px !important;
  gap: 2px !important;
}

.item-loop.item-space .ll-minimal-rating {
  display: none;
}

/* ==========================================================
   STYLE 1: LUXE MODERNE COMPACT (modern_luxury - Défaut)
   ========================================================== */
.item-loop.item-space.ll-card-style-modern_luxury {
  border-radius: 14px;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.item-loop.item-space.ll-card-style-modern_luxury:hover {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
  border-color: #cbd5e1 !important;
}

.locationlara-theme .item-loop.item-space.ll-card-style-modern_luxury .thumb-image,
.item-loop.item-space.ll-card-style-modern_luxury .thumb-image {
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
}

.item-loop.item-space.ll-card-style-modern_luxury .ll-card-body {
  padding: 10px 12px !important;
}

/* ==========================================================
   STYLE 2: MINIMALISTE ÉPURÉ AIRBNB (minimal_clean)
   ========================================================== */
.item-loop.item-space.ll-card-style-minimal_clean {
  border-radius: 14px;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  background: #ffffff;
}

.item-loop.item-space.ll-card-style-minimal_clean:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
  border-color: #e2e8f0 !important;
}

.locationlara-theme .item-loop.item-space.ll-card-style-minimal_clean .thumb-image,
.item-loop.item-space.ll-card-style-minimal_clean .thumb-image {
  height: 195px !important;
  min-height: 195px !important;
  max-height: 195px !important;
  border-radius: 12px 12px 0 0 !important;
}

.item-loop.item-space.ll-card-style-minimal_clean .ll-card-body {
  padding: 9px 11px !important;
}

/* Hide bulky stay-type badge and show sleek rating inline in location row */
.item-loop.item-space.ll-card-style-minimal_clean .ll-stay-type-badge {
  display: none !important;
}

.item-loop.item-space.ll-card-style-minimal_clean .ll-minimal-rating {
  display: inline-flex !important;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  white-space: nowrap;
}

.item-loop.item-space.ll-card-style-minimal_clean .location {
  font-weight: 600 !important;
  color: #0f172a !important;
  font-size: 13px !important;
}

.item-loop.item-space.ll-card-style-minimal_clean .item-title {
  margin: 2px 0 4px !important;
}

.item-loop.item-space.ll-card-style-minimal_clean .item-title a {
  font-weight: 500 !important;
  font-size: 13.5px !important;
  color: #475569 !important;
}

.item-loop.item-space.ll-card-style-minimal_clean .item-title a:hover {
  color: #0f172a !important;
}

.item-loop.item-space.ll-card-style-minimal_clean .ll-card-specs {
  font-size: 11px !important;
  color: #94a3b8 !important;
  margin-bottom: 5px !important;
  gap: 8px !important;
}

.item-loop.item-space.ll-card-style-minimal_clean .ll-card-badges {
  margin-bottom: 6px !important;
}

.item-loop.item-space.ll-card-style-minimal_clean .ll-badge-free-cancel,
.item-loop.item-space.ll-card-style-minimal_clean .ll-badge-booking-type {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  font-size: 10.5px !important;
  padding: 2px 7px !important;
}

/* Hide big review box in Airbnb style since rating is directly under image */
.item-loop.item-space.ll-card-style-minimal_clean .ll-review-score {
  display: none !important;
}

/* Minimalist price footer */
.item-loop.item-space.ll-card-style-minimal_clean .ll-price-wrapper {
  border-top: none !important;
  padding-top: 4px !important;
  margin-top: 4px !important;
  align-items: center;
}

.item-loop.item-space.ll-card-style-minimal_clean .price-unit {
  display: none !important;
}

.item-loop.item-space.ll-card-style-minimal_clean .price-amount {
  font-size: 15px !important;
  color: #0f172a !important;
  font-weight: 700 !important;
}

.item-loop.item-space.ll-card-style-minimal_clean .ll-price-per-night-text {
  display: inline !important;
  color: #64748b !important;
  font-weight: 400 !important;
}

.item-loop.item-space.ll-card-style-minimal_clean .btn-view-deal {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 3.5px 9px !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
}

.item-loop.item-space.ll-card-style-minimal_clean .btn-view-deal:hover {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
}

/* ==========================================================
   STYLE 3: HAUTE DENSITÉ BOOKING.COM (dense_booking)
   ========================================================== */
.item-loop.item-space.ll-card-style-dense_booking {
  border-radius: 10px;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.item-loop.item-space.ll-card-style-dense_booking:hover {
  box-shadow: 0 6px 18px rgba(0, 59, 149, 0.12);
  transform: translateY(-2px);
  border-color: #93c5fd !important;
}

.locationlara-theme .item-loop.item-space.ll-card-style-dense_booking .thumb-image,
.item-loop.item-space.ll-card-style-dense_booking .thumb-image {
  height: 180px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  border-radius: 9px 9px 0 0 !important;
}

.item-loop.item-space.ll-card-style-dense_booking .ll-card-body {
  padding: 7px 9px !important;
}

.item-loop.item-space.ll-card-style-dense_booking .location {
  font-size: 11px !important;
}

.item-loop.item-space.ll-card-style-dense_booking .ll-stay-type-badge {
  padding: 1px 5px !important;
  font-size: 10px !important;
}

.item-loop.item-space.ll-card-style-dense_booking .item-title {
  margin: 2px 0 3px !important;
  max-height: 20px !important;
}

.item-loop.item-space.ll-card-style-dense_booking .item-title a {
  font-size: 12.5px !important;
  font-weight: 700;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  display: block !important;
}

.item-loop.item-space.ll-card-style-dense_booking .ll-card-specs {
  font-size: 10px !important;
  gap: 7px !important;
  margin-bottom: 3px !important;
}

.item-loop.item-space.ll-card-style-dense_booking .ll-card-badges {
  margin-bottom: 3px !important;
  gap: 3px !important;
}

.item-loop.item-space.ll-card-style-dense_booking .ll-badge-free-cancel,
.item-loop.item-space.ll-card-style-dense_booking .ll-badge-booking-type {
  font-size: 9.5px !important;
  padding: 1.5px 5px !important;
  border-radius: 4px !important;
}

/* Compact 1-line review score */
.item-loop.item-space.ll-card-style-dense_booking .ll-review-score {
  border: none !important;
  padding: 1px 0 !important;
  margin: 2px 0 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
}

.item-loop.item-space.ll-card-style-dense_booking .ll-review-score .score-badge {
  background: #003b95 !important;
  color: #fff !important;
  font-size: 10.5px !important;
  padding: 1px 4.5px !important;
  border-radius: 4px 4px 4px 0 !important;
  order: 1;
}

.item-loop.item-space.ll-card-style-dense_booking .ll-review-score .score-text {
  order: 2;
  flex-direction: row !important;
  gap: 4px !important;
  align-items: center !important;
}

.item-loop.item-space.ll-card-style-dense_booking .ll-review-score .score-label {
  font-size: 10.5px !important;
}

.item-loop.item-space.ll-card-style-dense_booking .ll-review-score .score-count {
  font-size: 9.5px !important;
}

/* Compact price footer */
.item-loop.item-space.ll-card-style-dense_booking .ll-price-wrapper {
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 4px !important;
  margin-top: 4px !important;
}

.item-loop.item-space.ll-card-style-dense_booking .price-unit {
  display: none !important;
}

.item-loop.item-space.ll-card-style-dense_booking .price-amount {
  font-size: 14px !important;
}

.item-loop.item-space.ll-card-style-dense_booking .btn-view-deal {
  background: #003b95 !important;
  padding: 3.5px 8px !important;
  font-size: 10.5px !important;
  border-radius: 5px !important;
}

.item-loop.item-space.ll-card-style-dense_booking .btn-view-deal:hover {
  background: #00224f !important;
}

/* ——————————————————————————
   #2  STICKY topbar tri/filtres on scroll
   —————————————————————————— */
.ll-space-results-topbar {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 20px 0;
  background: #fff;
  border: 1px solid var(--ll-border, #e2e8f0);
  border-radius: 16px;
  padding: 14px 22px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
  overflow: visible !important;
}

@media (min-width: 992px) {
  .ll-space-results-topbar {
    position: sticky;
    top: calc(var(--ll-header-height, 65px) + 10px);
    z-index: 95;
  }
}

.ll-space-results-topbar.scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.12) !important;
  border-color: #cbd5e1 !important;
}

@media (max-width: 991.98px) {
  .ll-space-results-topbar {
    position: relative !important;
    top: auto !important;
    margin: 0 0 16px 0 !important;
    padding: 12px 16px !important;
  }
}

/* ——————————————————————————
   #3  SKELETON loading
   —————————————————————————— */
.ll-skeleton-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
  margin-bottom: 24px;
}

.ll-skeleton-img {
  aspect-ratio: 4/3;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s infinite;
}

.ll-skeleton-body {
  padding: 14px;
}

.ll-skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s infinite;
  margin-bottom: 10px;
}

.ll-skeleton-line.w-70 {
  width: 70%;
}

.ll-skeleton-line.w-50 {
  width: 50%;
}

.ll-skeleton-line.w-40 {
  width: 40%;
}

@keyframes skeletonShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ——————————————————————————
   #4  FILTER SIDEBAR redesign
   —————————————————————————— */
.bc_filter .filter-header-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 10px;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 8px;
}

.bc_filter .filter-header-title h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.bc_filter .btn-clear {
  font-size: 12px;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: underline;
}

.bc_filter .g-filter-item {
  border-bottom: 1px solid #f1f5f9;
  padding: 12px 0;
}

.bc_filter .item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.bc_filter .item-title h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.bc_filter .item-title .fa {
  color: #94a3b8;
  transition: transform .2s;
  font-size: 12px;
}

.bc_filter .item-title.e-close .fa {
  transform: rotate(180deg);
}

/* Star rating and filter checkboxes */
.bc_filter .bc-checkbox label {
  display: flex !important;
  align-items: center !important;
  cursor: pointer !important;
  padding: 5px 0 !important;
  padding-left: 0 !important;
  font-size: 13.5px !important;
  color: #475569 !important;
  font-weight: 500 !important;
  border-radius: 6px !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  position: relative !important;
  transition: color .15s !important;
  user-select: none !important;
}

.bc_filter .bc-checkbox label:hover {
  color: var(--ll-primary, #1e5dd9) !important;
}

.bc_filter .bc-checkbox input[type="checkbox"],
.bc_filter .bc-checkbox input {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
}

.bc_filter .bc-checkbox .checkmark {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0 !important;
  background-color: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 5px !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  margin: 0 10px 0 0 !important;
}

.bc_filter .bc-checkbox:hover input ~ .checkmark {
  border-color: var(--ll-primary, #1e5dd9) !important;
}

.bc_filter .bc-checkbox input:checked ~ .checkmark {
  background-color: var(--ll-primary, #1e5dd9) !important;
  border-color: var(--ll-primary, #1e5dd9) !important;
}

.bc_filter .bc-checkbox .checkmark:after {
  content: "" !important;
  position: absolute !important;
  display: none !important;
  left: 5px !important;
  top: 1.5px !important;
  width: 5px !important;
  height: 9px !important;
  border: solid white !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
  box-sizing: border-box !important;
}

.bc_filter .bc-checkbox input:checked ~ .checkmark:after {
  display: block !important;
}

.bc_filter .bc-checkbox i.fa-star {
  color: #FFB700 !important;
  font-size: 12px !important;
  margin-right: 2px !important;
}

[dir="rtl"] .bc_filter .bc-checkbox .checkmark,
body.is-rtl .bc_filter .bc-checkbox .checkmark {
  margin: 0 0 0 10px !important;
}

/* ——————————————————————————
   #5  BANNER compact on mobile
   —————————————————————————— */
@media (max-width: 767.98px) {
  .bc_search_space .bc_banner {
    min-height: 90px !important;
    padding: 16px 0 !important;
  }

  .bc_search_space .bc_banner h1 {
    font-size: 18px !important;
    margin-bottom: 4px !important;
  }

  .bc_search_space .bc_banner .banner-desc {
    display: none !important;
  }

  .bc_search_space .bc_banner .banner-tag {
    font-size: 11px !important;
  }
}

/* ——————————————————————————
   #6  QUICK FILTER CHIPS horizontal bar
   —————————————————————————— */
.ll-quick-filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 6px;
  margin-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ll-quick-filter-chips::-webkit-scrollbar {
  display: none;
}

.ll-quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: all .18s;
  flex-shrink: 0;
}

.ll-quick-chip:hover,
.ll-quick-chip.active {
  border-color: #4f46e5;
  background: #ede9fe;
  color: #4f46e5;
  text-decoration: none;
}

/* ——————————————————————————
   #7  MAP MARKERS prix animés
   —————————————————————————— */
.bc-marker-price-wrap {
  position: relative;
  cursor: pointer;
}

.bc-price-marker {
  background: #fff;
  border: 2px solid #4f46e5;
  color: #4f46e5;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  white-space: nowrap;
  transition: all .2s;
  position: relative;
  z-index: 1;
}

.bc-price-marker::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #4f46e5;
  border-bottom: none;
}

.bc-price-marker:hover,
.bc-price-marker.hovered {
  background: #4f46e5;
  color: #fff;
  transform: scale(1.12);
  z-index: 99;
}

.bc-price-marker.hovered::after {
  border-top-color: #3730a3;
}

/* Pulse animation on hover */
@keyframes markerPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, .45);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(79, 70, 229, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
  }
}

.bc-price-marker.hovered {
  animation: markerPulse .6s ease;
}

/* ——————————————————————————
   #8  MAP panel resizable handle
   —————————————————————————— */
.ll-half-map-container {
  position: relative;
}

.ll-map-resize-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8px;
  cursor: col-resize;
  z-index: 50;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.ll-map-resize-handle:hover,
.ll-map-resize-handle.dragging {
  background: rgba(79, 70, 229, .12);
}

.ll-map-resize-handle::before {
  content: '';
  width: 3px;
  height: 40px;
  background: #cbd5e1;
  border-radius: 3px;
  transition: background .2s;
}

.ll-map-resize-handle:hover::before,
.ll-map-resize-handle.dragging::before {
  background: #4f46e5;
}

@media (max-width: 991.98px) {
  .ll-map-resize-handle {
    display: none;
  }
}

/* ——————————————————————————
   #9  MINI-CARD TOOLTIP on map marker hover
   —————————————————————————— */
.ll-marker-tooltip {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
  overflow: hidden;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  transform: translateX(-50%) translateY(4px);
}

.bc-marker-price-wrap:hover .ll-marker-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ll-marker-tooltip img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.ll-marker-tooltip-body {
  padding: 8px 10px;
}

.ll-marker-tooltip-title {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ll-marker-tooltip-price {
  font-size: 13px;
  font-weight: 800;
  color: #4f46e5;
  margin-top: 2px;
}

.ll-marker-tooltip-stars {
  font-size: 10px;
  color: #f59e0b;
}

/* ——————————————————————————
   #10  SEARCH IN THIS AREA button
   —————————————————————————— */
.ll-map-redo-search {
  display: none !important;
}

/* ============================================================
   FIXES v3 — Sort by / Sidebar / Mobile topbar / Sticky search
   ============================================================ */

/* ── FIX: Sort by dropdown — ensure visible above sticky parent ── */
.ll-space-results-topbar {
  overflow: visible !important;
  z-index: 110 !important;
}

.ll-sort-wrapper {
  position: relative;
}

.ll-sort-wrapper .dropdown {
  position: static;
}

.bc-form-order .item.orderby {
  position: relative;
  overflow: visible !important;
}

.bc-form-order .dropdown-menu {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: auto !important;
  right: 0 !important;
  z-index: 9999 !important;
  display: none;
  min-width: 200px !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .14) !important;
  padding: 6px !important;
  background: #fff !important;
}

.bc-form-order .dropdown-menu.show {
  display: block !important;
}

.bc-form-order .dropdown-item {
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  padding: 8px 14px !important;
  cursor: pointer !important;
  transition: background .15s !important;
}

.bc-form-order .dropdown-item:hover,
.bc-form-order .dropdown-item.active {
  background: #eff6ff !important;
  color: #4f46e5 !important;
}

/* ── FIX: Sidebar bc_filter — full redesign without prefix conflicts ── */
.bc_filter {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.bc_filter .filter-header-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 2px solid #f1f5f9;
}

.bc_filter .filter-header-title h4 {
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.bc_filter .g-filter-item {
  border-bottom: 1px solid #f1f5f9;
  padding: 12px 0;
}

.bc_filter .g-filter-item:last-child {
  border-bottom: none;
}

.bc_filter .item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  padding: 2px 0;
}

.bc_filter .item-title h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.bc_filter .item-title .fa-angle-up {
  font-size: 12px;
  color: #94a3b8;
  transition: transform .2s;
}

.bc_filter .item-title.e-close .fa-angle-up {
  transform: rotate(180deg);
}

.bc_filter .item-content {
  padding-top: 10px;
}



.bc_filter .btn-clear {
  font-size: 12px;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
}

.bc_filter .btn-clear:hover {
  text-decoration: underline;
}

/* price range */
.bc_filter .bc-filter-price {
  padding-top: 8px;
}

.bc_filter .btn-apply-price-range {
  margin-top: 10px !important;
  font-size: 12px !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  background: #4f46e5 !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: none !important;
  cursor: pointer !important;
}

/* ── Mobile search backdrop overlay ── */
.ll-mobile-search-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  z-index: 990;
  transition: opacity 0.25s ease;
  pointer-events: auto;
}
.ll-mobile-search-backdrop.active {
  display: block;
}

/* ── FIX: Mobile sticky search bar & placement ── */
@media (max-width: 991.98px) {
  .locationlara-theme .bc_search_space .bc_banner {
    padding: 22px 0 16px !important;
  }

  .locationlara-theme .bc_search_space .bc_form_search,
  .locationlara-theme .bc_search_space .bc_form_search.is-autocomplete-open,
  .locationlara-theme .bc_search_space .bc_form_search.has-dropdown-open,
  .bc_search_space .bc_form_search,
  .bc_search_space .bc_form_search.is-autocomplete-open,
  .bc_search_space .bc_form_search.has-dropdown-open,
  .bc_form_search,
  .bc_form_search.is-autocomplete-open,
  .bc_form_search.has-dropdown-open {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: var(--ll-header-height, 65px) !important;
    z-index: 996 !important;
    padding: 0 !important;
    margin-top: 10px !important;
    margin-bottom: 14px !important;
    background: transparent !important;
    transition: background 0.2s ease, box-shadow 0.2s ease;
  }

  .locationlara-theme .bc_search_space .search-model-box,
  .bc_search_space .search-model-box,
  .search-model-box {
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: auto !important;
  }

  .locationlara-theme .bc_search_space .bc_form_search > .container,
  .bc_search_space .bc_form_search > .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .locationlara-theme .bc_search_space .bc_form_search .g-form-control,
  .bc_form_search .ll-form-search-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Scrolled sticky state for mobile search */
  .locationlara-theme .bc_search_space .bc_form_search.is-sticky,
  .bc_form_search.is-sticky {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08) !important;
    padding: 6px 0 !important;
  }

  /* Mobile search summary bar styling */
  .ll-mobile-search-summary {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
    border-radius: 99px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 0 !important;
  }

  .ll-mobile-search-summary:hover,
  .ll-mobile-search-summary:active {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12) !important;
    border-color: #cbd5e1 !important;
  }

  .ll-mobile-search-summary.is-expanded {
    border-radius: 16px 16px 0 0 !important;
    border-bottom-color: transparent !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12) !important;
  }

  .ll-mobile-search-summary .summary-edit-btn {
    cursor: pointer !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
  }

  .ll-mobile-search-summary.is-expanded .summary-edit-btn {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    transform: rotate(90deg);
  }

  .ll-mobile-search-summary.is-expanded .summary-edit-btn i {
    font-size: 15px !important;
    font-weight: 700 !important;
  }

  /* when form is open, allow overflow for datepickers and seamlessly connect to summary */
  .bc_form_search .ll-model-fusion-tab-content {
    max-height: 80vh;
    overflow-y: auto;
    background: #ffffff !important;
  }

  .bc_form_search .ll-model-fusion-tab-content.ll-form-open {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 14px !important;
    border-bottom-right-radius: 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-top: none !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14) !important;
  }

  /* ── Cacher les icônes présentes sur g-field-search en mobile ── */
  .g-field-search .field-icon,
  .g-field-search i.field-icon,
  .bc_wrap .bc_form .g-field-search .field-icon,
  .bc_form .g-field-search .field-icon,
  .g-field-search .form-group > i.fa,
  .g-field-search .form-group > [class*="icofont-"],
  .g-field-search .form-group > [class*="fa-"] {
    display: none !important;
  }

  /* Réajustement de l'alignement sans le décalage de l'icône */
  .bc_wrap .bc_form .g-field-search .form-content,
  .bc_form .g-field-search .form-content,
  .g-field-search .form-content {
    padding-left: 0 !important;
  }

  .bc_wrap .bc_form .g-field-search .form-group,
  .g-field-search .form-group {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ── FIX: Mobile topbar — compact single row & responsive ── */
@media (max-width: 767.98px) {
  .ll-space-results-topbar {
    padding: 10px 14px !important;
    border-radius: 12px !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .ll-space-results-topbar .results-meta {
    width: 100%;
  }

  .ll-space-results-topbar .meta-title-line {
    gap: 8px;
    align-items: center;
  }

  .ll-space-results-topbar .results-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
  }

  .ll-space-results-topbar .results-subtitle {
    margin-left: 12px !important;
    font-size: 12px !important;
    margin-top: 2px !important;
    color: #64748b !important;
  }

  .ll-space-results-topbar .results-actions {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
  }

  .ll-sort-wrapper {
    flex: 1 1 auto;
    min-width: 0;
  }

  .ll-sort-wrapper .sort-prefix-label {
    display: none;
  }

  .bc-form-order {
    width: 100%;
  }

  .bc-form-order .item.orderby {
    width: 100%;
    max-width: 100%;
    padding: 6px 12px !important;
    font-size: 12px !important;
    justify-content: space-between;
  }

  .bc-form-order .item.orderby .dropdown-toggle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 160px;
    vertical-align: middle;
  }

  .ll-view-mode-toggle {
    flex-shrink: 0;
  }

  .ll-view-mode-toggle span {
    display: none;
  }

  .ll-view-mode-toggle .btn-mode {
    padding: 6px 12px !important;
    font-size: 13px !important;
  }
}

/* ── Quick chips AJAX active state ── */
.ll-quick-chip.active {
  border-color: #4f46e5 !important;
  background: #4f46e5 !important;
  color: #fff !important;
}

/* ── Sort by — native select stylisé ── */
.ll-orderby-select-wrap {
  display: inline-block;
}

.ll-sort-select-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 6px 12px 6px 10px;
  gap: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
  transition: border-color .2s;
}

.ll-sort-select-box:hover {
  border-color: #4f46e5;
}

.ll-sort-icon {
  color: #94a3b8;
  font-size: 12px;
  pointer-events: none;
}

.ll-sort-chevron {
  color: #94a3b8;
  font-size: 11px;
  pointer-events: none;
}

.ll-sort-select {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  outline: none;
  padding: 0 4px;
  min-width: 130px;
}

.ll-sort-select:focus {
  outline: none;
}

/* Score badge /5 indicator */
.ll-review-score .score-badge .score-max {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
  margin-left: 1px;
}

/* ============================================================
   TOPBAR FILTERS INTEGRATION & 3 CARDS PER ROW
   ============================================================ */

/* Topbar Filters Toggle Button */
.btn-toggle-topbar-filters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #1E293B;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.btn-toggle-topbar-filters:hover {
  border-color: #93C5FD;
  color: var(--ll-primary, #003B95);
  background: #F8FAFC;
}

.btn-toggle-topbar-filters.has-active,
.btn-toggle-topbar-filters.active,
.btn-toggle-topbar-filters.open {
  border-color: var(--ll-primary, #003B95);
  background: #EFF6FF;
  color: var(--ll-primary, #003B95);
}

.btn-toggle-topbar-filters .active-dot {
  color: var(--ll-primary, #003B95);
  font-size: 16px;
  line-height: 1;
}

/* Integrated Topbar Filters Drawer */
.ll-topbar-filters-drawer {
  width: 100%;
  border-top: 1px solid #E2E8F0;
  margin-top: 14px;
  padding-top: 16px;
  transition: all 0.3s ease;
}

.ll-topbar-filters-drawer .topbar-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.ll-topbar-filters-drawer .topbar-drawer-title {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.2px;
}

.ll-topbar-filters-drawer .topbar-drawer-actions {
  display: flex;
  align-items: center;
}

.ll-topbar-filters-drawer .btn-close-topbar-drawer {
  width: 28px;
  height: 28px;
  border: none;
  background: #F1F5F9;
  color: #64748B;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
}

.ll-topbar-filters-drawer .btn-close-topbar-drawer:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.ll-topbar-filters-drawer .bc_filter {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.ll-topbar-filters-drawer .bc_filter .filter-title {
  display: none !important;
}

.ll-topbar-filters-drawer .bc_filter .bc_form_filter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.ll-topbar-filters-drawer .g-filter-item {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  margin: 0 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ll-topbar-filters-drawer .g-filter-item:hover {
  border-color: #CBD5E1 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.ll-topbar-filters-drawer .g-filter-item .item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 8px;
}

.ll-topbar-filters-drawer .g-filter-item .item-title h3 {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  margin: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ll-topbar-filters-drawer .g-filter-item .item-title .fa {
  font-size: 14px;
  color: #64748B;
  transition: transform 0.2s ease;
}

.ll-topbar-filters-drawer .g-filter-item .item-title.e-close .fa {
  transform: rotate(180deg);
}

.ll-topbar-filters-drawer .g-filter-item .item-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 180px;
  overflow-y: auto;
}

.ll-topbar-filters-drawer .g-filter-item .item-content ul li {
  margin-bottom: 6px;
}

.ll-topbar-filters-drawer .g-filter-item .item-content ul li:last-child {
  margin-bottom: 0;
}

/* 4 Cards per Row on Desktop Layout */
.locationlara-theme .bc-list-item-main-col {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

@media (min-width: 992px) {

  .locationlara-theme .bc-list-item-main-col .list-item .row>[class*="col-"],
  .locationlara-theme .bc-list-item-main-col .ajax-search-result .row>[class*="col-"],
  .locationlara-theme .bc-list-item-main-col .ajax-search-result .list-item .row>[class*="col-"] {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
  }
}

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

  .locationlara-theme .bc-list-item-main-col .list-item .row>[class*="col-"],
  .locationlara-theme .bc-list-item-main-col .ajax-search-result .row>[class*="col-"] {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}

/* ============================================================
   PREMIUM DATERANGEPICKER CALENDAR DISPLAY FIX
   ============================================================ */
body .daterangepicker {
  z-index: 999999 !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid #E2E8F0 !important;
  padding: 16px 18px !important;
  background: #FFFFFF !important;
  font-family: inherit !important;
  margin-top: 8px !important;
}

/* Fix missing arrow images by rendering crisp CSS chevron arrows */
body .daterangepicker .calendar-table .prev,
body .daterangepicker .calendar-table .next {
  background: none !important;
  background-image: none !important;
  position: relative !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s ease !important;
}

body .daterangepicker .calendar-table .prev:hover,
body .daterangepicker .calendar-table .next:hover {
  background-color: #F1F5F9 !important;
}

body .daterangepicker .calendar-table .prev span,
body .daterangepicker .calendar-table .next span {
  display: inline-block !important;
  border: solid #334155 !important;
  border-width: 0 2px 2px 0 !important;
  padding: 3.5px !important;
  transform: none !important;
  border-radius: 0 !important;
}

body .daterangepicker .calendar-table .prev span {
  transform: rotate(135deg) !important;
  -webkit-transform: rotate(135deg) !important;
  margin-left: 2px !important;
}

body .daterangepicker .calendar-table .next span {
  transform: rotate(-45deg) !important;
  -webkit-transform: rotate(-45deg) !important;
  margin-right: 2px !important;
}

/* Calendar layout */
body .daterangepicker .drp-calendar {
  max-width: 300px !important;
  padding: 0 8px !important;
}

body .daterangepicker .calendar-table table {
  border-collapse: separate !important;
  border-spacing: 2px !important;
}

body .daterangepicker .calendar-table thead tr:first-child th {
  padding-bottom: 12px !important;
  border-bottom: 1px solid #F1F5F9 !important;
}

body .daterangepicker .calendar-table thead .month {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
}

body .daterangepicker .calendar-table thead tr:last-child th {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #94A3B8 !important;
  padding: 8px 0 !important;
}

body .daterangepicker .calendar-table tbody td {
  width: 36px !important;
  height: 36px !important;
  line-height: 34px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1E293B !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  transition: all 0.15s ease !important;
}

body .daterangepicker td.available:hover {
  background-color: #EFF6FF !important;
  color: #1D4ED8 !important;
  border-radius: 8px !important;
}

body .daterangepicker td.in-range {
  background-color: #EFF6FF !important;
  color: #1D4ED8 !important;
  border-radius: 0 !important;
}

body .daterangepicker td.active,
body .daterangepicker td.active:hover,
body .daterangepicker td.start-date,
body .daterangepicker td.end-date {
  background-color: #003B95 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
}

body .daterangepicker td.off,
body .daterangepicker td.off.in-range {
  background-color: transparent !important;
  color: #CBD5E1 !important;
}

/* Month and year selects */
body .daterangepicker select.monthselect,
body .daterangepicker select.yearselect {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1E293B !important;
  background-color: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
}

/* 2. Topbar Action Buttons (Price & Filters) */
.ll-price-bar-wrapper {
  position: relative;
  display: inline-block;
}

.btn-price-filter-bar,
.btn-toggle-topbar-filters {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  line-height: 1;
  white-space: nowrap;
}

.btn-price-filter-bar:hover,
.btn-toggle-topbar-filters:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.btn-price-filter-bar.open,
.btn-price-filter-bar.has-active,
.btn-toggle-topbar-filters.open,
.btn-toggle-topbar-filters.has-active {
  background: #003B95 !important;
  border-color: #003B95 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(0, 59, 149, 0.3) !important;
}

.btn-price-filter-bar .price-bar-caret {
  transition: transform 0.2s ease;
}

.btn-price-filter-bar.open .price-bar-caret {
  transform: rotate(180deg);
}

.btn-toggle-topbar-filters.open .active-dot,
.btn-toggle-topbar-filters.has-active .active-dot {
  background: #FFFFFF !important;
}

.btn-toggle-topbar-filters .active-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #2563EB;
  border-radius: 50%;
  margin-left: 2px;
}

/* Price Filter Dropdown Popover on Bar */
.ll-price-filter-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 330px;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 20px;
  z-index: 999;
  animation: llDrawerSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ll-price-filter-popover .price-popover-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F1F5F9;
}

.ll-price-filter-popover .price-popover-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.ll-price-filter-popover .price-popover-subtitle {
  font-size: 11.5px;
  color: #94A3B8;
  font-weight: 500;
}

.ll-price-filter-popover .price-popover-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 10px;
  border-top: 1px solid #F1F5F9;
}

.btn-popover-reset {
  background: transparent;
  border: none;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.btn-popover-reset:hover {
  color: #EF4444;
  background: #FEF2F2;
}

.btn-popover-apply {
  background: #003B95;
  border: none;
  border-radius: 9999px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 3px 10px rgba(0, 59, 149, 0.25);
}

.btn-popover-apply:hover {
  background: #002B6D;
  box-shadow: 0 5px 14px rgba(0, 59, 149, 0.35);
  transform: translateY(-1px);
}

/* 3. Luxury Topbar Filters Drawer Container */
.ll-topbar-filters-drawer {
  width: 100%;
  margin-top: 18px;
  padding: 22px 26px 18px 26px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.08);
  animation: llDrawerSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes llDrawerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sticky topbar scroll constraint */
.ll-space-results-topbar.scrolled .ll-topbar-filters-drawer {
  max-height: 72vh;
  overflow-y: auto;
}

/* Reset any inherited form border / card box from theme */
.ll-topbar-filters-drawer form,
.ll-topbar-filters-drawer .ll-topbar-filter-form,
.locationlara-theme .ll-topbar-filters-drawer .bc_form_filter {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Drawer Header */
.ll-topbar-filters-drawer .topbar-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #F1F5F9;
  gap: 12px;
}

.ll-topbar-filters-drawer .drawer-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ll-topbar-filters-drawer .drawer-header-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ll-topbar-filters-drawer .topbar-drawer-title {
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.2px;
}

.ll-topbar-filters-drawer .topbar-drawer-subtitle {
  font-size: 13px;
  color: #64748B;
  font-weight: 400;
}

.ll-topbar-filters-drawer .topbar-drawer-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ll-topbar-filters-drawer .btn-topbar-reset {
  display: inline-flex;
  align-items: center;
  background: #FEF2F2;
  border: 1px solid #FEE2E2;
  color: #EF4444;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.ll-topbar-filters-drawer .btn-topbar-reset:hover {
  background: #FEE2E2;
  color: #DC2626;
}

.ll-topbar-filters-drawer .btn-close-topbar-drawer {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  font-size: 20px;
  line-height: 1;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.ll-topbar-filters-drawer .btn-close-topbar-drawer:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
}

/* 4. Filter Grid Layout — 3 Spacious Columns (Review, Space Type, Amenities) */
.ll-filter-grid-3cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 20px;
}

@media (max-width: 991.98px) {
  .ll-filter-grid-3cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.ll-filter-col {
  display: flex;
  flex-direction: column;
  position: relative;
}

@media (min-width: 992px) {
  .ll-filter-grid-3cols .ll-filter-col:not(:last-child) {
    border-right: 1px solid #F1F5F9;
    padding-right: 28px;
  }
}

/* Column Header */
.ll-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #F1F5F9;
}

.ll-col-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #EFF6FF;
  color: #003B95;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.ll-col-title-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ll-col-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.2;
}

.ll-col-desc {
  font-size: 11.5px;
  color: #94A3B8;
  font-weight: 500;
  margin-top: 2px;
}

/* Price Range Badges & Slider */
.ll-price-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.ll-price-pill {
  flex: 1;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
}

.ll-price-pill .lbl {
  font-size: 10.5px;
  text-transform: uppercase;
  color: #64748B;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ll-price-pill .val {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  margin-top: 2px;
  white-space: nowrap;
}

.ll-price-sep {
  color: #CBD5E1;
  font-weight: 600;
}

.ll-slider-container {
  padding: 0 8px;
  margin-top: 14px;
  margin-bottom: 6px;
}

.ll-slider-container .irs {
  margin: 0 !important;
}

.ll-slider-container .irs--flat .irs-line {
  height: 6px;
  background-color: #E2E8F0;
  border-radius: 6px;
}

.ll-slider-container .irs--flat .irs-bar {
  height: 6px;
  background-color: #003B95;
}

.ll-slider-container .irs--flat .irs-handle {
  width: 20px;
  height: 20px;
  top: 18px;
  background-color: #FFFFFF;
  border: 2px solid #003B95;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 59, 149, 0.25);
  cursor: grab;
}

.ll-slider-container .irs--flat .irs-handle.state_hover,
.ll-slider-container .irs--flat .irs-handle:hover {
  background-color: #EFF6FF;
  transform: scale(1.1);
}

.ll-slider-container .irs--flat .irs-handle>i:first-child {
  display: none !important;
}

/* Scrollable lists for Review, Space Type, Amenities */
.ll-scrollable-list {
  max-height: 230px;
  overflow-y: auto;
  padding-right: 6px;
}

/* Slim Custom Scrollbar */
.ll-scrollable-list::-webkit-scrollbar {
  width: 4px;
}

.ll-scrollable-list::-webkit-scrollbar-track {
  background: #F8FAFC;
  border-radius: 4px;
}

.ll-scrollable-list::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.ll-scrollable-list::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Custom Checkbox Item */
.ll-check-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 7px 10px !important;
  margin-bottom: 3px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  user-select: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.ll-check-item:hover {
  background: #F8FAFC !important;
}

.ll-check-item.active {
  background: #EFF6FF !important;
}

.ll-check-item input[type="checkbox"],
.ll-check-item input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
}

.ll-check-box {
  width: 18px !important;
  height: 18px !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 5px !important;
  background: #FFFFFF !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 10px !important;
  color: transparent !important;
  flex-shrink: 0 !important;
  transition: all 0.15s ease !important;
}

.ll-check-item.active .ll-check-box,
.ll-check-item input[type="checkbox"]:checked~.ll-check-box,
.ll-check-item input[type="checkbox"]:checked+.ll-check-box,
.ll-check-item input[type="radio"]:checked~.ll-check-box,
.ll-check-item input[type="radio"]:checked+.ll-check-box {
  background: #003B95 !important;
  border-color: #003B95 !important;
  color: #FFFFFF !important;
}

.ll-check-label {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  line-height: 1.35 !important;
  overflow: visible !important;
  white-space: normal !important;
  word-break: normal !important;
  flex: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ll-check-item.active .ll-check-label {
  color: #003B95 !important;
  font-weight: 600 !important;
}

/* Review Score Stars */
.ll-check-content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.ll-stars {
  display: inline-flex;
  gap: 2px;
  font-size: 12px;
}

.ll-stars .fa-star.filled {
  color: #F59E0B;
}

.ll-stars .fa-star.empty {
  color: #E2E8F0;
}

.ll-score-text {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.ll-check-item.active .ll-score-text {
  color: #003B95;
}

/* 5. Drawer Action Footer */
.ll-drawer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: 14px;
  border-top: 1px solid #F1F5F9;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-clear-all-filters {
  background: transparent;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 9999px;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
}

.btn-clear-all-filters:hover {
  color: #EF4444;
  background: #FEF2F2;
  border-color: #FEE2E2;
}

.ll-footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-cancel-filters {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 8px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-cancel-filters:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.btn-apply-filters {
  background: #003B95;
  border: none;
  border-radius: 9999px;
  padding: 9px 24px;
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 59, 149, 0.25);
  display: inline-flex;
  align-items: center;
}

.btn-apply-filters:hover {
  background: #002B6D;
  box-shadow: 0 6px 16px rgba(0, 59, 149, 0.35);
  transform: translateY(-1px);
}

/* Mobile responsive adjustments */
@media (max-width: 767.98px) {

  .ll-space-results-topbar .results-actions {
    display: none !important;
  }

  .ll-mobile-sticky-filter-bar {
    /* display: none !important; */
  }

  /* On mobile: Hide price button on topbar (price is inside the filter drawer) */
  .ll-price-bar-wrapper {
    display: none !important;
  }

  .btn-toggle-topbar-filters {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 7px 16px !important;
    font-size: 13px !important;
    height: 38px !important;
    border-radius: 9999px !important;
  }

  .btn-toggle-topbar-filters span:not(.active-dot) {
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  .ll-sort-wrapper {
    flex: 1 1 auto !important;
    min-width: 140px !important;
  }

  /* Price column inside Drawer on Mobile */
  .ll-filter-col-price {
    padding-bottom: 18px !important;
    margin-bottom: 6px !important;
    border-bottom: 2px solid #F1F5F9 !important;
  }

  .ll-filter-col-price .ll-price-badge-row {
    margin-bottom: 12px !important;
  }

  .ll-filter-col-price .ll-slider-container {
    padding: 0 10px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }

  .ll-sort-wrapper .sort-prefix-label {
    display: none !important;
  }

  .bc-form-order {
    width: 100% !important;
  }

  .bc-form-order .item.orderby {
    width: 100% !important;
    height: 36px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    border-radius: 9999px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .ll-sort-wrapper .ll-orderby-select-wrap {
    width: 100% !important;
    display: block !important;
  }

  .ll-sort-wrapper .ll-sort-select-box {
    width: 100% !important;
    height: 36px !important;
    padding: 0 10px !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
  }

  .ll-sort-wrapper .ll-sort-icon {
    font-size: 12px !important;
    color: #64748B !important;
    margin-right: 4px !important;
    flex-shrink: 0 !important;
  }

  .ll-sort-wrapper .ll-sort-select {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 12px !important;
    padding: 0 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
  }

  .ll-sort-wrapper .ll-sort-chevron {
    font-size: 10px !important;
    color: #64748B !important;
    margin-left: 4px !important;
    flex-shrink: 0 !important;
  }

  .ll-space-results-topbar .ll-view-mode-toggle {
    display: none !important;
  }

  /* Price popover on mobile: bottom sheet */
  .ll-price-filter-popover {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2) !important;
    z-index: 99999 !important;
    padding: 20px 18px 24px 18px !important;
  }

  /* Drawer on mobile: luxury fixed full-screen modal */
  .ll-topbar-filters-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    background: #FFFFFF !important;
    z-index: 9999999 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 16px 16px 28px 16px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: none !important;
  }

  .ll-topbar-filters-drawer:not(.is-open) {
    display: none !important;
  }

  .ll-topbar-filters-drawer.is-open {
    display: block !important;
  }

  .ll-topbar-filters-drawer .topbar-drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding-bottom: 14px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #F1F5F9 !important;
  }

  .ll-topbar-filters-drawer .drawer-header-left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .ll-topbar-filters-drawer .topbar-drawer-actions {
    flex-shrink: 0 !important;
    margin-left: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .ll-topbar-filters-drawer .btn-close-topbar-drawer {
    width: 34px !important;
    height: 34px !important;
    font-size: 20px !important;
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 50% !important;
  }

  .ll-topbar-filters-drawer .topbar-drawer-title {
    font-size: 16px !important;
    font-weight: 700 !important;
  }

  .ll-topbar-filters-drawer .topbar-drawer-subtitle {
    font-size: 12px !important;
  }

  .ll-filter-grid-3cols {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .ll-filter-grid-3cols .ll-scrollable-list {
    max-height: none !important;
    overflow-y: visible !important;
  }

  /* Clear separation for reset all in drawer footer on mobile */
  .ll-drawer-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding-top: 14px !important;
    margin-top: 14px !important;
  }

  .btn-clear-all-filters {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 10px 16px !important;
    border: 1px solid #FEE2E2 !important;
    background: #FEF2F2 !important;
    color: #EF4444 !important;
    border-radius: 9999px !important;
    margin-bottom: 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  .ll-footer-right {
    display: flex !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .ll-footer-right .btn-cancel-filters {
    flex: 1 !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .ll-footer-right .btn-apply-filters {
    flex: 2 !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

/* ── Focus Mode: When Filter Drawer is open, hide search form, sticky bar & header ── */
body.drawer-open .bc_form_search {
  display: none !important;
}

body.drawer-open .bravo_header,
body.drawer-open .bc_header {
  display: none !important;
}

body.drawer-open .ll-mobile-sticky-filter-bar {
  display: none !important;
}

@media (min-width: 992px) {
  body.drawer-open .ll-space-results-topbar {
    z-index: 9999999 !important;
  }
}

@media (max-width: 991.98px) {
  body.drawer-open .ll-space-results-topbar {
    display: none !important;
  }
}

/* ==========================================================================
   DROPDOWN & AUTOCOMPLETE FOREGROUND (AU PREMIER PLAN ABSOLU)
   Garantie absolue : .bc-autocomplete.show ne peut pas s'afficher sous un autre element
   ========================================================================== */
.dropdown-menu.select-guests-dropdown,
.dropdown-menu.select-guests-dropdown.show,
.select-guests-dropdown,
.select-guests-dropdown.show,
.bc-autocomplete,
.smart-search .bc-autocomplete,
.bc_wrap .bc_form .smart-search .bc-autocomplete,
.bc_wrap .bc_form .input-search .bc-autocomplete,
.ll-map-top-bar .smart-search .bc-autocomplete {
  z-index: 2147483647 !important;
}

.dropdown-menu.select-guests-dropdown.show,
.select-guests-dropdown.show,
.bc-autocomplete.show,
.smart-search .bc-autocomplete.show,
.bc_wrap .bc_form .smart-search .bc-autocomplete.show,
.bc_wrap .bc_form .input-search .bc-autocomplete.show,
.ll-map-top-bar .smart-search .bc-autocomplete.show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
}

body:has(.bc-autocomplete.show) .locationlara-theme .bc_search_space .bc_form_search,
body:has(.bc-autocomplete.show) .bc_form_search,
body:has(.bc-autocomplete.show) .ll-map-top-bar,
body:has(.bc-autocomplete.show) .map-form-wrapper,
body:has(.bc-autocomplete.show) .bc_form_search_map,
body:has(.bc-autocomplete.show) .ll-map-filter-item,
body:has(.bc-autocomplete.show) .ll-map-location-item,
body:has(.bc-autocomplete.show) .ll-map-location-item .smart-search,
body:has(.bc-autocomplete.show) .bc-form-search-all,
body:has(.bc-autocomplete.show) .ll-form-search-container,
body:has(.bc-autocomplete.show) .search-model-box,
body:has(.bc-autocomplete.show) .ll-model-fusion-container,
body:has(.bc-autocomplete.show) .ll-model-fusion-tab-content,
body:has(.bc-autocomplete.show) .ll-model-airbnb-capsule,
body:has(.bc-autocomplete.show) .ll-model-booking-horizon,
body:has(.bc-autocomplete.show) .ll-model-expedia-matrix,
body:has(.bc-autocomplete.show) .tab-content,
body:has(.bc-autocomplete.show) .tab-pane,
body:has(.bc-autocomplete.show) .g-field-search,
body:has(.bc-autocomplete.show) .bc_form,
body:has(.bc-autocomplete.show) .smart-search,
body:has(.bc-autocomplete.show) .form-group,
body:has(.bc-autocomplete.show) .form-content,
body:has(.bc-autocomplete.show) .capsule-field,
body:has(.bc-autocomplete.show) .col-md-4,
body:has(.bc-autocomplete.show) .col-md-3,
body:has(.bc-autocomplete.show) [class*="col-"],
body.has-autocomplete-open .locationlara-theme .bc_search_space .bc_form_search,
body.has-autocomplete-open .bc_form_search,
body.has-autocomplete-open .ll-map-top-bar,
body.has-autocomplete-open .map-form-wrapper,
body.has-autocomplete-open .bc_form_search_map,
body.has-autocomplete-open .ll-map-filter-item,
body.has-autocomplete-open .ll-map-location-item,
body.has-autocomplete-open .ll-map-location-item .smart-search,
body.has-autocomplete-open .bc-form-search-all,
body.has-autocomplete-open .ll-form-search-container,
body.has-autocomplete-open .search-model-box,
body.has-autocomplete-open .ll-model-fusion-container,
body.has-autocomplete-open .ll-model-fusion-tab-content,
body.has-autocomplete-open .ll-model-airbnb-capsule,
body.has-autocomplete-open .ll-model-booking-horizon,
body.has-autocomplete-open .ll-model-expedia-matrix,
body.has-autocomplete-open .tab-content,
body.has-autocomplete-open .tab-pane,
body.has-autocomplete-open .g-field-search,
body.has-autocomplete-open .bc_form,
body.has-autocomplete-open .smart-search,
body.has-autocomplete-open .form-group,
body.has-autocomplete-open .form-content,
body.has-autocomplete-open .capsule-field,
body.has-autocomplete-open .col-md-4,
body.has-autocomplete-open .col-md-3,
body.has-autocomplete-open [class*="col-"],
body.has-dropdown-open .locationlara-theme .bc_search_space .bc_form_search,
body.has-dropdown-open .bc_form_search,
body.has-dropdown-open .ll-map-top-bar,
body.has-dropdown-open .map-form-wrapper,
body.has-dropdown-open .bc_form_search_map,
body.has-dropdown-open .smart-search,
.locationlara-theme .bc_search_space .bc_form_search.is-autocomplete-open,
.locationlara-theme .bc_search_space .bc_form_search.has-dropdown-open,
.bc_form_search.is-autocomplete-open,
.bc_form_search.has-dropdown-open,
.smart-search.is-autocomplete-open,
.smart-search.has-dropdown-open,
.ll-map-top-bar.is-autocomplete-open,
.map-form-wrapper.is-autocomplete-open,
.bc_form_search_map.is-autocomplete-open,
.ll-map-location-item.is-autocomplete-open,
.is-autocomplete-open,
.has-dropdown-open {
  z-index: 2147483640 !important;
  position: relative !important;
  overflow: visible !important;
}

/* Sur mobile sticky bar : désactiver backdrop-filter qui crée un piège de stacking context */
body:has(.bc-autocomplete.show) .bc_form_search,
body:has(.bc-autocomplete.show) .bc_form_search.is-sticky,
body.has-autocomplete-open .bc_form_search,
body.has-autocomplete-open .bc_form_search.is-sticky,
body.has-dropdown-open .bc_form_search {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Masquage immédiat de TOUS les éléments flottants ou boutons superposables */
body:has(.bc-autocomplete.show) .ll-floating-mobile-bar,
body.has-autocomplete-open .ll-floating-mobile-bar,
body:has(.bc-autocomplete.show) .ll-mobile-sticky-filter-bar,
body.has-autocomplete-open .ll-mobile-sticky-filter-bar,
body:has(.bc-autocomplete.show) #airbnbMobileBar,
body.has-autocomplete-open #airbnbMobileBar,
body:has(.bc-autocomplete.show) .airbnb-mobile-bar,
body.has-autocomplete-open .airbnb-mobile-bar,
body:has(.bc-autocomplete.show) .db-chatbot-root,
body.has-autocomplete-open .db-chatbot-root,
body:has(.bc-autocomplete.show) #dbChatbotRoot,
body.has-autocomplete-open #dbChatbotRoot,
body:has(.bc-autocomplete.show) #dbChatbotLauncher,
body.has-autocomplete-open #dbChatbotLauncher,
body:has(.bc-autocomplete.show) .db-chatbot-launcher-pulse,
body.has-autocomplete-open .db-chatbot-launcher-pulse,
body:has(.bc-autocomplete.show) .ll-mobile-view-list-float,
body.has-autocomplete-open .ll-mobile-view-list-float,
body:has(.bc-autocomplete.show) #db-live-trans-badge,
body.has-autocomplete-open #db-live-trans-badge,
body:has(.bc-autocomplete.show) .ll-mobile-map-card-popup,
body.has-autocomplete-open .ll-mobile-map-card-popup {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  z-index: -1 !important;
}

@media (max-width: 991.98px) {
  body:has(.bc-autocomplete.show) .bravo_header,
  body.has-autocomplete-open .bravo_header,
  body:has(.bc-autocomplete.show) .bc_header,
  body.has-autocomplete-open .bc_header {
    z-index: 990 !important;
  }
}

/* Abaissement forcé des panneaux de carte, filtres et cartes de résultats */
body:has(.bc-autocomplete.show) .ll-half-map-container,
body.has-autocomplete-open .ll-half-map-container,
body:has(.bc-autocomplete.show) .ll-half-map-results,
body.has-autocomplete-open .ll-half-map-results,
body:has(.bc-autocomplete.show) .listing_items,
body.has-autocomplete-open .listing_items,
body:has(.bc-autocomplete.show) .bc-list-item,
body.has-autocomplete-open .bc-list-item,
body:has(.bc-autocomplete.show) .list-item,
body.has-autocomplete-open .list-item,
body:has(.bc-autocomplete.show) .leaflet-pane,
body.has-autocomplete-open .leaflet-pane,
body:has(.bc-autocomplete.show) .ll-vr-radar-wrapper,
body.has-autocomplete-open .ll-vr-radar-wrapper,
body:has(.bc-autocomplete.show) .ll-marker-tooltip,
body.has-autocomplete-open .ll-marker-tooltip,
body:has(.bc-autocomplete.show) .ll-space-results-topbar,
body.has-autocomplete-open .ll-space-results-topbar,
body:has(.bc-autocomplete.show) .ll-active-filters-bar,
body.has-autocomplete-open .ll-active-filters-bar,
body:has(.bc-autocomplete.show) .ll-quick-filter-chips,
body.has-autocomplete-open .ll-quick-filter-chips,
body:has(.bc-autocomplete.show) .bc-list-item-main-col,
body.has-autocomplete-open .bc-list-item-main-col,
body:has(.bc-autocomplete.show) .bc_search_space > .container,
body.has-autocomplete-open .bc_search_space > .container,
body:has(.bc-autocomplete.show) .item-loop,
body.has-autocomplete-open .item-loop,
body:has(.bc-autocomplete.show) .item-space,
body.has-autocomplete-open .item-space,
body:has(.bc-autocomplete.show) .item-loop-wrap,
body.has-autocomplete-open .item-loop-wrap,
body:has(.bc-autocomplete.show) .thumb-image,
body.has-autocomplete-open .thumb-image,
body:has(.bc-autocomplete.show) .ll-card-slide-img,
body.has-autocomplete-open .ll-card-slide-img,
body:has(.bc-autocomplete.show) .ll-hover-gallery-container,
body.has-autocomplete-open .ll-hover-gallery-container,
body:has(.bc-autocomplete.show) .ll-card-body,
body.has-autocomplete-open .ll-card-body,
body:has(.bc-autocomplete.show) .ll-card-top-badges,
body.has-autocomplete-open .ll-card-top-badges,
body:has(.bc-autocomplete.show) .ll-price-overlay-badge,
body.has-autocomplete-open .ll-price-overlay-badge,
body:has(.bc-autocomplete.show) .service-wishlist,
body.has-autocomplete-open .service-wishlist,
body:has(.bc-autocomplete.show) .card-active-highlight,
body.has-autocomplete-open .card-active-highlight {
  z-index: 1 !important;
  transform: none !important;
}

/* Neutralisation absolue de tout effet de survol sur les cartes lorsque l'autocomplétion est ouverte */
body:has(.bc-autocomplete.show) .item-loop.item-space:hover,
body.has-autocomplete-open .item-loop.item-space:hover,
body:has(.bc-autocomplete.show) .item-loop-wrap:hover,
body.has-autocomplete-open .item-loop-wrap:hover {
  z-index: 1 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Elevate search container layers above result lists and adjacent sections when not in autocomplete open state */
@media (min-width: 992px) {
  .bc_form_search:not(.is-autocomplete-open):not(.has-dropdown-open),
  .locationlara-theme .bc_form_search:not(.is-autocomplete-open):not(.has-dropdown-open),
  .locationlara-theme .bc_search_space .bc_form_search:not(.is-autocomplete-open):not(.has-dropdown-open),
  .ll-form-search-container:not(.is-autocomplete-open):not(.has-dropdown-open),
  .search-model-box:not(.is-autocomplete-open):not(.has-dropdown-open),
  .ll-model-fusion-container:not(.is-autocomplete-open):not(.has-dropdown-open),
  .ll-model-airbnb-capsule:not(.is-autocomplete-open):not(.has-dropdown-open),
  .ll-model-booking-horizon:not(.is-autocomplete-open):not(.has-dropdown-open),
  .ll-model-expedia-matrix:not(.is-autocomplete-open):not(.has-dropdown-open) {
    position: relative !important;
    z-index: 200 !important;
  }
}
@media (max-width: 991.98px) {
  .ll-model-fusion-container:not(.is-autocomplete-open):not(.has-dropdown-open),
  .ll-model-airbnb-capsule:not(.is-autocomplete-open):not(.has-dropdown-open),
  .ll-model-booking-horizon:not(.is-autocomplete-open):not(.has-dropdown-open),
  .ll-model-expedia-matrix:not(.is-autocomplete-open):not(.has-dropdown-open) {
    position: relative;
    z-index: auto;
  }
}

/* ==========================================================================
   Vacation Rental Custom Map Pin & Radar (DirectBooking Europe)
   ========================================================================== */

.ll-vr-map-marker {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  width: auto;
  height: auto;
}

.ll-vr-radar-wrapper {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 1;
}

.ll-vr-radar-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  margin-left: -50px;
  margin-top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 56, 92, 0.32) 0%, rgba(255, 56, 92, 0.12) 50%, rgba(255, 56, 92, 0) 75%);
  border: 1.5px solid rgba(255, 56, 92, 0.45);
  animation: llVrRadarWave 3.2s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
  pointer-events: none;
}

.ll-vr-radar-pulse.pulse-2 {
  animation-delay: 1.6s;
}

.ll-vr-radar-anchor {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  margin-top: -6px;
  background: #E00B41;
  border: 2.5px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(224, 11, 65, 0.8), 0 2px 5px rgba(0, 0, 0, 0.35);
}

@keyframes llVrRadarWave {
  0% {
    transform: scale(0.25);
    opacity: 0.95;
  }
  60% {
    opacity: 0.35;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

.ll-vr-stay-capsule {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.98);
  color: #1A1A1A;
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16), 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 7px;
  position: relative;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.2;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  backdrop-filter: blur(8px);
  z-index: 3;
}

.ll-vr-map-marker:hover .ll-vr-stay-capsule {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
  transform: translateY(-3px);
  border-color: rgba(224, 11, 65, 0.25);
}

.ll-vr-capsule-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #E00B41;
}

.ll-vr-capsule-cat {
  font-weight: 700;
  color: #334155;
  font-size: 12.5px;
  letter-spacing: -0.1px;
}

.ll-vr-capsule-sep {
  color: #CBD5E1;
  font-size: 12px;
}

.ll-vr-capsule-price {
  color: #0F172A;
  font-size: 13px;
}

.ll-vr-capsule-price strong {
  font-weight: 800;
  color: #003580;
}

.ll-vr-capsule-price small {
  font-size: 11px;
  color: #64748B;
  font-weight: 500;
}

.ll-vr-capsule-tail {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #FFFFFF;
}

.ll-vr-beacon {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, #FF385C 0%, #E00B41 55%, #BD0036 100%);
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 8px 24px rgba(224, 11, 65, 0.45), 0 3px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  margin-bottom: 8px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.ll-vr-map-marker:hover .ll-vr-beacon {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 28px rgba(224, 11, 65, 0.6), 0 4px 10px rgba(0, 0, 0, 0.25);
}

.ll-vr-beacon-gloss {
  position: absolute;
  top: 3px;
  left: 5px;
  width: 20px;
  height: 11px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 50%;
  pointer-events: none;
}

.ll-vr-beacon-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.ll-vr-beacon-tip {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid #BD0036;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

.ll-vr-popup-card {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  width: 250px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24), 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  z-index: 100;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.22s ease, visibility 0.22s ease;
  text-align: left;
}

.ll-vr-popup-card.is-active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ll-vr-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #FFFFFF;
  border: none;
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ll-vr-popup-close:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.1);
}

.ll-vr-popup-img-wrap {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #E2E8F0;
}

.ll-vr-popup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ll-vr-popup-card:hover .ll-vr-popup-img {
  transform: scale(1.04);
}

.ll-vr-popup-cat {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.2px;
}

.ll-vr-popup-body {
  padding: 12px 14px 14px;
}

.ll-vr-popup-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ll-vr-popup-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #334155;
  margin-bottom: 10px;
}

.ll-vr-popup-star {
  color: #F59E0B;
}

.ll-vr-popup-reviews {
  color: #64748B;
}

.ll-vr-popup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #F1F5F9;
}

.ll-vr-popup-price-val {
  font-size: 14.5px;
  font-weight: 800;
  color: #003580;
}

.ll-vr-popup-price-unit {
  font-size: 11px;
  color: #64748B;
}

.ll-vr-popup-btn {
  background: #003580;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.ll-vr-popup-btn:hover {
  background: #00224F;
  transform: translateY(-1px);
}

.ll-vr-popup-tail {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #FFFFFF;
}

.ll-leaflet-vr-pin {
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
}

@keyframes llBookGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 53, 128, 0.45);
    transform: scale(1);
  }
  40% {
    box-shadow: 0 0 0 14px rgba(0, 53, 128, 0);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 53, 128, 0);
    transform: scale(1);
  }
}

.ll-book-highlight {
  animation: llBookGlow 1.2s ease-in-out !important;
}

@media (max-width: 575.98px) {
  .ll-vr-stay-capsule {
    padding: 4px 10px;
    font-size: 11.5px;
    margin-bottom: 5px;
  }
  .ll-vr-capsule-cat {
    font-size: 11px;
  }
  .ll-vr-capsule-price {
    font-size: 12px;
  }
  .ll-vr-beacon {
    width: 40px;
    height: 40px;
    margin-bottom: 7px;
  }
  .ll-vr-beacon-svg {
    width: 19px;
    height: 19px;
  }
  .ll-vr-beacon-tip {
    bottom: -7px;
    border-top-width: 8px;
  }
  .ll-vr-popup-card {
    width: min(240px, calc(100vw - 40px));
  }
}

/* ==========================================================================
   MOBILE AUTOCOMPLETE BOTTOM SHEET & BACKDROP (DIRECTBOOKING EUROPE)
   ========================================================================== */

/* Universal Backdrop for Mobile Autocomplete Sheet */
.ll-autocomplete-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 2147483640 !important;
  cursor: pointer !important;
  animation: llFadeInBackdrop 0.2s ease forwards !important;
}

@keyframes llFadeInBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Stacking context: Keep search ancestors above backdrop */
body.has-autocomplete-open .bc_form_search,
body:has(.bc-autocomplete.show) .bc_form_search,
body.has-autocomplete-open .search-model-box,
body:has(.bc-autocomplete.show) .search-model-box,
body.has-autocomplete-open .ll-form-search-container,
body:has(.bc-autocomplete.show) .ll-form-search-container,
body.has-autocomplete-open .smart-search,
body:has(.bc-autocomplete.show) .smart-search,
.locationlara-theme .bc_search_space .bc_form_search.is-autocomplete-open,
.bc_form_search.is-autocomplete-open {
  z-index: 2147483645 !important;
}

@media (max-width: 991.98px) {
  /* Override app.css line 6171 (-55px offset, #f1f1f1, border-radius: 0) with ultra-high specificity */
  .bc_wrap .bc_form .smart-search .bc-autocomplete.ll-mobile-sheet,
  .bc_wrap .bc_form .smart-search .bc-autocomplete.show,
  .bc_wrap .smart-search .bc-autocomplete.ll-mobile-sheet,
  .bc_wrap .smart-search .bc-autocomplete.show,
  .locationlara-theme .bc_search_space .bc_form_search .smart-search .bc-autocomplete.ll-mobile-sheet,
  .locationlara-theme .bc_search_space .bc_form_search .smart-search .bc-autocomplete.show,
  .locationlara-theme .bc_search_space .bc_form_search .bc-autocomplete.ll-mobile-sheet,
  .locationlara-theme .bc_search_space .bc_form_search .bc-autocomplete.show,
  .smart-search .bc-autocomplete.ll-mobile-sheet,
  .smart-search .bc-autocomplete.show,
  .ll-map-top-bar .smart-search .bc-autocomplete.ll-mobile-sheet,
  .ll-map-top-bar .smart-search .bc-autocomplete.show,
  .bc-autocomplete.ll-mobile-sheet {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    height: auto !important;
    max-height: 76vh !important;
    background: #FFFFFF !important;
    border-radius: 24px 24px 0 0 !important;
    box-shadow: 0 -16px 48px rgba(15, 23, 42, 0.45) !important;
    border: none !important;
    border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
    z-index: 2147483647 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    animation: llSheetSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .smart-search .bc-autocomplete:not(.show),
  .bc-autocomplete:not(.show) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Hide old pseudo-element handle */
  .smart-search .bc-autocomplete::before,
  .smart-search .bc-autocomplete.show::before,
  .ll-map-top-bar .smart-search .bc-autocomplete.show::before {
    display: none !important;
  }

  /* Sheet drag handle */
  .ll-sheet-drag-handle {
    width: 44px !important;
    height: 5px !important;
    background: #CBD5E1 !important;
    border-radius: 99px !important;
    margin: 12px auto 6px auto !important;
    flex-shrink: 0 !important;
    display: block !important;
  }

  /* Sheet Header Bar */
  .ll-sheet-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 16px 12px 16px !important;
    border-bottom: 1px solid #F1F5F9 !important;
    flex-shrink: 0 !important;
    background: #FFFFFF !important;
    gap: 10px !important;
  }

  .ll-sheet-search-box {
    flex: 1 1 auto !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    background: #F1F5F9 !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 99px !important;
    padding: 0 14px 0 38px !important;
    height: 44px !important;
    transition: all 0.2s ease !important;
  }

  .ll-sheet-search-box:focus-within {
    background: #FFFFFF !important;
    border-color: #003580 !important;
    box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.12) !important;
  }

  .ll-sheet-search-icon {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
    color: #64748B !important;
    pointer-events: none !important;
  }

  .ll-sheet-search-input {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0F172A !important;
    outline: none !important;
    padding: 0 !important;
  }

  .ll-sheet-search-input::placeholder {
    color: #94A3B8 !important;
    font-weight: 400 !important;
  }

  .ll-sheet-clear-input {
    border: none !important;
    background: transparent !important;
    color: #94A3B8 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    padding: 0 0 0 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .ll-sheet-clear-input:hover,
  .ll-sheet-clear-input:active {
    color: #475569 !important;
  }

  .ll-sheet-header .ll-sheet-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .ll-sheet-header .ll-sheet-close-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #F1F5F9 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #475569 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  .ll-sheet-header .ll-sheet-close-btn:active {
    background: #E2E8F0 !important;
    color: #0F172A !important;
    transform: scale(0.94) !important;
  }

  /* Scrollable List Items Container */
  .bc-autocomplete.ll-mobile-sheet .list-item,
  .smart-search .bc-autocomplete.ll-mobile-sheet .list-item,
  .smart-search .bc-autocomplete.show .list-item {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-height: calc(76vh - 75px) !important;
    padding: 8px 16px calc(24px + env(safe-area-inset-bottom, 20px)) !important;
    margin: 0 !important;
    background: #FFFFFF !important;
  }

  /* Autocomplete Items Styling */
  .smart-search .bc-autocomplete.ll-mobile-sheet .item,
  .smart-search .bc-autocomplete.show .item,
  .bc-autocomplete.ll-mobile-sheet .item {
    padding: 13px 14px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1E293B !important;
    border-bottom: 1px solid #F8FAFC !important;
    border-radius: 12px !important;
    margin-bottom: 3px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #FFFFFF !important;
    transition: background 0.15s ease !important;
  }

  .smart-search .bc-autocomplete.ll-mobile-sheet .item:active,
  .smart-search .bc-autocomplete.ll-mobile-sheet .item:hover {
    background: #F1F5F9 !important;
    color: #003580 !important;
  }

  .smart-search .bc-autocomplete.ll-mobile-sheet .item:last-child {
    border-bottom: none !important;
  }
}

@media (min-width: 992px) {
  .smart-search .bc-autocomplete.show,
  .ll-map-top-bar .smart-search .bc-autocomplete.show {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    min-width: 280px !important;
    max-width: 380px !important;
    width: max-content !important;
    max-height: 340px !important;
    z-index: 2147483647 !important;
    box-shadow: 0 20px 50px rgba(0, 35, 110, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
    border-radius: 16px !important;
  }

  .ll-sheet-drag-handle,
  .ll-sheet-header {
    display: none !important;
  }
}

@keyframes llSheetSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==========================================================================
   PAGE /SPACE MOBILE : SEARCH-MODEL-BOX UNIQUEMENT POUR LOCALISATION
   ========================================================================== */
@media (max-width: 991.98px) {
  .bc_search_space .search-model-box .field-date,
  .bc_search_space .search-model-box .field-guests,
  .bc_search_space .search-model-box .field-attr,
  .bc_search_space .search-model-box .form-date-search,
  .bc_search_space .search-model-box .form-date-search-hotel,
  .bc_search_space .search-model-box .form-select-guests,
  .bc_search_space .search-model-box .capsule-field:not(:first-child),
  .bc_search_space .search-model-box .expedia-field-box.form-date-search-hotel,
  .bc_search_space .search-model-box .col-md-5,
  .bc_search_space .search-model-box [class*="col-"]:has(.form-date-search),
  .bc_search_space .search-model-box [class*="col-"]:has(.form-date-search-hotel),
  .bc_search_space .search-model-box [class*="col-"]:has(.form-select-guests) {
    display: none !important;
  }

  .bc_search_space .search-model-box .field-location,
  .bc_search_space .search-model-box .capsule-field:first-child,
  .bc_search_space .search-model-box [class*="col-"]:has(.smart-search) {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    border-right: none !important;
    border-bottom: none !important;
    padding: 10px 12px !important;
  }
}

/* ==========================================================================
   FILTRE CAPACITÉ (NOMBRE DE GUESTS) : STYLES DESKTOP & MOBILE
   ========================================================================== */
@media (min-width: 992px) {
  .ll-filter-grid-3cols {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 22px !important;
  }
  .ll-filter-grid-3cols .ll-filter-col:not(:last-child) {
    padding-right: 22px !important;
  }
}

.ll-filter-col-guests .ll-scrollable-list {
  max-height: 220px;
  overflow-y: auto;
}

.g-filter-guests .ll-filter-guests-options {
  padding: 6px 0;
}

.g-filter-guests .bc-checkbox label {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.ll-map-guests-item .dropdown-menu {
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(0, 35, 110, 0.22) !important;
  border: 1px solid #E2E8F0 !important;
}

.btn-map-guest-val {
  min-width: 44px;
  font-weight: 600;
  border-radius: 8px !important;
}

.btn-map-guest-val.active {
  background-color: #003580 !important;
  color: #FFFFFF !important;
  border-color: #003580 !important;
}

/* User rule: hide results-actions and mobile-sticky-filter-bar on mobile */
@media (max-width: 767.98px) {
  .ll-space-results-topbar .results-actions {
    display: none !important;
  }
  .ll-mobile-sticky-filter-bar {
    /* display: none !important; */
  }
}