:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --primary-light: #e7f1ff;
    --primary-surface: rgba(13, 110, 253, 0.07);
    --primary-surface-hover: rgba(13, 110, 253, 0.14);
    --primary-ring: rgba(13, 110, 253, 0.15);
    --primary-shadow: rgba(13, 110, 253, 0.28);
    --btn-outline-border: 1.5px solid var(--primary-color);
    --bg-light: #f6f7f9;
    --border-color: #ddd;
    --text-dark: #0d1b2a;
}

.pd-listing-page {
    min-height: 100vh;
    background: linear-gradient(
    180deg,
    #f5f8fc 0%,
    #f8fafd 100%
);
}

.pd-listing-page.container-fluid {
    padding-left: 80px;
    padding-right: 80px;
}


/* -------------------- SEARCH BAR -------------------- */
.search-bar {   
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    overflow: visible;
    position: relative;
    z-index: 1000; /* stays above other elements in page */
}

.search-bar select,
.search-bar input {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    min-width: 120px;
}

.search-bar input {
    flex: 1;
}

.search-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    white-space: nowrap;
}

/* -------------------- FILTER ROW -------------------- */
.filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.filter-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.filter-desc {
    margin: 0;
    font-size: 12px;
    color: #778ca3;
}

/* -------------------- SWITCH -------------------- */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: '';
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

/* -------------------- AMENITIES -------------------- */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 10px;
}

.amenities-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

/* -------------------- PROPERTY LIST -------------------- */
.property-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Override global .property-item (homepage slider) on listing cards */
.property-list .property-card-new.property-item {
    flex: none;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    min-height: 0;
}

.property-card-new {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.04);
    position: relative;
    cursor: pointer;
}

/* Listing card link + share (same pattern as landing) */
.property-list .property-card-new .property-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
    border-radius: 18px;
    text-decoration: none;
}

.property-list .property-card-new .property-card-link:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.property-list .property-card-new .property-left,
.property-list .property-card-new .property-right {
    pointer-events: none;
}

.property-list .property-card-new .property-actions,
.property-list .property-card-new .property-actions *,
.property-list .property-card-new .property-top .icon-box,
.property-list .property-card-new .btn-share-property,
.property-list .property-card-new .btn-contact-property,
.property-list .property-card-new .pd-area-inline,
.property-list .property-card-new .listing-area-unit {
    pointer-events: auto;
}

.property-list .property-card-new .property-actions,
.property-list .property-card-new .property-top .icon-box,
.property-list .property-card-new .btn-share-property,
.property-list .property-card-new .btn-contact-property,
.property-list .property-card-new .pd-area-inline {
    position: relative;
    z-index: 2;
}

.property-list .property-card-new .btn-share-property {
    flex-shrink: 0;
}

/* LEFT IMAGE */
.property-left {
    flex: 0 0 260px;
    width: 260px;
    max-width: 260px;
    min-width: 260px;
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-img-new {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 170px;
    min-height: 170px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

.property-image-slider {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    height: 170px;
    min-height: 170px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    pointer-events: auto;
}

.property-video-shell {
    position: relative;
    width: 100%;
    height: 170px;
    min-height: 170px;
}

.property-image-slider .property-img-new {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 100%;
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.property-image-slider .property-img-new.active {
    opacity: 1;
}

.property-video-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    padding: 10px 12px 8px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.72) 42%, rgba(0,0,0,0.86) 100%);
}

.property-video-controls__row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 12px;
    margin-bottom: 6px;
}

.property-video-control {
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.property-video-controls__time {
    min-width: 72px;
    color: #fff;
    font-size: 12px;
}

.property-video-control--fullscreen {
    margin-left: auto;
}

.property-video-controls__progress {
    width: 100%;
    margin: 0;
}

.property-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.property-slider-prev {
    left: 8px;
}

.property-slider-next {
    right: 8px;
}

.property-slider-indicator {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

.property-slider-dots {
    display: flex;
    align-items: center;
    gap: 4px;
}

.property-slider-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.property-slider-dot.active {
    background: #fff;
}

/* RIGHT SIDE */
.property-right {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* TOP */
.property-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.property-top-main {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.property-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.property-list .property-card-new .property-title-block {
    flex: 1 1 auto;
    min-width: 0;
}

.property-list .property-card-new .property-title-block .property-location {
    margin-top: 4px;
    margin-bottom: 0;
    font-size: 15px;
}

.property-list .property-card-new .property-title {
    font-size: 18px;
    line-height: 1.2;
}

.property-list .property-card-new .property-posted-time {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

.property-list .property-card-new .property-posted-time i {
    font-size: 0.85rem;
    color: #64748b;
}

.property-list .property-card-new .property-details .label {
    font-size: 14px;
}

.property-list .property-card-new .property-details .value {
    font-size: 15px;
}

.property-title-row .property-title {
    flex: 1 1 auto;
    min-width: 0;
}

.property-title-row__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.property-posted-time {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
    line-height: 1.2;
}

.property-posted-time i {
    font-size: 0.72rem;
    color: #94a3b8;
}

.property-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.property-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.property-location {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
}

/* HEART ICON */
.top-icon {
    width: 22px;
    height: 22px;
    cursor: pointer;
    opacity: 0.7;
}

/* GRID */
.property-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 18px;
    gap: 15px 40px;
}

.label {
    font-size: 13px;
    color: #94a3b8;
}

.value {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

/* BUTTONS */
.property-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.btn-main {
    flex: 1;
    background: var(--primary-surface);
    color: var(--primary-color);
    border: var(--btn-outline-border);
    padding: 7px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-main:hover:not(:disabled):not(.is-connected) {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px var(--primary-shadow);
}

.property-details .value.value--price {
    color: var(--primary-color);
    font-weight: 700;
}

.property-details .pd-area-inline {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.property-details .pd-area-number {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.property-details .pd-area-unit-select {
    min-width: 4.5rem;
    max-width: 6rem;
    padding: 0.15rem 1.5rem 0.15rem 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.35;
    color: #0d6efd;
    border: 1px solid rgba(13, 110, 253, 0.45);
    border-radius: 8px;
    background: rgba(13, 110, 253, 0.07)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%230d6efd' d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E")
        no-repeat right 0.4rem center / 0.65rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.property-details .pd-area-unit-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.12rem rgba(13, 110, 253, 0.15);
    outline: none;
}

/* ICON BUTTONS */
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.icon-box img {
    width: 20px;
    height: 20px;
}

.label {
    font-size: 12px;
    color: #888;
}

.value {
    font-size: 13px;
    font-weight: 600;
}

.btn-orange {
    background: var(--primary-surface);
    color: var(--primary-color);
    border: var(--btn-outline-border);
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: 600;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.btn-orange:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.icon-btn {
    border: 1px solid var(--border-color);
    background: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: auto;
    outline: none;
    transition: border-color 0.2s;
}

.icon-btn:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-ring);
}

.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    margin-bottom: 15px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 40px rgba(15, 23, 42, 0.06);
}

.loan-box {
    border: 1px dashed var(--primary-color);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.filter-btn {
    border: 1px solid var(--border-color);
    background: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.filter-btn:hover,
#filterPanel .main-filter-btn:hover,
#constructionStatusSection .filter-btn:hover,
#postedBySection .filter-btn:hover,
#localitiesSection .filter-btn:hover,
#projectSocietySection .filter-btn:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

.filter-btn.active,
#filterPanel .main-filter-btn.active,
#constructionStatusSection .filter-btn.active,
#postedBySection .filter-btn.active,
#localitiesSection .filter-btn.active,
#projectSocietySection .filter-btn.active {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    font-weight: 600;
}

/* -------------------- FILTER PANEL -------------------- */
#filterPanel::-webkit-scrollbar {
    display: none;
}

@media (min-width: 992px) {
    #filterPanel.filter-sidebar::-webkit-scrollbar {
        display: block;
        width: 6px;
    }
}

/* Above .main-header (wishlist.css z-index: 9999) and Bootstrap sticky-top */
#filterOverlay {
    display: none;
}

#openFilter {
    display: none;
}

#closeFilter {
    display: none;
}

/* Desktop sticky filter — see @media (min-width: 992px) .pd-filter-column */

body.filter-panel-open .main-header {
    z-index: 1 !important;
}

/* Header welcome + profile icon must stay visible on this page (Desktop only) */
@media (min-width: 992px) {
  .main-header .pd-header-actions {
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
      flex-shrink: 0;
  }

  .main-header .pd-welcome,
  .main-header .pd-profile-trigger,
  .main-header .pd-profile-trigger i {
      visibility: visible !important;
      opacity: 1 !important;
  }
}

.filter-content {
    padding: 20px;
}

.filter-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    background: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #eee;
    z-index: 10;
    text-align: center;
}

.clear-text-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    padding: 0;
}

