/* ── Disable WOW.js animations inside the models panel ───── */
#customPanel .wow {
  visibility: visible !important;
  animation: none !important;
  animation-duration: 0s !important;
  transition: none !important;
}

/* ── Backdrop ─────────────────────────────────────────────── */
.custom-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1040;
  display: none;
}
.custom-backdrop.active {
  display: block;
}

/* ── Models slide-in panel ────────────────────────────────── */
.custom-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 92vw;
  height: 100%;
  background: #fff;
  box-shadow: -3px 0 12px rgba(0, 0, 0, 0.18);
  transition: right 0.3s ease;
  z-index: 1050;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}
.custom-panel.open {
  right: 0;
}

/* ── Panel header ─────────────────────────────────────────── */
.custom-panel .custom-panel-title {
  display: block;
  padding: 16px 52px 16px 20px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid #dde3ee;
  color: #fff;
  background: var(--main-color);
  flex-shrink: 0;
}

/* ── Close button ─────────────────────────────────────────── */
.custom-panel .close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 34px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.75);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}
.custom-panel .close-btn:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);
}

/* ── Lot map sidebar (left filter column) ─────────────────── */
.lot-sidebar {
  width: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .lot-sidebar-body {
    display: block !important;
  }
  .lot-sidebar-toggle-btn {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .lot-sidebar {
    width: 100%;
    border-bottom: 2px solid #dee2e6;
  }

  .lot-sidebar-toggle-cb {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }

  .lot-sidebar-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    color: #495057;
    user-select: none;
  }

  .lot-sidebar-toggle-btn .sidebar-chevron {
    font-size: 12px;
    color: #adb5bd;
    transition: transform 0.2s ease;
  }

  .lot-sidebar-toggle-cb:checked ~ .lot-sidebar-toggle-btn .sidebar-chevron {
    transform: rotate(180deg);
  }

  .lot-sidebar-body {
    display: none;
  }

  .lot-sidebar-toggle-cb:checked ~ .lot-sidebar-body {
    display: block;
  }

  .lot-sidebar-body .border-bottom {
    padding: 10px 12px !important;
  }

  #lotmap {
    height: 55vh !important;
  }
}

/* ── Phase pills ──────────────────────────────────────────── */
.lot-info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid #dee2e6;
}
.lot-info-pills a {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  background: #f0f0f0;
  color: #333;
  text-decoration: none;
  transition: background 0.15s ease;
}
.lot-info-pills a:hover {
  background: #dde0e4;
}

/* ── Inquire off-canvas body ──────────────────────────────── */
.inquire-body {
  background-color: rgba(66, 87, 127, 0.15);
}

/* ── Model cards inside the panel ────────────────────────── */
#customPanel #id2 {
  padding-bottom: 24px;
  background: #f4f6f9;
  min-height: 100%;
}

#customPanel .model-card,
#customPanel .bp-model-card {
  margin: 0 12px 10px;
  border: 1.5px solid #e4e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

#customPanel .model-card:first-child,
#customPanel .bp-model-card:first-child {
  margin-top: 12px;
}

#customPanel .model-card:hover,
#customPanel .bp-model-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
  border-color: #c8d1e0;
}

#customPanel .selected-model {
  border-color: #42577f;
  border-width: 2px;
  box-shadow: 0 0 0 3px rgba(66, 87, 127, 0.12);
}

#customPanel .selected-model:hover {
  transform: none;
}

/* Empty / status message */
/* #customPanel #lblModelAvailable {
  display: block;
  padding: 48px 20px;
  text-align: center;
  color: #adb5bd;
  font-size: 0.85rem;
} */

/* ── Utility ──────────────────────────────────────────────── */
.btn-style {
  background-color: #374151;
  color: #fff;
  border-radius: 30px;
  cursor: pointer;
}

.amenity-link {
  color: #de5945;
  cursor: pointer;
}

.custom-responsive-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}
@media (min-width: 992px) {
  .custom-responsive-list {
    flex-direction: column;
  }
}
