 
 
    .sidebar-container {
      display: flex;
      max-width: 1600px;
      width: 1005;
      margin: 0 auto;
      padding: 20px;
      gap: 20px;
    }

    /* --- Sidebar --- */
    .sidebar-filter{
      width: 350px;
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 15px;
      height: fit-content;
      position: sticky;
    top: 20px; 
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    }

  .sidebar-filter::-webkit-scrollbar {
    width: 6px;
  }
  .sidebar-filter::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 6px;
  }
  .sidebar-filter::-webkit-scrollbar-track {
    background: #f0f0f0;
  }

    .filter-header {
      display: flex;
      justify-content: space-between;
      border-bottom: 1px solid #eee;
    }

    .filter-tab {
    
      text-align: center;
      padding: 12px;
      font-size: 20px;
      font-weight: 600;
      cursor: pointer;
      transition: 0.3s;
    }

    .filter-tab.active {
      border-bottom: 3px solid #fd7e14;
      color: #fd7e14;
    }

    .filter-tab span {
      background: #ff5252;
      color: #fff;
      font-size: 11px;
      padding: 2px 6px;
      border-radius: 12px;
      margin-left: 6px;
    }

    .filter-section {
      display: none;
      padding: 15px 0;
    }

    .filter-section.active {
      display: block;
    }

    .reset-btn {
      display: inline-flex;
      align-items: center;
      cursor: pointer;
      color: #fd7e14;
      font-weight: bold;
      margin-bottom: 15px;
      font-size: 14px;
    }

    .filter-group {
      margin-bottom: 18px;
    }

    .filter-group .title {
      font-weight: bold;
      margin-bottom: 8px;
      font-size: 14px;
    }

    .options-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 6px;
    }

    .options-grid div {
      padding: 8px;
      border: 1px solid #ddd;
      border-radius: 6px;
      text-align: center;
      cursor: pointer;
      background: #f9f9f9;
      font-size: 13px;
      transition: 0.3s;
    }

    .options-grid div:hover,
    .options-grid div.selected {
      background: #009587;
      color: #fff;
      border-color: #009587;
    }

    .filter-group label {
      display: block;
      margin-bottom: 6px;
      font-size: 13px;
      cursor: pointer;
   
    }

    .filter-group input[type="checkbox"],
    .filter-group input[type="radio"] {
      margin-right: 8px;
    }

    /* --- Listings --- */
    .listings {
      flex: 1;
    }

    .listing-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #fff;
      padding: 15px;
      border: 1px solid #ddd;
      border-radius: 8px;
      margin-bottom: 20px;
    }

    .listing-header h2 {
      font-size: 17px;
      font-weight: 600;
      margin: 0;
    }

    .sort-box select {
      padding: 6px 10px;
      border-radius: 6px;
      border: 1px solid #ccc;
      font-size: 13px;
    }

    /* Card Layout */
    .property-card {
      display: flex;
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 12px;
      overflow: hidden;
      margin: 15px 0;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Left Side Image */
    .property-image {
      position: relative;
      width: 35%;
      min-height: 200px;
    }

    .property-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .property-image .badge {
      position: absolute;
      bottom: 10px;
      left: 10px;
      background: linear-gradient(278deg, #fd7e14, #40d9c2);
      color: #fff;
      padding: 5px 10px;
      border-radius: 6px;
      font-size: 12px;
    }

    .btn-photo {
      position: absolute;
      bottom: 10px;
      right: 10px;
      background: rgba(0, 0, 0, 0.6);
      color: #fff;
      padding: 6px 12px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    /* Right Side Details */
    .property-details {
      flex: 1;
      padding: 15px;
    }

    .property-details .title {
      margin: 0;
      font-size: 18px;
      font-weight: bold;
    }

    .property-details .location {
      font-size: 14px;
      color: #555;
    }

    .property-details .location a {
      margin-left: 8px;
      color: #fd7e14;
      text-decoration: underline;
    }
/* Price Section */
.price-info {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
  text-align: center;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.price-info div {
  flex: 1;
  padding: 12px;
  border-right: 1px solid #eee;
}
.price-info div:last-child {
  border-right: none;
}

.price-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}
.price-info p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #777;
}

/* Features Section */
.features {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.features div {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-right: 1px solid #eee;
}
.features div:last-child {
  border-right: none;
}

.features i {
  font-size: 18px;
  margin-bottom: 5px;
  color: #fd7e14;
  display: block;
}

.features strong {
  font-size: 14px;
  color: #222;
  display: block;
}
.features p {
  font-size: 12px;
  color: #777;
  margin: 3px 0 0;
}

/* Actions Section */
.actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.actions i {
  margin-right: 6px;
}

.sidebar-btn{
  flex: 1;
  padding: 12px;
  background: #fd7e14;
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-btn:hover {
  color: #343a40;
}

.btn-outline {
  flex: 1;
  padding: 12px 15px;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-outline:hover {
  background: #f5f5f5;
}
/* Filter Group wrapper */
.filter-group {
  background: #fff;
  padding: 12px 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  font-family: Arial, sans-serif;
}

/* Filter rows */
.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.nb-checkbox {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.nb-checkbox input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #fd7e14;
}

.offer-tag {
  background: #fd7e14;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 10px;
}

/* Price range label */
.filter-label {
  font-weight: 600;
  font-size: 14px;
  color: #444;
  margin-right: 5px;
}

.filter-value {
  font-size: 14px;
  color: #222;
  font-weight: bold;
}

/* Range slider sidebar-container */
.price-slider {
  position: relative;
  height: 35px;
}

.price-slider input[type="range"] {
  position: absolute;
  width: 100%;
  pointer-events: none; 
  -webkit-appearance: none;
  background: transparent;
}

/* Track */
.price-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: #ddd;
  border-radius: 2px;
}

.price-slider input[type="range"]::-moz-range-track {
  height: 4px;
  background: #ddd;
  border-radius: 2px;
}

/* Thumb */
.price-slider input[type="range"]::-webkit-slider-thumb {
  pointer-events: all;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fd7e14;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -6px; 
  position: relative;
  top: 2px;
  z-index: 2;
}

.price-slider input[type="range"]::-moz-range-thumb {
  pointer-events: all;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fd7e14;
  border: none;
  cursor: pointer;
}
.filters-box {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
  width: 280px;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: bold;
  font-size: 14px;
}

.premium-tab {
  color: #009587;
  cursor: pointer;
  margin-left: 10px;
  position: relative;
}

.premium-tab.active {
  border-bottom: 2px solid #009587;
  padding-bottom: 3px;
}



.filter-label {
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
}

.show-options, .floor-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-btn, .floor-btn {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.option-btn:hover, .floor-btn:hover {
  border-color: #009587;
  color: #009587;
}

.new-badge {
  background: #f44336;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 5px;
}

/* =================== RESPONSIVE =================== */

/* --- Tablet --- */
@media (max-width: 1024px) {
  .sidebar-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    order: 1;
  }

  .listings {
    order: 2;
  }

  .property-card {
    flex-direction: column;
  }

  .property-image {
    width: 100%;
    height: 220px;
  }

  .actions {
    flex-direction: row;
  }
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .listing-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .property-card {
    flex-direction: column;
  }

  .property-image {
    width: 100%;
    height: 200px;
  }

  .property-details {
    padding: 12px;
  }

  .price-info,
  .features {
    flex-direction: column;
  }
  .price-info div,
  .features div {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  .price-info div:last-child,
  .features div:last-child {
    border-bottom: none;
  }

  .actions {
    flex-direction: column;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .filter-header {
    flex-wrap: wrap;
  }
  .filter-tab {
    flex: 1 1 50%;
  }
}

/* --- Small Mobile --- */
@media (max-width: 480px) {
  .sidebar-container {
    padding: 10px;
  }

  .listing-header h2 {
    font-size: 14px;
  }

  .btn-primary,
  .btn-outline {
    font-size: 13px;
    padding: 10px;
  }

  .options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
 