.view-results-btn {
    background: var(--primary-surface);
    color: var(--primary-color);
    border: var(--btn-outline-border);
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: none;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.view-results-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px var(--primary-shadow);
}

/* -------------------- FILTER HEADER -------------------- */
.filter-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 20; /* above filter content */
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* -------------------- CUSTOM SELECT & DROPDOWN -------------------- */
.custom-select-box {
    position: relative;
    width: 100%;
    z-index: 1001; /* above other dropdowns */
}

/* Scoped to search/filter UI only — do not affect .main-header profile/city dropdowns */
.search-bar .dropdown,
.custom-select-box .dropdown,
#filterPanel .dropdown {
    position: absolute;
    top: 105%;
    left: 0;
    right: auto;
    width: max-content;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    z-index: 999999 !important;
    display: none; 
}

.search-bar .dropdown[style*="display: block"],
.custom-select-box .dropdown[style*="display: block"],
#filterPanel .dropdown[style*="display: block"] {
    display: block !important; 
}

.search-bar .options-grid,
.custom-select-box .options-grid,
#filterPanel .options-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 10px;
    margin-bottom: 20px;
    background: transparent !important;
}

.search-bar .group,
.custom-select-box .group,
#filterPanel .group {
    grid-column: span 3; 
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8 !important;
    text-transform: uppercase;
    margin: 10px 0 10px 5px;
    background: transparent !important;
}

.search-bar .option,
.custom-select-box .option,
#filterPanel .option {
    background: #f8fafc !important;
    border: 1px solid #edf2f7 !important;
    padding: 10px 5px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    color: #334155 !important;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar .option:hover,
.custom-select-box .option:hover,
#filterPanel .option:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.search-bar .option.active,
.custom-select-box .option.active,
#filterPanel .option.active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    font-weight: 600;
}

/* -------------------- BHK -------------------- */
.bhk-container {
    margin: 15px 0;
}

.bhk-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.bhk-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap; 
}

.bhk-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    color: #475569;
}

.bhk-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.bhk-btn.active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    font-weight: 600;
}

.bhk-bar-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 5px 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.bhk-label-text {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
}

.bhk-bar-group {
    display: flex;
    gap: 5px;
}

.bhk-bar-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s ease;
}

.bhk-bar-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.bhk-bar-btn.active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    font-weight: 600;
}

/* -------------------- LOAN CARD -------------------- */
.loan-card {
    background: #f6f7f9;
    border-radius: 16px;
    padding: 20px;
    border: none;
}

.loan-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.loan-header h6 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.loan-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 22px;
}

.loan-desc {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 20px;
}

.btn-loan-outline {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: var(--btn-outline-border);
    background: var(--primary-surface);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-loan-outline:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Market insights — hidden source + in-list slots (left column only) */
.row > .col-lg-8 {
  position: relative;
}

.pd-insights-source {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pd-insights-source.is-loading,
.pd-property-insights.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.property-list .pd-list-insight-slot {
  width: 100%;
  margin: 1.25rem 0 1.5rem;
  clear: both;
  white-space: normal;
}

.property-list .pd-list-insight-slot .container {
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

.property-list .pd-list-insight-slot section {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.property-list .pd-list-insight-slot .section-title {
  font-size: 1.2rem;
  white-space: normal !important;
}

.property-list .pd-list-insight-slot .section-subtitle {
  font-size: 0.875rem;
  white-space: normal !important;
}

#propertyListRow:not(.filters-closed) .property-list .pd-list-insight-slot .row.g-4 > [class*="col-lg-3"],
#propertyListRow:not(.filters-closed) .property-list .pd-list-insight-slot .row.g-4 > [class*="col-md-6"] {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  #propertyListRow:not(.filters-closed) .property-list .pd-list-insight-slot .row.g-4 > [class*="col-md-6"] {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* iPad portrait + filter OFF: single row, exactly 2 cards */
  #propertyListRow.filters-closed .property-list .pd-list-insight-slot[data-insight-section="pd-section-hotspots"] .row.g-4,
  #propertyListRow.filters-closed .property-list .pd-list-insight-slot[data-insight-section="pd-section-corridors"] .row.g-4 {
    flex-wrap: nowrap !important;
  }

  #propertyListRow.filters-closed .property-list .pd-list-insight-slot[data-insight-section="pd-section-hotspots"] .row.g-4 > [class*="col-"],
  #propertyListRow.filters-closed .property-list .pd-list-insight-slot[data-insight-section="pd-section-corridors"] .row.g-4 > [class*="col-"] {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }

  #propertyListRow.filters-closed .property-list .pd-list-insight-slot[data-insight-section="pd-section-top-projects"] .top-projects-track,
  #propertyListRow.filters-closed .property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-agents"] #similarAgentsContainer,
  #propertyListRow.filters-closed .property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-builders"] #similarBuildersContainer,
  #propertyListRow.filters-closed .property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .pd-similar-listings--grid {
    display: flex !important;
    flex-wrap: nowrap !important;
  }

  #propertyListRow.filters-closed .property-list .pd-list-insight-slot[data-insight-section="pd-section-top-projects"] .top-projects-track > .top-project-item,
  #propertyListRow.filters-closed .property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-agents"] #similarAgentsContainer > .similar-agent-item,
  #propertyListRow.filters-closed .property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-builders"] #similarBuildersContainer > .similar-builder-item,
  #propertyListRow.filters-closed .property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .pd-similar-listings--grid > .property-item {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }

}

#propertyListRow:not(.filters-closed) .property-list .pd-list-insight-slot .top-projects-track > .top-project-item {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  #propertyListRow:not(.filters-closed) .property-list .pd-list-insight-slot .top-projects-track > .top-project-item {
    flex: 0 0 50%;
    max-width: 50%;
  }

  #propertyListRow.filters-closed .property-list .pd-list-insight-slot .top-projects-track > .top-project-item {
    flex: 0 0 25%;
    max-width: 25%;
  }

  #propertyListRow:not(.filters-closed) .property-list .pd-list-insight-slot #similarAgentsContainer > .similar-agent-item,
  #propertyListRow:not(.filters-closed) .property-list .pd-list-insight-slot #similarBuildersContainer > .similar-builder-item {
    flex: 0 0 50%;
    max-width: 50%;
  }

  #propertyListRow.filters-closed .property-list .pd-list-insight-slot #similarAgentsContainer > .similar-agent-item,
  #propertyListRow.filters-closed .property-list .pd-list-insight-slot #similarBuildersContainer > .similar-builder-item {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

/* Listing — even spacing between owner / verified insight sections */
.property-list .pd-list-insight-slot[data-insight-section="pd-section-owner-posted-properties"],
.property-list .pd-list-insight-slot[data-insight-section="pd-section-owner-standard-properties"],
.property-list .pd-list-insight-slot[data-insight-section="pd-section-owner-luxury-properties"],
.property-list .pd-list-insight-slot[data-insight-section="pd-section-verified-properties"] {
  margin: 0.5rem 0 0.625rem;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-owner-posted-properties"] + .pd-list-insight-slot[data-insight-section="pd-section-owner-standard-properties"],
.property-list .pd-list-insight-slot[data-insight-section="pd-section-owner-standard-properties"] + .pd-list-insight-slot[data-insight-section="pd-section-owner-luxury-properties"],
.property-list .pd-list-insight-slot[data-insight-section="pd-section-owner-luxury-properties"] + .pd-list-insight-slot[data-insight-section="pd-section-verified-properties"] {
  margin-top: 0.375rem;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-owner-posted-properties"] .owner-posted-properties-pagination,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-owner-standard-properties"] .owner-posted-properties-pagination,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-owner-luxury-properties"] .owner-posted-properties-pagination,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-verified-properties"] .owner-posted-properties-pagination {
  margin-top: 0.75rem;
}

/* Listing — even spacing around What is RERA? teaser */
.property-list .pd-list-insight-slot[data-insight-section="pd-section-rera-info"] {
  margin: 0.5rem 0 0.625rem;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-rera-info"] .rera-teaser {
  padding: 0 !important;
  background: transparent !important;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-rera-info"] section.rera-teaser {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-rera-info"] .rera-teaser .container {
  padding-left: 0;
  padding-right: 0;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-rera-info"] .rera-teaser-card {
  width: 100%;
  padding: clamp(1.15rem, 2.5vw, 1.5rem) clamp(1rem, 2.5vw, 1.25rem);
}

/* Listing — compact spacing for selected insight sections only */
.property-list .pd-list-insight-slot[data-insight-section="pd-section-top-projects"],
.property-list .pd-list-insight-slot[data-insight-section="pd-section-seo-links"],
.property-list .pd-list-insight-slot[data-insight-section="pd-section-hotspots"],
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-agents"],
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-builders"],
.property-list .pd-list-insight-slot[data-insight-section="pd-section-popular-properties-seo"] {
  margin: 0.5rem 0 0.625rem;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-top-projects"] .top-projects-section,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-seo-links"] .seo-internal-links-section,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-hotspots"] .property-hotspots-section,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-agents"] .similar-agents-section,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-builders"] .similar-builders-section,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-popular-properties-seo"] .popular-properties-seo-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
  border-top: none !important;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-top-projects"] .top-projects-section__header,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-hotspots"] .mb-4,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-agents"] .d-flex.justify-content-between,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-builders"] .d-flex.justify-content-between,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-seo-links"] .seo-internal-links__header,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-popular-properties-seo"] .popular-properties-seo__header {
  margin-bottom: 0.75rem !important;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-seo-links"] .seo-internal-links-section .container,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-popular-properties-seo"] .popular-properties-seo-section .container {
  padding: 1.15rem 1.25rem;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-agents"] .similar-agents-card-wrapper,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-builders"] .similar-builders-card-wrapper {
  padding: 1.15rem;
  border-radius: 16px;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-top-projects"] .properties-pagination,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-hotspots"] .properties-pagination {
  margin-top: 0.75rem !important;
  padding-top: 0.5rem !important;
}

/* Listing — tighter gap between Growth Corridors and Top Projects */
.property-list .pd-list-insight-slot[data-insight-section="pd-section-corridors"] {
  margin-bottom: 0.375rem;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-corridors"] + .pd-list-insight-slot[data-insight-section="pd-section-top-projects"] {
  margin-top: 0.25rem;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-corridors"] .growth-corridors-section {
  padding-bottom: 0 !important;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-corridors"] .properties-pagination {
  margin-top: 0.75rem !important;
  padding-top: 0.5rem !important;
  margin-bottom: 0;
}

/* Removed padding-left: 0; padding-right: 0; overrides to allow standard budget explorer card paddings to apply */

.property-list .pd-list-insight-slot .hotspot-card,
.property-list .pd-list-insight-slot .growth-corridor-card,
.property-list .pd-list-insight-slot .owner-posted-card {
  min-height: auto;
}

/* Listing Similar Properties: grid + pagination. Detail/project pages keep their slider styles. */
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] {
  margin: 0.5rem 0 0.625rem;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .pd-similar-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
  border-top: none !important;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .similar-properties-card-wrapper {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .pd-section-title {
  color: #0f172a;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .pd-section-title .bi {
  color: #ff7a1a;
  font-size: 1.25rem;
  margin-right: 0.35rem;
  vertical-align: 0.02em;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .pd-section-title + .text-muted {
  color: #475569 !important;
  font-size: 1rem !important;
  margin-top: 0.35rem;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .similar-properties-card-wrapper .pagination-arrows {
  margin-left: auto;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .similar-properties-card-wrapper .owner-posted-properties__arrow {
  width: 40px;
  height: 40px;
  color: #0f172a;
  border-color: #cbd5e1;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .similar-properties-card-wrapper .owner-posted-properties__arrow:hover:not(:disabled),
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .similar-properties-card-wrapper .owner-posted-properties__arrow:active:not(:disabled) {
  color: #ffffff;
  border-color: #0d6efd;
  background-color: #0d6efd;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .similar-properties-card-wrapper .owner-posted-properties__arrow:disabled {
  color: #94a3b8;
  border-color: #e2e8f0;
  background-color: #ffffff;
  opacity: 0.7;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .pd-similar-listings--grid {
  align-items: stretch;
  overflow: visible;
  padding-top: 0.5rem;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .pd-similar-listings--grid > .property-item > .property-card {
  width: 100%;
  min-width: 0;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .similar-properties-pagination {
  margin-top: 0.75rem;
  text-align: center;
}

.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .similar-properties-pagination .pagination-text {
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Similar Properties cards: full-card click support for listing + detail pages */
.pd-detail-page .pd-similar-section .property-card,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .property-card {
  position: relative;
  cursor: pointer;
}

.pd-detail-page .pd-similar-section .property-card-link,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .property-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
  border-radius: inherit;
  text-decoration: none;
}

.pd-detail-page .pd-similar-section .property-card-body,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .property-card-body {
  pointer-events: auto;
}

.pd-detail-page .pd-similar-section .property-image .pd-wishlist-btn,
.pd-detail-page .pd-similar-section .property-image [data-no-card-nav],
.pd-detail-page .pd-similar-section .carousel-indicators,
.pd-detail-page .pd-similar-section .carousel [data-bs-slide],
.pd-detail-page .pd-similar-section .carousel [data-bs-target],
.pd-detail-page .pd-similar-section .property-card-actions,
.pd-detail-page .pd-similar-section .property-card-actions *,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .property-image .pd-wishlist-btn,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .property-image [data-no-card-nav],
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .carousel-indicators,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .carousel [data-bs-slide],
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .carousel [data-bs-target],
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .property-card-actions,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .property-card-actions * {
  pointer-events: auto;
}

.pd-detail-page .pd-similar-section .property-image .pd-wishlist-btn,
.pd-detail-page .pd-similar-section .property-card-actions,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .property-image .pd-wishlist-btn,
.property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .property-card-actions {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .similar-properties-card-wrapper {
    padding: 1.25rem;
    border-radius: 20px;
  }

  .property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .pd-similar-listings--grid > .property-item,
  #propertyListRow.filters-closed .property-list .pd-list-insight-slot[data-insight-section="pd-section-similar-properties"] .pd-similar-listings--grid > .property-item {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* -------------------- DROPDOWN BUDGET -------------------- */
.dropdown-budget {
    width: auto;
    min-width: 220px;
}

.dropdown-budget .options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dropdown-budget .option {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.dropdown-budget .option:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* -------------------- DROPDOWN PURPOSE -------------------- */
.dropdown-purpose {
    width: 300px;
}

.dropdown-purpose .options-grid {
    grid-template-columns: repeat(3, minmax(80px, 1fr));
}

.dropdown-bhk .options-grid {
    grid-template-columns: repeat(3, minmax(70px, 1fr));
}

.dropdown-budget .options-grid {
    grid-template-columns: repeat(2, 1fr);
}

.filter-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 20;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* -------------------- PROPERTY CARD RESPONSIVE (stay side-by-side) -------------------- */
@media (max-width: 991px) {
    .property-card-new {
        gap: 16px;
        padding: 14px;
    }

    .property-left {
        flex: 0 0 200px;
        width: 200px;
        max-width: 200px;
        min-width: 200px;
    }

    .property-img-new {
        height: 140px;
        min-height: 140px;
    }

    .property-image-slider {
        height: 140px;
        min-height: 140px;
    }

    .property-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 24px;
    }
}

@media (max-width: 576px) {
    .property-card-new {
        gap: 12px;
        padding: 12px;
    }

    .property-left {
        flex: 0 0 120px;
        width: 120px;
        max-width: 120px;
        min-width: 120px;
    }

    .property-img-new {
        height: 100px;
        min-height: 100px;
        border-radius: 10px;
    }

    .property-image-slider {
        height: 100px;
        min-height: 100px;
        border-radius: 10px;
    }

    .property-image-slider .property-img-new {
        border-radius: 10px;
    }

    .property-slider-arrow {
        width: 24px;
        height: 24px;
        font-size: 18px;
    }

    .property-slider-prev {
        left: 6px;
    }

    .property-slider-next {
        right: 6px;
    }

    .property-title {
        font-size: 16px;
    }

    .property-list .property-card-new .property-title-block .property-location {
        margin-top: 3px;
        font-size: 13px;
    }

    .property-list .property-card-new .property-title {
        font-size: 16px;
    }

    .property-list .property-card-new .property-posted-time {
        font-size: 0.8125rem;
    }

    .property-list .property-card-new .property-posted-time i {
        font-size: 0.8rem;
    }

    .property-list .property-card-new .property-details .label {
        font-size: 13px;
    }

    .property-list .property-card-new .property-details .value {
        font-size: 14px;
    }

    .property-posted-time {
        font-size: 0.68rem;
    }

    .property-title-row__actions {
        gap: 0.35rem;
    }

    .property-location {
        font-size: 12px;
    }

    .property-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 12px;
        margin-top: 12px;
    }

    .property-details .value {
        font-size: 14px;
    }

    .property-actions {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 14px;
    }

    .property-actions .btn-main {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
        font-size: 13px;
        padding: 8px 6px;
    }

    .property-actions .icon-box {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
}
.property-card-new .pd-wishlist-btn {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}

.property-card-new .pd-wishlist-btn i {
    color: #94a3b8 !important;
    font-size: 20px;
}

.property-card-new .pd-wishlist-btn.wishlist-added i {
    color: #dc3545 !important;
}

@media (min-width: 992px) {
    /* Sticky needs visible overflow on ancestors (see responsive-global.css). */
    .pd-listing-page,
    #propertyListRow {
        overflow: visible;
    }

    .row > .col-lg-8 {
        flex: 0 0 68%;
        max-width: 68%;
    }

    #propertyListRow > .col-lg-4.pd-filter-column,
    .row > .col-lg-4,
    .row > .col-lg-4.pd-filter-column {
        flex: 0 0 32%;
        max-width: 32%;
        align-self: flex-start;
        position: sticky;
        top: calc(var(--pd-topbar-h, 36px) + var(--pd-header-h, 72px) + 12px);
        z-index: 20;
    }

    #filterPanel.sidebar-card.filter-sidebar {
        width: 100%;
        max-height: calc(100vh - var(--pd-topbar-h, 36px) - var(--pd-header-h, 72px) - 24px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }

    #filterPanel.sidebar-card.filter-sidebar::-webkit-scrollbar {
        display: block;
        width: 6px;
    }

    #filterPanel.sidebar-card.filter-sidebar::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 999px;
    }

    body.filter-panel-open .row > .col-lg-4.pd-filter-column {
        position: static;
    }
}
.search-bar .custom-select-box {
    position: relative;
}

.search-bar .custom-select-box::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #6b7280;
    border-bottom: 2px solid #6b7280;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.search-bar .custom-select-box input {
    padding-right: 40px;
    cursor: pointer;
}
#filterPanel .filter-header {
    position: relative;
    padding: 0 0 18px 0;
    margin-bottom: 18px;
    border-bottom: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#filterPanel .filter-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    margin-left: auto;
}

#filterPanel .filter-header-close {
    font-size: 13px;
    opacity: 0.65;
}

#filterPanel .filter-header-close:hover {
    opacity: 1;
}

#filterPanel .filter-header h5 {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    color: #1f2937;
    line-height: 1;
}

#filterPanel .filter-header .clear-text-btn {
    margin: 0;
    padding: 0;
    line-height: 1;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
}

#filterPanel .filter-header .clear-text-btn[hidden] {
    display: none !important;
}
#filterPanel .filter-section {
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

#filterPanel .filter-section > h6 {
    margin: 0;
    font-size: 16px !important;
    font-weight: 600;
    color: #001f3f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    line-height: 22px;
}

#filterPanel .filter-section > h6::after {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid #1f2937;
    border-bottom: 2px solid #1f2937;
    transform: rotate(45deg);
    transition: 0.2s;
}

#filterPanel .filter-section.collapsed > h6::after {
    transform: rotate(-135deg);
}

#filterPanel .filter-section.collapsed .filter-section-body {
    display: none !important;
}

#filterPanel .filter-section-body {
    margin-top: 16px;
}

#filterPanel hr {
    display: none;
}
#filterPanel .filter-header {
    margin-bottom: 8px;
}
#filterPanel .filter-header h5 {
    font-size: 20px !important;
    font-weight: 500 !important;
}

#filterPanel .filter-header {
    padding-bottom: 16px !important;
    margin-bottom: 4px !important;
}

#filterPanel .filter-row {
    padding: 14px 0 !important;
    border-bottom: 1px solid #e5e7eb;
}

#filterPanel .filter-title {
    font-size: 15px !important;
    font-weight: 600 !important;
}

#filterPanel .filter-desc {
    font-size: 13px !important;
}
#filterPanel .filter-dropdown-box {
  width: 100%;
}

#filterPanel .filter-dropdown-box .form-select {
  width: 100%;
  height: 42px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
}

#filterPanel .filter-dropdown-box .dropdown {
  width: 100%;
  min-width: 260px;
  left: 0;
}

#filterPanel .pd-main-filter-section h6 {
  margin-bottom: 10px !important;
}
#filterPanel .main-filter-btn {
  border-radius: 20px !important;
  padding: 6px 14px !important;
  background: #fff !important;
  border: 1px solid var(--border-color) !important;
  font-size: 13px !important;
  color: #000 !important;
}

#constructionStatusSection .filter-btn {
  border-radius: 20px !important;
  padding: 6px 14px !important;
  background: #fff !important;
  border: 1px solid var(--border-color) !important;
  font-size: 13px !important;
  color: #000 !important;
}

#postedBySection .filter-btn {
  border-radius: 20px !important;
  padding: 6px 14px !important;
  background: #fff !important;
  border: 1px solid var(--border-color) !important;
  font-size: 13px !important;
  color: #000 !important;
}

#localitiesSection .filter-btn {
  border-radius: 20px !important;
  padding: 6px 14px !important;
  background: #fff !important;
  border: 1px solid var(--border-color) !important;
  font-size: 13px !important;
  color: #000 !important;
}

#projectSocietySection .filter-btn {
  border-radius: 20px !important;
  padding: 6px 14px !important;
  background: #fff !important;
  border: 1px solid var(--border-color) !important;
  font-size: 13px !important;
  color: #000 !important;
}

#projectSocietySection .more-societies-btn {
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  font-weight: 600;
}
#filterPanel .covered-area-header {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    margin-bottom: 12px !important;
}

#filterPanel .covered-area-header h6 {
    display: inline-flex !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #001f3f !important;
    line-height: 22px !important;
}


#filterPanel .covered-area-unit-select {
    display: inline-block !important;
    width: auto !important;
    min-width: 65px !important;
    max-width: 90px !important;
    margin: 0 !important;
    padding: 0 18px 0 0 !important;
    border: none !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    outline: none !important;
    cursor: pointer !important;
}


#filterPanel .covered-area-unit-select{
    display:inline-block !important;
    position:relative !important;
    top:-1px;
}
.covered-area-unit-select{
    border:none !important;
    background:transparent !important;
    width:auto !important;
    min-width:70px !important;
    margin:0 !important;
    padding:0 !important;
    font-size:16px !important;
    font-weight:600 !important;
    color:#001f3f !important;
    cursor:pointer !important;
    outline:none !important;
}

#filterPanel .filter-section > h6.covered-area-title{
    justify-content:space-between !important;
}

.covered-area-left{
    display:inline-flex;
    align-items:center;
    gap:10px;
}

.covered-area-unit-select{
    border:none !important;
    background:transparent !important;
    width:auto !important;
    min-width:55px !important;
    padding:0 !important;
    margin:0 !important;
    font-size:16px !important;
    font-weight:600 !important;
    color:#001f3f !important;
    cursor:pointer !important;
    outline:none !important;
}
.mobile-filter-btn,
.filter-overlay {
  display: none;
}

@media (max-width: 991px) {
  .pd-listing-page.container-fluid.py-3 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Scope to listing layout only — do not stack the global site footer row. */
  .pd-listing-page > .row,
  #propertyListRow.row {
    flex-direction: column;
  }

  #propertyListRow > .col-lg-8,
  #propertyListRow > .col-lg-4,
  .pd-listing-page > .row > .col-lg-8,
  .pd-listing-page > .row > .col-lg-4 {
    width: 100%;
    max-width: 100%;
  }

  .mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-surface);
    color: var(--primary-color);
    border: var(--btn-outline-border);
    border-radius: 8px;
    padding: 9px 14px;
    font-weight: 600;
    margin-bottom: 12px;
  }

  #propertyListRow > .col-lg-4,
  #propertyListRow > .col-lg-4.pd-filter-column,
  .pd-listing-page > .row > .col-lg-4.pd-filter-column {
    position: static;
    top: auto;
  }

  #filterPanel {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    z-index: 2000;
    overflow-y: auto;
    background: #fff;
    padding: 20px;
    border-radius: 0 16px 16px 0;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    transition: left 0.3s ease;
  }

  body.filter-open #filterPanel {
    left: 0;
  }

  .filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1999;
  }

  body.filter-open .filter-overlay {
    display: block;
  }

  .close-filter-btn {
    background: none !important;
    border: none !important;
    font-size: 28px !important;
    line-height: 1 !important;
    color: #6b7280 !important;
    cursor: pointer !important;
    padding: 0 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s ease !important;
  }

  .close-filter-btn:hover {
    color: var(--primary-color) !important;
  }

  /* Hide duplicate desktop Post Property button in header on mobile */
  .pd-header-actions .pd-btn {
    display: none !important;
  }
}

  .property-card-new {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .property-left {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 0 0 auto;
  }

  .property-img-new,
  .property-image-slider {
    width: 100%;
    height: 210px;
    min-height: 210px;
  }

  .property-title {
    font-size: 18px;
  }

  .property-details {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .property-actions {
    gap: 10px;
  }


@media (max-width: 576px) {
  .property-img-new,
  .property-image-slider {
    height: 190px;
    min-height: 190px;
  }

  .property-details {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn-main {
    font-size: 14px;
  }
}
@media (min-width: 992px) {
  .property-card-new {
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
  }

  .property-left {
    flex: 0 0 260px !important;
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
  }

  .property-img-new,
  .property-image-slider {
    height: 170px !important;
    min-height: 170px !important;
  }

  .property-details {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  #propertyListRow.filters-closed .property-left {
    flex: 0 0 380px !important;
    width: 380px !important;
    min-width: 380px !important;
    max-width: 380px !important;
  }

  #propertyListRow.filters-closed .property-img-new,
  #propertyListRow.filters-closed .property-image-slider,
  #propertyListRow.filters-closed .property-video-shell {
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
  }

  #propertyListRow.filters-closed .property-details {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
.property-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.property-heading-row #propertyHeading {
  flex: 1;
}

.mobile-filter-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

@media (min-width: 992px) {
  .mobile-filter-icon-btn {
    display: none !important;
  }
}

@media (max-width: 991px) {
  #filterPanel.sidebar-card {
    position: fixed !important;
    top: 0 !important;
    right: -400px !important;
    left: auto !important;
    width: min(400px, 88vw) !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow-y: auto !important;
    z-index: 10051 !important;
    border-radius: 18px 0 0 18px !important;
    transition: right 0.3s ease !important;
  }

  body.filter-panel-open #filterPanel.sidebar-card {
    right: 0 !important;
  }

  body.filter-panel-open #filterOverlay {
    display: block !important;
  }
}
@media (max-width: 991px) {
  #openFilter.mobile-filter-icon-btn {
    display: inline-flex !important;
  }

  .property-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
  }

  .mobile-filter-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #64748b;
    align-items: center;
    justify-content: center;
    font-size: 17px;
  }

  #filterOverlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 10050;
  }

  body.filter-panel-open #filterOverlay {
    display: block !important;
  }

  #filterPanel.sidebar-card {
    position: fixed !important;
    top: 0 !important;
    right: -420px !important;
    left: auto !important;
    width: min(400px, 88vw) !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow-y: auto !important;
    z-index: 10051 !important;
    background: #fff !important;
    border-radius: 18px 0 0 18px !important;
    transition: right 0.3s ease !important;
  }

  body.filter-panel-open #filterPanel.sidebar-card {
    right: 0 !important;
  }
}
.covered-area-input-wrap {
  width: 100%;
}

#areaRangeError {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #dc3545;
}

@media (min-width: 992px) {
  #propertyListRow.filters-closed #propertyListColumn {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  #propertyListRow.filters-closed #filterColumn {
    display: none !important;
  }
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-slide {
  animation: fadeInSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pd-listing-requirement-slot {
  width: 100%;
  margin: 14px 0;
}

#propertyList .pd-listing-requirement-slot .pd-requirement-callout__card {
  padding: 28px 24px;
}

#propertyList .pd-listing-requirement-slot .pd-requirement-callout__title {
  font-size: clamp(24px, 3vw, 38px);
}

#propertyList .pd-listing-requirement-slot .pd-requirement-callout__chips {
  max-width: 270px;
}

#propertyListRow:not(.filters-closed) #propertyList .pd-listing-requirement-slot .pd-requirement-callout__card {
  grid-template-columns: 120px minmax(0, 1fr) auto;
  min-height: 128px;
  padding: 24px 18px 24px 0;
}

#propertyListRow:not(.filters-closed) #propertyList .pd-listing-requirement-slot .pd-requirement-callout__icon {
  width: 120px;
  min-height: 128px;
}

#propertyListRow:not(.filters-closed) #propertyList .pd-listing-requirement-slot .pd-house-custom-icon {
  width: 76px;
  height: 76px;
}

#propertyListRow:not(.filters-closed) #propertyList .pd-listing-requirement-slot .pd-house-custom-icon::before {
  width: 46px;
  height: 46px;
}

#propertyListRow:not(.filters-closed) #propertyList .pd-listing-requirement-slot .pd-requirement-callout__text {
  padding: 0 20px;
}

#propertyListRow:not(.filters-closed) #propertyList .pd-listing-requirement-slot .pd-requirement-callout__title {
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
  white-space: normal;
}

#propertyListRow:not(.filters-closed) #propertyList .pd-listing-requirement-slot .pd-requirement-callout__subtitle {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
}

#propertyListRow:not(.filters-closed) #propertyList .pd-listing-requirement-slot .pd-requirement-callout__features {
  gap: 10px;
  flex-wrap: wrap;
}

#propertyListRow:not(.filters-closed) #propertyList .pd-listing-requirement-slot .pd-requirement-callout__features span {
  gap: 6px;
  font-size: 13px;
}

#propertyListRow:not(.filters-closed) #propertyList .pd-listing-requirement-slot .pd-requirement-callout__features em {
  display: none;
}

#propertyListRow:not(.filters-closed) #propertyList .pd-listing-requirement-slot .pd-requirement-callout__art {
  right: 118px;
  width: 310px;
  height: 220px;
}

#propertyListRow:not(.filters-closed) #propertyList .pd-listing-requirement-slot .pd-requirement-callout__cta {
  min-width: 175px;
  height: 54px;
  padding: 0 18px;
  border-radius: 13px;
  font-size: 15px;
  gap: 8px;
}

@media (max-width: 1199px) {
  #propertyList .pd-listing-requirement-slot .pd-requirement-callout__card {
    flex-wrap: wrap;
  }

  #propertyList .pd-listing-requirement-slot .pd-requirement-callout__chips,
  #propertyList .pd-listing-requirement-slot .pd-requirement-callout__cta {
    margin-left: 0;
  }
}

/* =====================================================================
   iPad & tablet — property listing layout
   Portrait:  768–991.98px  (iPad Mini / iPad 11 / iPad Air portrait)
   Landscape: 992–1199.98px  (iPad landscape & compact laptops)
   ===================================================================== */

/* --- iPad Portrait (768–991px) --- */
@media (min-width: 768px) and (max-width: 991.98px) {
  .pd-listing-page.container-fluid.py-3 {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  .pd-listing-page .property-heading-row {
    margin-bottom: 6px;
  }

  .pd-listing-page .property-list {
    gap: 8px;
  }

  .pd-listing-page,
  #propertyListRow {
    overflow: visible;
  }

  #propertyListRow.row {
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0;
  }

  #propertyListRow > #propertyListColumn.col-lg-8 {
    flex: 0 0 58% !important;
    max-width: 58% !important;
    width: 58% !important;
  }

  #propertyListRow > #filterColumn.col-lg-4.pd-filter-column {
    flex: 0 0 42% !important;
    max-width: 42% !important;
    width: 42% !important;
    display: block !important;
    position: sticky !important;
    top: calc(var(--pd-topbar-h, 36px) + var(--pd-header-h, 72px) + 8px);
    align-self: flex-start;
    z-index: 20;
  }

  #propertyListRow.filters-closed > #filterColumn {
    display: none !important;
  }

  #propertyListRow.filters-closed > #propertyListColumn {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  #filterPanel.sidebar-card.filter-sidebar {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - var(--pd-topbar-h, 36px) - var(--pd-header-h, 72px) - 20px);
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow:
      0 1px 2px rgba(15, 23, 42, 0.04),
      0 12px 40px rgba(15, 23, 42, 0.06);
    padding: 14px;
    z-index: auto !important;
    transition: none !important;
  }

  #filterOverlay {
    display: none !important;
  }

  #openFilter.mobile-filter-icon-btn {
    display: none !important;
  }

  #desktopToggleFilter {
    display: inline-flex !important;
  }

  body .pd-header-actions .pd-btn {
    display: inline-flex !important;
  }

  .pd-listing-page .property-list .property-card-new.property-item {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  .pd-listing-page .property-list .property-card-new .property-left {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
  }

  .pd-listing-page .property-list .property-card-new .property-right {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .pd-listing-page .property-list .property-card-new .property-img-new,
  .pd-listing-page .property-list .property-card-new .property-image-slider {
    width: 100% !important;
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
    border-radius: 12px;
    background: #f8fafc;
  }

  .pd-listing-page .property-list .property-card-new .property-img-new {
    object-fit: contain !important;
    object-position: center center;
  }

  .pd-listing-page .property-list .property-card-new .property-image-slider .property-img-new {
    object-fit: contain !important;
    object-position: center center;
    background: #f8fafc;
  }

  .pd-listing-page .property-title {
    font-size: 15px;
    line-height: 1.25;
  }

  .pd-listing-page .property-list .property-card-new .property-details,
  .pd-listing-page .property-list .property-card-new .property-details.py-2 {
    margin-top: 2px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px 10px;
  }

  .pd-listing-page #propertyListRow.filters-closed #propertyList .property-card-new .property-details,
  .pd-listing-page #propertyListRow.filters-closed .property-list .property-card-new .property-details.py-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px 12px;
  }

  .pd-listing-page #propertyListRow.filters-closed #propertyList .property-card-new .property-img-new,
  .pd-listing-page #propertyListRow.filters-closed #propertyList .property-card-new .property-image-slider {
    height: 270px !important;
    min-height: 270px !important;
    max-height: 270px !important;
  }

  .pd-listing-page .property-list .property-card-new .property-details .label {
    font-size: 11px;
  }

  .pd-listing-page .property-list .property-card-new .property-details .value {
    font-size: 14px;
  }

  .pd-listing-page .property-list .property-card-new .property-actions,
  .pd-listing-page .property-list .property-card-new .property-actions.mt-2 {
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px !important;
  }

  .pd-listing-page .btn-main {
    font-size: 13px;
    padding: 8px 12px;
  }

  #filterPanel .filter-btn,
  #filterPanel .main-filter-btn {
    font-size: 12px;
    padding: 5px 10px;
  }

  #filterPanel .filter-section h6 {
    font-size: 13px !important;
  }

  #filterPanel.sidebar-card {
    padding: 14px;
    margin-bottom: 12px;
  }

  /* Keep login strip and filter card perfectly aligned */
  #filterColumn > .mb-4.d-none.d-md-block,
  #filterColumn > #filterPanel.sidebar-card.filter-sidebar {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #filterColumn > .mb-4.d-none.d-md-block {
    margin-bottom: 12px !important;
  }

  #filterColumn > .mb-4.d-none.d-md-block .pl-auth-strip {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #filterColumn .pl-auth-strip-body {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 14px;
  }

  #filterColumn .pl-auth-strip-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  #filterColumn .pl-auth-strip-sub {
    white-space: normal;
  }

  #filterColumn .pp-sidebar-card {
    padding: 18px 16px 16px;
  }

  #filterColumn .pp-sidebar-title {
    font-size: 13px;
  }

  #filterColumn .pd-sidebar-requirement-card {
    padding: 18px 16px 16px;
  }

  #filterColumn .pd-sidebar-requirement-title {
    font-size: 18px;
  }

  #filterColumn .pd-sidebar-requirement-subtitle {
    font-size: 12px;
  }

  #filterColumn .pd-sidebar-requirement-chip {
    font-size: 11px;
    padding: 6px 8px;
  }

  #filterColumn .pd-sidebar-requirement-btn {
    min-height: 44px;
    font-size: 14px;
  }

  #propertyListRow:not(.filters-closed) .property-list .pd-list-insight-slot .row.g-4 > [class*="col-md-6"] {
    flex: 0 0 50%;
    max-width: 50%;
  }

}

/* --- iPad Landscape (992–1199px) --- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .pd-listing-page.container-fluid {
    padding-left: 24px !important;
    padding-right: 24px !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  .pd-listing-page .property-heading-row {
    margin-bottom: 6px;
  }

  .pd-listing-page .property-list {
    gap: 8px;
  }

  #propertyListRow > #propertyListColumn.col-lg-8,
  .pd-listing-page .row > .col-lg-8 {
    flex: 0 0 62% !important;
    max-width: 62% !important;
  }

  #propertyListRow > #filterColumn.col-lg-4.pd-filter-column,
  .pd-listing-page .row > .col-lg-4.pd-filter-column {
    flex: 0 0 38% !important;
    max-width: 38% !important;
  }

  .pd-listing-page .property-list .property-card-new.property-item {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  .pd-listing-page .property-list .property-card-new .property-left {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
  }

  .pd-listing-page .property-list .property-card-new .property-right {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .pd-listing-page .property-list .property-card-new .property-img-new,
  .pd-listing-page .property-list .property-card-new .property-image-slider {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    border-radius: 12px;
    background: #f8fafc;
  }

  .pd-listing-page .property-list .property-card-new .property-img-new {
    object-fit: contain !important;
    object-position: center center;
  }

  .pd-listing-page .property-list .property-card-new .property-image-slider .property-img-new {
    object-fit: contain !important;
    object-position: center center;
    background: #f8fafc;
  }

  .pd-listing-page .property-list .property-card-new .property-details,
  .pd-listing-page .property-list .property-card-new .property-details.py-2 {
    margin-top: 2px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px 12px;
  }

  .pd-listing-page .property-list .property-card-new .property-details .label {
    font-size: 11px;
  }

  .pd-listing-page .property-list .property-card-new .property-details .value {
    font-size: 14px;
  }

  .pd-listing-page .property-list .property-card-new .property-actions,
  .pd-listing-page .property-list .property-card-new .property-actions.mt-2 {
    margin-top: 6px !important;
    gap: 6px;
  }

  #filterPanel .filter-btn,
  #filterPanel .main-filter-btn {
    font-size: 12px;
    padding: 5px 11px;
  }

  #filterColumn .pd-sidebar-requirement-title {
    font-size: 20px;
  }

  #filterColumn .pp-sidebar-card {
    padding: 20px 16px 16px;
  }

  #propertyListRow:not(.filters-closed) .property-list .pd-list-insight-slot .row.g-4 > [class*="col-md-6"] {
    flex: 0 0 50%;
    max-width: 50%;
  }

  #propertyListRow.filters-closed .property-list .pd-list-insight-slot .top-projects-track > .top-project-item {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

/* --- Phones only: keep slide-out filter (tablets use sidebar layout) --- */
@media (max-width: 767.98px) {
  .pd-listing-page.container-fluid.py-3 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
#pd-active-locality-chips {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

#pd-active-locality-chips:empty {
  display: none;
  margin: 0 !important;
}

#pd-active-locality-chips::-webkit-scrollbar {
  height: 6px;
}

#pd-active-locality-chips::-webkit-scrollbar-thumb {
  background: rgba(13, 110, 253, 0.22);
  border-radius: 999px;
}

.pd-active-locality-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #cfe3f7;
  background: #f4fbff;
  color: #1f2a44;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  flex: 0 0 auto;
}

.pd-active-locality-chip i {
  color: #0d7bdc;
  font-size: 12px;
}

.pd-active-locality-chip small {
  font-weight: 500;
  color: #64748b;
  font-size: 12px;
}

.pd-active-locality-chip-remove {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
}

.pd-active-locality-chip-remove:hover {
  color: #dc3545;
}
