/* ===========================
   Global Styles
   =========================== */
:root {
    --primary-color: #eb8944;
    --primary-hover: #d97732;
    --secondary-color: #1a1a2e;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.pd-post-label-short {
    display: none;
}

.landing-section-media.is-loading-media {
    position: relative;
    pointer-events: none;
}

.landing-section-media.is-loading-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 8;
}

.landing-section-media.is-loading-media::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin-left: -18px;
    margin-top: -18px;
    border-radius: 50%;
    border: 3px solid #d9e4ef;
    border-top-color: #2d8dce;
    animation: landingSectionSpin 0.8s linear infinite;
    z-index: 9;
}

@keyframes landingSectionSpin {
    to {
        transform: rotate(360deg);
    }
}


/* ===========================
   AI Search & Flip Card Styles
   =========================== */

/* Container for the AI Search pane (the back face of the flip card) */
.search-flip-card {
    perspective: 1200px;
    position: relative;
    width: 100%;
}

.search-flip-inner {
    position: relative;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* When active, flip the inner container */
.search-flip-card.ai-mode-active .search-flip-inner {
    transform: rotateY(180deg);
}

.search-flip-face {
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Ensure Google Autocomplete suggestions are above everything */
.pac-container {
    z-index: 20000 !important;
    border-radius: 12px;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    margin-top: 5px;
    background-color: #ffffff !important;
}

.pac-item {
    padding: 12px 16px !important;
    cursor: pointer;
    border-top: 1px solid #f1f5f9 !important;
    font-family: inherit;
    line-height: normal;
}

.pac-item:hover {
    background-color: #f8fafc !important;
}

.pac-item-query {
    font-size: 15px !important;
    color: #1a2b3c !important;
}

.pac-matched {
    font-weight: 700 !important;
}

.pac-icon {
    margin-top: 2px !important;
}

.search-flip-back {
    display: none !important;
}

/* AI mode container styling */
.ai-search-container {
    display: none !important;
}

/* "AI POWERED" Badge */
.ai-badge {
    display: none !important;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    width: fit-content;
}

/* Input Wrapper & Main Search Input */
.ai-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ai-search-input-main {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.ai-input-icon {
    position: absolute;
    left: 15px;
    color: #2c6e91;
    font-size: 1.2rem;
    z-index: 5;
}

.ai-query-input {
    padding: 14px 45px !important;
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    background: #fff !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    font-size: 1.05rem !important;
    width: 100%;
}

.ai-query-input:focus {
    border-color: #2c6e91 !important;
    box-shadow: 0 4px 20px rgba(44, 110, 145, 0.15) !important;
    outline: none;
}

/* AI Search Button */
.btn-ai-search {
    background: #2c6e91;
    color: #fff;
    padding: 14px 25px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    white-space: nowrap;
}

.btn-ai-search:hover {
    background: #1e4d66;
    transform: translateX(4px);
    color: #fff;
}

/* Quick Action Suggestion Chips */
.ai-chip {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    outline: none;
    margin-right: 5px;
    margin-top: 5px;
}

.ai-chip:hover {
    border-color: #2c6e91;
    color: #2c6e91;
    background: #f0f7ff;
}

/* OCR/Image Input (if used) */
#ocrImageInput {
    display: none;
}

/* AI Toggle Button in Tabs */
.ai-toggle-tab {
    display: none !important;
}

.ai-toggle-tab:hover {
    transform: scale(1.03);
    color: #fff !important;
}

.ai-toggle-tab:disabled {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%) !important;
    opacity: 0.6;
    cursor: not-allowed !important;
}

.ai-toggle-tab:disabled:hover {
    transform: scale(1);
}

.ai-toggle-tab i {
    font-size: 1rem;
    color: #fff;
}

/* AI Search Coming Soon Tooltip */
.ai-search-wrapper {
    display: none !important;
}

.ai-coming-soon-tooltip {
    display: none !important;
}

.ai-coming-soon-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: #2c6e91;
}

.coming-soon-text {
    display: inline-block;
    background: linear-gradient(135deg, #2c6e91 0%, #1e5f7a 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(44, 110, 145, 0.4);
}

.ai-toggle-tab:disabled:hover ~ .ai-coming-soon-tooltip,
.ai-search-wrapper:hover .ai-coming-soon-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
    .ai-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-ai-search {
        width: 100%;
    }
    
    .ai-toggle-tab {
        margin-left: 0 !important;
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .ai-search-container {
        padding: 1rem;
        border-radius: 12px;
    }

    /* Support for mobile stacking instead of flipping if card-based flip is disabled */
    .search-flip-face {
        position: relative;
        transform: none !important;
        -webkit-backface-visibility: visible;
        backface-visibility: visible;
    }
    
    .search-flip-inner {
        transform: none !important;
    }

    .search-flip-back {
        top: auto;
        left: auto;
        margin-top: 0;
        position: relative;
        transform: none !important;
        margin-top: 1.5rem;
    }

    .ai-query-input {
        padding: 10px 12px 10px 36px !important;
        font-size: 0.95rem !important;
        border-radius: 10px !important;
    }

    .ai-input-icon {
        left: 12px;
        font-size: 1rem;
    }

    .btn-ai-search {
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 0.95rem;
    }

    .ai-chip {
        padding: 5px 10px;
        font-size: 0.76rem;
    }
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    width: 100%;
    min-height: clamp(500px, 68vh, 660px);
    display: flex;
    align-items: flex-end;
    background-color: #06192d;
    background-image: url('../images/Gradient.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
    padding: 3rem 0 clamp(2rem, 5vh, 3.25rem);
    margin-top: 0;
}

@supports not (background-image: url('data:image/webp;base64,')) {
    .hero-section {
        background-color: #06192d;
        background-image: url('../images/Gradient.webp');
    }
}

.hero-overlay {
    display: none !important;
    background: none !important;
}

.hero-banner-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
}

.hero-banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
}

/* Horizontal Track Slider for Hero Banner */
.hero-banner-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-banner-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.hero-banner-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-banner-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
}

/* Slider Navigation Arrows */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    outline: none;
    padding: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.hero-slider-arrow:hover {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-slider-prev {
    left: 24px;
}

.hero-slider-next {
    right: 24px;
}

/* Slider Indicators (Dots) */
.hero-banner-indicators {
    position: absolute;
    bottom: 24px;
    right: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 6;
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

.hero-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}

.hero-banner-dot:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.2);
}

.hero-banner-dot.active {
    width: 22px;
    border-radius: 999px;
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .hero-slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    .hero-slider-prev {
        left: 10px;
    }
    .hero-slider-next {
        right: 10px;
    }
    .hero-banner-indicators {
        bottom: 12px;
        right: 50%;
        transform: translateX(50%);
        padding: 4px 8px;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-banner-video {
        display: none;
    }
    .hero-banner-slide {
        transition: none !important;
    }
}

/* ==========================================================================
   Category Image Slider Section (Below Hero Section)
   ========================================================================== */
.pd-category-slider-section {
    padding: 0.5rem 0 2.2rem;
    background: transparent;
    position: relative;
    border-bottom: none;
}

.pd-cat-slider-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.4rem;
    gap: 1rem;
}

.pd-cat-slider-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 114, 52, 0.1);
    color: #ff7234;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pd-cat-slider-title {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.25rem;
    letter-spacing: -0.02em;
}

.pd-cat-slider-title span {
    color: #ff7234;
}

.pd-cat-slider-subtitle {
    font-size: 0.92rem;
    color: #64748b;
    margin: 0;
}

.pd-cat-slider-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pd-cat-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.pd-cat-arrow-btn:hover {
    background: #ff7234;
    border-color: #ff7234;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(255, 114, 52, 0.35);
}

.pd-cat-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.pd-cat-slider-track {
    display: flex;
    gap: 1.1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0.25rem 1rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
}

.pd-cat-slider-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.pd-cat-card {
    flex: 0 0 auto;
    width: 240px;
    height: 280px;
    background: transparent;
    border-radius: 20px;
    padding: 0;
    text-decoration: none !important;
    border: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    position: relative;
    overflow: hidden;
}

.pd-cat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 36px rgba(255, 114, 52, 0.25);
}

.pd-cat-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-cat-card:hover .pd-cat-card-img {
    transform: scale(1.04);
}

@media (max-width: 991.98px) {
    .pd-cat-card {
        width: 190px;
        height: 225px;
        border-radius: 16px;
    }
    .pd-cat-card-img {
        border-radius: 16px;
    }
    .pd-cat-slider-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .pd-cat-slider-controls {
        display: none;
    }
}

.hero-container {
    max-width: 1400px !important;
    position: relative;
    z-index: 5;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    position: relative;
    overflow: visible;
}

.hero-copy {
    max-width: 820px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-eyebrow i {
    color: #fbbf24;
    font-size: 0.85rem;
}

.hero-title {
    color: #ffffff;
    font-size: clamp(1.2rem, 2.45vw, 2.1rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0 auto 0.5rem;
    text-align: center;
    max-width: 100%;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}

@media (min-width: 992px) {
    .hero-title {
        white-space: nowrap;
        position: relative;
        left: -15px;
    }
}

.hero-title-accent {
    background: linear-gradient(135deg, #ff7234 0%, #ffa034 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
    filter: drop-shadow(0 2px 8px rgba(255, 114, 52, 0.3));
}

.hero-subtitle {
    color: rgba(248, 249, 250, 0.92);
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    line-height: 1.45;
    margin: 0;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero-seo-panel {
    margin: 0.15rem auto 0;
    max-width: 740px;
    padding: 0.95rem 1.2rem 1.05rem;
    border-radius: 18px;
    background: rgba(7, 14, 28, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.hero-seo-lead {
    max-width: none;
    font-size: clamp(0.98rem, 1.7vw, 1.12rem);
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}

.hero-seo-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    list-style: none;
    margin: 0.8rem 0 0;
    padding: 0;
}

.hero-seo-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
}

.hero-seo-body {
    margin: 0.75rem 0 0;
    color: rgba(248, 250, 252, 0.82);
    font-size: 0.9rem;
    line-height: 1.7;
}

.hero-seo-kw {
    color: #fff;
    font-weight: 700;
    background: rgba(255, 114, 52, 0.32);
    padding: 0.05em 0.38em;
    border-radius: 6px;
    white-space: nowrap;
}

.hero-copy .landing-breadcrumb {
    margin-top: 0.85rem;
}

.hero-copy .landing-breadcrumb .breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.45);
}

.hero-copy .landing-breadcrumb .breadcrumb-item,
.hero-copy .landing-breadcrumb .breadcrumb-item a,
.hero-copy .landing-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
}

.hero-copy .landing-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

/* Left Promo Block (Positioned on far left on desktop, centered on mobile) */
.hero-left-promo {
    color: #ffffff;
    text-align: left;
}

@media (min-width: 1240px) {
    .hero-left-promo {
        position: absolute;
        left: -45px;
        top: 85px;
        width: 215px;
        z-index: 15;
    }
}

@media (max-width: 1239.98px) {
    .hero-left-promo {
        position: static;
        width: 100%;
        max-width: 600px;
        text-align: center;
        margin-bottom: 0.75rem;
    }

    .btn-hero-register {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-promo-features {
        align-items: center;
    }
}

@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
    .hero-left-promo {
        display: none !important;
    }

    .hero-search-card.search-card,
    .hero-search-card.search-box {
        width: 100% !important;
        max-width: 1020px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.hero-promo-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 0.65rem 0;
    color: #ffffff;
    text-transform: uppercase;
}

.hero-promo-accent {
    color: #FF6B35;
    display: block;
}

.hero-promo-sub {
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1rem 0;
    max-width: 205px;
}

.hero-promo-highlight {
    color: #FF6B35;
    font-weight: 700;
}

.btn-hero-register {
    background-color: #FF6B35;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
    transition: all 0.2s ease;
    margin-bottom: 1.1rem;
    white-space: nowrap;
}

.btn-hero-register:hover {
    background-color: #e55825;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.hero-promo-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-promo-features li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
}

.hero-promo-features i {
    color: #00c853;
    font-size: 0.92rem;
}

.search-box {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.hero-search-card.search-box {
    width: 100%;
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    padding: 1.15rem 1.5rem 1.45rem;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.22);
    position: relative;
    z-index: 20;
}

.hero-search-card .property-tabs {
    background: transparent;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    padding: 0 0 0.75rem;
    margin-bottom: 1.1rem;
    gap: 0.4rem;
}

/* Property Tabs */
.property-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.35rem;
    border: none;
    margin-bottom: 1.25rem;
    padding: 0.35rem;
    background: #f1f5f9;
    border-radius: 12px;
    align-items: center;
    overflow: visible;
    scrollbar-width: none;
}

.property-tabs::-webkit-scrollbar {
    display: none;
}

.property-tabs .nav-item {
    margin: 0;
    flex: 0 0 auto;
    min-width: 0;
}

.property-tabs .nav-link {
    border: none;
    background: transparent;
    color: #475569;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    font-size: 0.875rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.property-tabs .nav-link:hover {
    color: var(--primary-color);
    background: rgba(235, 137, 68, 0.1);
}

.property-tabs .nav-link.active {
    background: linear-gradient(135deg, #eb8944 0%, #e07a38 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(235, 137, 68, 0.32);
}

.hero-form-label {
    color: #1e293b !important;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-form-control,
.search-box .hero-form-control.form-control,
.search-box .hero-form-control.form-select,
.search-box input.hero-form-control,
.search-box select.hero-form-control {
    min-height: 46px;
    padding: 0.6rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #1e293b;
    background-color: #ffffff !important;
    background-image: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    appearance: auto;
    -webkit-appearance: auto;
}

/* Read-only city field — visually distinct so users know it's controlled by
   the header city selector and not directly editable in the hero form. */
.hero-form-control--readonly,
.search-box input.hero-form-control--readonly[readonly] {
    background-color: #f1f5f9 !important;
    color: #334155;
    cursor: not-allowed;
}

.hero-form-control--readonly:focus {
    border-color: #e2e8f0;
    box-shadow: none;
}

/* Google Places autocomplete web component (locality field) — match the
   hero input styling so it doesn't render as an unstyled blank box while
   the Places library boots, and stays visually consistent after mount. */
gmp-place-autocomplete {
    display: block;
    width: 100%;
    min-height: 46px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background-color: #ffffff;
    font-size: 0.9rem;
    color: #1e293b;
    box-sizing: border-box;
    overflow: hidden;
}

gmp-place-autocomplete::part(input),
gmp-place-autocomplete input {
    min-height: 44px !important;
    padding: 0.6rem 0.85rem !important;
    border: none !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #1e293b !important;
    font-size: 0.9rem !important;
    font-family: inherit !important;
    box-shadow: none !important;
    outline: none !important;
    width: 100% !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Kill the native search-input chrome (magnifier, X clear button) that the
   shadow input picks up when its computed type ends up as "search". */
gmp-place-autocomplete input::-webkit-search-decoration,
gmp-place-autocomplete input::-webkit-search-cancel-button,
gmp-place-autocomplete input::-webkit-search-results-button,
gmp-place-autocomplete input::-webkit-search-results-decoration {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: none !important;
}

/* Some Google builds wrap the input with their own icon — hide it so the
   field matches the other hero inputs visually. */
gmp-place-autocomplete::part(icon),
gmp-place-autocomplete [part="icon"],
gmp-place-autocomplete svg[part="icon"] {
    display: none !important;
}

/* Hide the shadow <input type="hidden"> Bootstrap padding leftovers. */
input.hero-form-control[type="hidden"][data-pd-ac-shadow] {
    display: none !important;
}

.search-box select.hero-form-control.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2.2rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 14px 10px;
}

.hero-form-control:focus,
.search-box .hero-form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(235, 137, 68, 0.16);
    outline: none;
}

.hero-locality-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 2000;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 220px;
    overflow-y: auto;
    margin-top: 0;
}

.hero-field-control-wrap {
    position: relative;
}

.hero-custom-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
    background-color: #fff;
}

.hero-custom-select__value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-custom-select__caret {
    flex-shrink: 0;
    font-size: 0.72rem;
    color: #64748b;
    pointer-events: none;
    transition: transform 0.15s ease;
}

.hero-custom-select__trigger[aria-expanded="true"] .hero-custom-select__caret {
    transform: rotate(180deg);
}

.hero-search-form,
.hero-search-form__grid,
.search-flip-front,
.hero-locality-field,
.hero-purpose-field {
    overflow: visible;
}

.hero-locality-suggestions__item[aria-selected="true"] {
    background: #fff7f3;
    color: var(--primary-color);
    font-weight: 600;
}

.hero-locality-suggestions__item {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0.55rem 0.75rem;
    font-size: 0.875rem;
    color: #212529;
    cursor: pointer;
}

.hero-locality-suggestions__item:hover,
.hero-locality-suggestions__item:focus {
    background: #f8f9fa;
    outline: none;
}

.hero-search-btn {
    min-height: 46px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.hero-search-btn__text {
    display: inline;
}

.hero-search-form__submit-col {
    flex: 0 0 auto;
}

.hero-search-form--category-only .hero-search-form__grid {
    justify-content: flex-start;
}

.hero-search-form--category-only .hero-locality-field .hero-form-control,
.hero-search-form--category-only .hero-purpose-field .hero-form-control {
    min-height: 46px;
}

@media (min-width: 992px) {
    .hero-search-form--category-only .hero-locality-field {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .hero-search-form--category-only .hero-search-form__submit-col {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
        width: 16.666667%;
    }
}

@media (min-width: 992px) {
    .hero-search-form__grid {
        flex-wrap: nowrap;
    }

    .hero-search-form__submit-col {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
        width: 16.666667%;
        min-width: 0;
    }

    .hero-search-form__submit-col .hero-search-btn {
        width: 100%;
        min-width: 0;
    }
}

/* Search Input Group */
.search-input-group {
    position: relative;
}

.search-input-group .search-icon {
    
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1rem;
    z-index: 1;
}

.search-input-group .search-input {
    padding: 0.75rem 0.75rem 0.75rem 42px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-weight: 400;
    transition: transform 0.3s ease, opacity 0.3s ease;
    font-size: 0.95rem;
    color: #495057;
}

.search-input-group .search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.15rem rgba(255, 107, 53, 0.1);
    outline: none;
}

.search-input-group .search-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

/* Form Select */
.search-box .form-select {
    padding: 0.75rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-weight: 400;
    transition: transform 0.3s ease, opacity 0.3s ease;
    font-size: 0.95rem;
    color: #495057;
}

.search-box .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.15rem rgba(255, 107, 53, 0.1);
}

/* Search Button */
.btn-search {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.3s ease, opacity 0.3s ease;
    font-size: 0.95rem;
}

.btn-search:hover {
    background: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    color: #ffffff;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.15rem;
    padding-top: 1.1rem;
    border-top: 1px solid #e8ecf1;
}

.hero-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.hero-feature-pill i {
    color: #10b981;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-item i {
    color: #10b981;
    font-size: 1.2rem;
}

/* Recent Search Section */
.hero-recent {
    width: 100%;
    max-width: 1040px;
    position: relative;
    z-index: 0;
    margin-bottom: 0;
}

.recent-search-section {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}

.recent-search-section .recent-label {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.recent-search-section .recent-badge,
.recent-search-section .recent-item {
    color: #1e293b;
    background: #ffffff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.recent-search-section .recent-item {
    display: inline-block;
}

.hero-usage-section {
    position: relative;
    margin-top: 1.5rem;
    padding: 0 0 1.25rem;
    z-index: 3;
}

.hero-usage-container {
    max-width: 1140px !important;
}

.hero-usage-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    padding: 1rem 1.35rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.hero-usage-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.45rem 0.75rem;
}

.hero-usage-icon{
    width:68px;
    height:68px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.7rem;
    box-shadow:0 10px 24px rgba(0,0,0,.12);
    border:1px solid rgba(255,255,255,.5);
    transition: transform 0.25s ease;
}

.hero-usage-item:hover .hero-usage-icon{
    transform: translateY(-4px);
}

.hero-usage-icon-users{
    background:linear-gradient(135deg,#4F8DFF,#2563EB);
    color:#fff;
}

.hero-usage-icon-agents{
    background:linear-gradient(135deg,#FFB15A,#F97316);
    color:#fff;
}

.hero-usage-icon-builders{
    background:linear-gradient(135deg,#8B7CFF,#5B4BFF);
    color:#fff;
}
.hero-usage-copy {
    min-width: 0;
}

.hero-usage-value {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.65rem, 2vw, 2.15rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.hero-usage-number {
    display: inline-block;
    min-width: 1.6ch;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
}

.hero-usage-value span {
    color: #eb8944;
}

.hero-usage-label {
    margin: 0.45rem 0 0;
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

.hero-usage-divider {
    width: 1px;
    height: 72px;
    background: linear-gradient(180deg, rgba(226, 232, 240, 0) 0%, rgba(203, 213, 225, 1) 50%, rgba(226, 232, 240, 0) 100%);
}

/* ===========================
   Features Cards Section
   =========================== */
.features-cards-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.feature-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.feature-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.blue-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.green-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.purple-icon {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.feature-card-content {
    flex: 1;
}

.feature-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.feature-card-text {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0;
}

/* ===========================
   Section Headers
   =========================== */
.section-header {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #9ca3af;
}

/* ===========================
   Properties Section
   =========================== */
.properties-section {
    padding: 3rem 0 4rem 0;
    background: var(--white);
}

.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    aspect-ratio: 20 / 11;
    background-color: #eef2f7;
}

.property-image.pd-card-image-shell {
    background: #eef2f7;
}

.property-image .pd-card-image-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.35));
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.property-image .pd-card-image-loader::before {
    content: "";
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid #dbe5f0;
    border-top-color: #2d8dce;
    animation: pdCardImageSpin 0.85s linear infinite;
}

.property-image.pd-card-image-shell.is-loaded .pd-card-image-loader,
.property-image.pd-card-image-shell:has(.pd-card-image-empty) .pd-card-image-loader {
    opacity: 0;
    visibility: hidden;
}

.pd-card-image-empty {
    width: 100%;
    height: 100%;
    min-height: 180px;
    background-color: #eef2f7;
}

.pd-card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #eef2f7;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

@keyframes pdCardImageSpin {
    to {
        transform: rotate(360deg);
    }
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

/* Landing listing cards — full-card link (image + details, not action buttons) */
.property-card.position-relative,
.property-card.shadow-sm {
    position: relative;
    cursor: pointer;
}

.property-card .property-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
    border-radius: inherit;
    text-decoration: none;
}

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

.property-card .property-card-body,
.property-card .property-card-view {
    pointer-events: none;
    position: relative;
    z-index: 2;
}

.property-card .property-image .pd-wishlist-btn,
.property-card .property-image [data-no-card-nav],
.property-card .carousel-indicators,
.property-card .carousel [data-bs-slide],
.property-card .carousel [data-bs-target],
.property-card-actions,
.property-card-actions * {
    pointer-events: auto;
}

.property-card .property-image .pd-wishlist-btn,
.property-card-actions {
    position: relative;
    z-index: 2;
}

.property-card .property-image .pd-wishlist-btn {
    position: absolute;
}

.pd-wishlist-btn.wishlist-added i,
.pd-wishlist-btn.wishlist-added .fa-heart {
    color: #dc3545 !important;
}

.property-card .carousel-indicators,
.property-card .carousel [data-bs-slide],
.property-card .carousel [data-bs-target] {
    z-index: 3;
}

.property-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: var(--white);
    padding: 0.35rem 0.9rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-construction {
    background: #1e3a8a;
}

.badge-ready {
    background: #10b981;
}

.badge-new {
    background: #6b7280;
}

.badge-possession {
    background: #6b7280;
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--white);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
    background: #fee;
    color: #e74c3c;
}

.wishlist-btn i {
    font-size: 1rem;
    color: #6b7280;
}

.property-content {
    padding: 1.2rem;
}

.property-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
}

.property-location {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.3rem;
}

.property-size {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.8rem;
}

.property-developer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.property-developer i {
    font-size: 0.9rem;
}

.btn-view-details {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-view-details:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

.property-infinite-loader {
    margin-top: 1rem;
}

.property-infinite-sentinel {
    width: 100%;
    height: 1px;
}

.property-skeleton-card {
    height: 420px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #eef2f7;
    animation: propertySkeletonPulse 1.2s ease-in-out infinite;
}

.property-infinite-error {
    margin-bottom: 1rem;
}

@keyframes propertySkeletonPulse {
    0%,
    100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Pagination Controls */
.properties-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* Landing: hide only "1–4 of 6" text; keep side arrows for manual scroll */
#home-page .properties-pagination .pagination-counter,
#home-page .owner-posted-properties-pagination,
#home-page .owner-properties-pagination .pagination-text,
#home-page .premier-properties-pagination .pagination-text {
    display: none !important;
}

#home-page .properties-pagination {
    justify-content: flex-end;
}

/* Landing horizontal side-scroll — CSS-first so first paint is 1 row (no JS wait) */
#home-page [data-section-pagination],
#home-page .pd-section-hscroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    --bs-gutter-x: 0;
    --pd-hscroll-n: 4;
    padding-bottom: 0.35rem;
    cursor: grab;
}

/* If JS ever marks a wrapper, keep the inner track full-width so cards
   do not collapse to min-content (Luxury Properties nested-row bug). */
#home-page .pd-section-hscroll > [data-section-pagination] {
    flex: 1 1 auto;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}

#home-page [data-section-pagination][data-per-page="1"] { --pd-hscroll-n: 1; }
#home-page [data-section-pagination][data-per-page="2"] { --pd-hscroll-n: 2; }
#home-page [data-section-pagination][data-per-page="3"] { --pd-hscroll-n: 3; }
#home-page [data-section-pagination][data-per-page="4"] { --pd-hscroll-n: 4; }

@media (max-width: 767.98px) {
    /* Beat [data-per-page="4"] + any leftover inline --pd-hscroll-n so mobile shows 1 card */
    #home-page [data-section-pagination],
    #home-page [data-section-pagination][data-per-page],
    #home-page [data-section-pagination][data-per-page="1"],
    #home-page [data-section-pagination][data-per-page="2"],
    #home-page [data-section-pagination][data-per-page="3"],
    #home-page [data-section-pagination][data-per-page="4"],
    #home-page .pd-section-hscroll {
        --pd-hscroll-n: 1 !important;
    }

    /* Keep last-card + View More restable without shrinking card width. */
    #home-page [data-section-pagination]:has(> .pd-view-more-item),
    #home-page .pd-section-hscroll:has(> .pd-view-more-item) {
        scroll-snap-type: x proximity;
    }

    #home-page [data-section-pagination] > :has(+ .pd-view-more-item),
    #home-page .pd-section-hscroll > :has(+ .pd-view-more-item) {
        scroll-snap-align: none;
    }

    #home-page [data-section-pagination] > .pd-view-more-item:not([hidden]),
    #home-page .pd-section-hscroll > .pd-view-more-item:not([hidden]) {
        scroll-snap-align: end;
        scroll-margin-inline-end: 0.75rem;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    #home-page [data-section-pagination]:not([data-per-page="1"]):not([data-per-page="2"]),
    #home-page .pd-section-hscroll {
        --pd-hscroll-n: 2;
    }
    #home-page [data-section-pagination][data-per-page="2"] {
        --pd-hscroll-n: 2;
    }
    #home-page [data-section-pagination][data-per-page="3"] {
        --pd-hscroll-n: 3;
    }
}

#home-page [data-section-pagination]:active,
#home-page .pd-section-hscroll:active {
    cursor: grabbing;
}

#home-page [data-section-pagination]::-webkit-scrollbar,
#home-page .pd-section-hscroll::-webkit-scrollbar {
    height: 6px;
}

#home-page [data-section-pagination]::-webkit-scrollbar-thumb,
#home-page .pd-section-hscroll::-webkit-scrollbar-thumb {
    background: #c5c9d1;
    border-radius: 999px;
}

#home-page [data-section-pagination] > :not(.property-grid-empty):not(.pd-view-more-item):not([hidden]),
#home-page .pd-section-hscroll > .pd-section-hscroll__item:not(.pd-view-more-item),
#home-page .pd-section-hscroll > :not(.property-grid-empty):not(.pd-view-more-item):not([hidden]) {
    flex: 0 0 calc((100% - (var(--pd-hscroll-n, 4) - 1) * 1.5rem) / var(--pd-hscroll-n, 4)) !important;
    max-width: calc((100% - (var(--pd-hscroll-n, 4) - 1) * 1.5rem) / var(--pd-hscroll-n, 4)) !important;
    width: calc((100% - (var(--pd-hscroll-n, 4) - 1) * 1.5rem) / var(--pd-hscroll-n, 4)) !important;
    scroll-snap-align: start;
    padding-left: 0 !important;
    padding-right: 0 !important;
}


.pagination-counter {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

.pagination-arrows {
    display: flex;
    gap: 0.8rem;
}

.arrow-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: var(--white);
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.arrow-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.arrow-next {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.arrow-next:hover {
    background: #e55a2b;
}

/* ===========================
   Map Section
   =========================== */
.map-section {
    background: #bebebe5b;
    padding: 4rem 0;

}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

.interactive-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
}

.map-content {
    padding-left: 3rem;
}

.map-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.map-description {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-explore-map {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-explore-map:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* ===========================
   Localities Section
   =========================== */
.localities-section {
    padding: 4rem 0;
    background: #ffffff;
}

.location-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.location-image {
    position: relative;
    height: 175px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #eef2f7;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .location-image img {
    transform: scale(1.1);
}

.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem 1rem 1rem 1rem;
}

.location-name {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.location-info {
    padding: 0.8rem 0 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

/* New info bar — sits inside the card as a bottom strip */
.locality-info-bar {
    border-top: 1px solid #f1f5f9;
    min-height: 36px;
    gap: 0.5rem;
}

.locality-avg-price {
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.locality-avg-price span {
    font-weight: 500;
    color: #64748b;
}

.locality-count-pill {
    font-size: 0.68rem;
    font-weight: 600;
    color: #eb8944;
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.18);
    border-radius: 20px;
    padding: 0.18rem 0.6rem;
    white-space: nowrap;
    flex-shrink: 0;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .location-image {
        height: 150px;
    }

    .location-name {
        font-size: 1rem;
    }

    .location-price {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .location-image {
        height: 120px;
    }

    .property-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: stretch;
        align-items: stretch;
        gap: 0.3rem;
        padding: 0.3rem;
        overflow: visible;
    }

    /* Hide AI Search tab slot on mobile so 6 tabs fit as 3+3 */
    .property-tabs .nav-item:has(.ai-toggle-tab),
    .property-tabs .nav-item.ms-lg-auto {
        display: none !important;
    }

    /* Row 1: Buy, Rent, New Projects | Row 2: Land, Residential, Commercial */
    .property-tabs .nav-item {
        flex: 1 1 calc(33.333% - 0.22rem);
        max-width: calc(33.333% - 0.22rem);
        min-width: 0;
    }

    .property-tabs .nav-link {
        font-size: 0.72rem;
        padding: 0.5rem 0.3rem;
        width: 100%;
        white-space: nowrap;
    }

    .ai-toggle-tab {
        display: none !important;
    }

    .ai-toggle-tab i {
        font-size: 0.75rem;
    }

    .coming-soon-text {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* ===========================
   Services Section
   =========================== */
.services-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.service-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, opacity 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.6rem;
}

.service-description {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.service-link {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.service-link:hover {
    color: #e55a2b;
}

.service-link i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.service-link:hover i {
    transform: translateX(3px);
}

/* ===========================
   Builders Section
   =========================== */
.builders-section {
    padding: 4rem 0;
    background: var(--white);
}

.builder-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.builder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.builder-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    position: relative;
}

.builder-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.builder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.builder-info {
    flex: 1;
}

.builder-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.builder-type {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.4rem;
}

.builder-rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.rating-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
}

.rating-value i {
    color: #fbbf24;
    font-size: 0.8rem;
    margin-left: 0.2rem;
}

.deals-count {
    font-size: 0.8rem;
    color: #9ca3af;
}

.rera-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #10b981;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.builder-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-builder-profile,
.btn-builder-contact {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: none;
}

.btn-builder-profile {
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-builder-profile:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-builder-contact {
    background: var(--primary-color);
    color: var(--white);
}

.btn-builder-contact:hover {
    background: #e55a2b;
}

.builder-card-footer {
    margin-top: auto;
}

.builder-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.builder-card-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
}

.builder-card-meta__item i {
    color: var(--primary-color);
    font-size: 0.72rem;
}

.builder-view-profile-btn {
    min-height: 42px;
    border: none;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #eb8944 0%, #f28d35 100%);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 18px rgba(242, 141, 53, 0.28);
    transition: transform 0.2s ease;
}

.builder-view-profile-btn:hover {
    color: #fff;
    transform: translateY(-1px);
}

.builder-view-profile-btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25), 0 8px 18px rgba(242, 141, 53, 0.28);
}

/* ===========================
   Owner Properties Section
   =========================== */
.owner-properties-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.owner-property-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, opacity 0.3s ease;
    height: 100%;
}

.owner-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.owner-property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.owner-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.owner-property-card:hover .owner-property-image img {
    transform: scale(1.1);
}

.owner-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fbbf24;
    color: #1a1a1a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 0.7rem;
    border-radius: 4px;
    z-index: 1;
}

.owner-property-content {
    padding: 1.2rem;
}

.owner-property-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.3rem;
}

.owner-property-location {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.8rem;
}

.owner-property-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.owner-property-price {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.owner-property-sqft {
    font-size: 0.85rem;
    color: #9ca3af;
}

.btn-contact-owner {
    width: auto;
    padding: 0.55rem 1.2rem;
    background: #1a1a1a;
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
}

.btn-contact-owner:hover {
    background: #2d2d2d;
}

/* ===========================
   Combined Promotional Section
   =========================== */
.combined-promo-section {
    padding: 4rem 0;
    background: transparent;
}

.loan-banner-content {
    background: #1e3a5f;
    padding: 3rem 2.5rem;
    border-radius: 16px;
}

.loan-text-content {
    color: var(--white);
}

.loan-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.loan-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.loan-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-loan-primary,
.btn-loan-secondary {
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: none;
}

.btn-loan-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-loan-primary:hover {
    background: #e55a2b;
}

.btn-loan-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-loan-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.loan-image-placeholder {
    text-align: right;
}

.loan-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .loan-title {
        font-size: 1.6rem;
    }

    .loan-image-placeholder {
        text-align: center;
        margin-top: 2rem;
    }
}

/* ===========================
   Promotional Cards Section
   =========================== */

.promo-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, opacity 0.3s ease;
    height: 100%;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.promo-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.promo-text {
    flex: 1;
}

.promo-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
}

.promo-description {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-promo {
    padding: 0.65rem 1.5rem;
    background: #1a1a1a;
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-promo:hover {
    background: #2d2d2d;
}

.promo-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.promo-icon i {
    font-size: 2rem;
}

.promo-icon-yellow {
    background: #fef3c7;
    color: #f59e0b;
}

.promo-icon-blue {
    background: #dbeafe;
    color: #3b82f6;
}

@media (max-width: 991px) {
    .promo-card-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ===========================
   Featured Agents Section
   =========================== */
.featured-agents-section {
    padding: 4rem 0;
    background: var(--white);
}

.section-header-with-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    width: 100%;
}

.section-header-with-link .section-title {
    margin-bottom: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.view-all {
    color: #f28d35;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.view-all:hover {
    color: #e67e35;
    text-decoration: none;
}

/* End-of-carousel View More — only as wide as the pill */
#home-page [data-section-pagination] > .pd-view-more-item:not([hidden]),
#home-page .pd-section-hscroll > .pd-view-more-item:not([hidden]),
#home-page .pd-section-hscroll > .pd-view-more-item.pd-section-hscroll__item {
    display: flex !important;
    align-items: center;
    align-self: center;
    justify-content: flex-start;
    order: 9999;
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: auto !important;
    width: max-content !important;
    max-width: max-content !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0.35rem 0 0.15rem !important;
    scroll-snap-align: none;
}

#home-page .pd-view-more-card {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: auto;
    min-height: 0;
    height: auto;
    padding: 0.65rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(9, 132, 227, 0.28);
    background: #eef5fc;
    text-decoration: none;
    color: #0984e3;
    box-sizing: border-box;
    white-space: nowrap;
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

#home-page .pd-view-more-card:hover {
    transform: translateX(3px);
    border-color: rgba(9, 132, 227, 0.5);
    background: #e4f0fb;
    color: #066bb8;
    text-decoration: none;
}

#home-page .pd-view-more-card__label {
    font-size: 0.92rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

#home-page .pd-view-more-card__arrow {
    font-size: 0.78rem;
    transition: transform 0.25s ease;
}

#home-page .pd-view-more-card:hover .pd-view-more-card__arrow {
    transform: translateX(3px);
}


.view-all-link {
    color: #f28d35;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.view-all-link:hover {
    color: #e67e35;
    text-decoration: none;
}

.agent-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.agent-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    position: relative;
}

.agent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-info {
    flex: 1;
}

.agent-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.agent-type {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.agent-rating {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.rating-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
}

.rating-value i {
    color: #fbbf24;
    margin-left: 0.2rem;
}

.deals-count {
    font-size: 0.85rem;
    color: #9ca3af;
}

.agent-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-agent-profile,
.btn-agent-contact {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: none;
}

.btn-agent-profile {
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-agent-profile:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-agent-contact {
    background: var(--primary-color);
    color: var(--white);
}

.btn-agent-contact:hover {
    background: #e55a2b;
}

/* ===========================
   Premier Properties Section
   =========================== */
.premier-properties-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.premier-property-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, opacity 0.3s ease;
    height: 100%;
}

.premier-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.premier-property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.premier-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.premier-property-card:hover .premier-property-image img {
    transform: scale(1.1);
}

.property-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.status-construction {
    background: #3b82f6;
    color: var(--white);
}

.status-ready {
    background: #10b981;
    color: var(--white);
}

.status-launch {
    background: #1a1a1a;
    color: var(--white);
}

.status-possession {
    background: #f59e0b;
    color: var(--white);
}

.property-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1;
}

.property-wishlist-btn i {
    color: #9ca3af;
    font-size: 1rem;
}

.property-wishlist-btn:hover {
    background: var(--primary-color);
}

.property-wishlist-btn:hover i {
    color: var(--white);
}

.premier-property-content {
    padding: 1.2rem;
}

.premier-property-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
}

.premier-property-location {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.3rem;
}

.premier-property-units {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.8rem;
}

.premier-property-developer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.premier-property-developer i {
    color: #9ca3af;
}

.btn-view-property {
    width: 100%;
    padding: 0.7rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-view-property:hover {
    background: #e55a2b;
}

.premier-properties-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.owner-properties-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.pagination-text {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

.pagination-arrows {
    display: flex;
    gap: 0.8rem;
}

.pagination-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: var(--white);
    color: #6b7280;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-arrow:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-next {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-next:hover {
    background: #e55a2b;
}

/* ===========================
   Testimonials Section
   =========================== */
.testimonials-section {
    padding: 5rem 0;
    background: var(--white);
}

.testimonial-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    height: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
    .testimonials-section .row {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .testimonials-section .row::-webkit-scrollbar {
        display: none;
    }

    .testimonials-section .row > [class*="col-"] {
        flex: 0 0 84%;
        max-width: 84%;
        scroll-snap-align: start;
    }
}

/* Portrait tablet: show testimonials as 2-up */
@media (orientation: portrait) and (min-width: 600px) and (max-width: 1024px) {
    .testimonials-section .row > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .testimonials-section .testimonial-card { margin-bottom: 1rem; }
}

.testimonial-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.testimonial-author-location {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 0.9rem;
}

/* ===========================
   App Download Section
   =========================== */
.app-download-section {
    padding: 5rem 0;
    background: var(--white);
    overflow: hidden;
}

.phone-mockup {
    position: relative;
    text-align: center;
}

.phone-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    transform: rotate(-5deg);
}

.app-info {
    padding-left: 2rem;
}

.app-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.app-description {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.app-store-btn,
.google-play-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: #1a1a1a;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    min-width: 180px;
}

.app-store-btn:hover,
.google-play-btn:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.app-store-btn i,
.google-play-btn i {
    font-size: 2rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-subtitle {
    font-size: 0.7rem;
    opacity: 0.8;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.qr-code-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.qr-code {
    width: 100px;
    height: 100px;
    padding: 5px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.qr-text {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 991px) {
    .app-info {
        padding-left: 0;
        margin-top: 3rem;
        text-align: center;
    }

    .app-buttons,
    .qr-code-section {
        justify-content: center;
    }

    .phone-image {
        transform: rotate(0deg);
        max-height: 400px;
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .hero-main-row {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

    .hero-left-promo {
        flex: 1 1 100%;
        max-width: 100%;
        text-align: center;
        padding-top: 0;
    }

    .btn-hero-register {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-promo-features {
        align-items: center;
    }

    .hero-search-card.search-box {
        padding: 1.15rem 1.1rem 1rem;
        border-radius: 16px;
        max-width: 100%;
    }

    .property-tabs .nav-link {
        font-size: 0.8rem;
        padding: 0.55rem 0.5rem;
    }

    .hero-usage-card {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 1rem;
        border-radius: 1.1rem;
    }

    .hero-usage-item {
        justify-content: flex-start;
        padding: 0.6rem 0.2rem;
    }

    .hero-usage-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, rgba(226, 232, 240, 0) 0%, rgba(203, 213, 225, 1) 50%, rgba(226, 232, 240, 0) 100%);
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 991.98px) {
    .hero-left-promo {
        display: none !important;
    }
}

/* ===========================
   RENT TAB - Banner Section
   Full-width banner image (1440×500)
   Only visible when Rent tab is active
   =========================== */
.rent-banner-section {
    padding: 2rem 0 0;
}

/* Rent Banner Container */
.rent-banner {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Rent Banner Image */
.rent-banner-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* ===========================
   RENT TAB - Fresh Properties Section
   Section heading + 4 property cards + slider arrows
   =========================== */
.rent-properties-section {
    padding: 2.5rem 0 3rem;
}

/* Rent Section Header */
.rent-section-header {
    margin-bottom: 1.5rem;
}

.rent-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.rent-section-subtitle {
    font-size: 0.9rem;
    color: #10b981;
    margin: 0;
}

/* Rent Slider Wrapper (holds cards + arrows) */
.rent-properties-slider {
    position: relative;
    padding: 0 30px;
}

/* Rent Property Card - needs overflow hidden + relative for ribbon */
.rent-property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, opacity 0.3s ease;
    height: 100%;
    position: relative;
}

.rent-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Rent Property Image Container */
.rent-property-image {
    position: relative;
    overflow: hidden;
    height: 220px;

    /*label changes*/
    z-index: 11;
}

.rent-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rent-property-card:hover .rent-property-image img {
    transform: scale(1.05);
}

/* Rent Badge - Status label at top-left of image */
.rent-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Rent Wishlist Heart - Circle button at top-right of image */
.rent-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.rent-wishlist-btn:hover {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.rent-wishlist-btn i {
    font-size: 1rem;
    color: #9ca3af;
}

/* Active/filled wishlist - orange background with white heart */
.rent-wishlist-btn.active {
    background: var(--primary-color);
}

.rent-wishlist-btn.active i {
    color: var(--white);
}

/* 
   RENT TAB - Diagonal Ribbon
   Corner ribbon on right edge of card,
    */
.rent-ribbon {
    position: absolute;
    /* top: 195px; */
    /* label changes */
    top: 244px;
    right: -37px;
    padding: 0.35rem 2.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    transform: rotate(45deg);
    text-align: center;
    letter-spacing: 0.5px;
    z-index: 3;
    white-space: nowrap;
}

/* Ribbon color variants */
.ribbon-green {
    background: #10b981;
}

.ribbon-orange {
    background: var(--primary-color);
}

.ribbon-red {
    background: #ef4444;
}

/* ===========================
   RENT TAB - Card Content Area
   Title, location, size, developer, button
   =========================== */
.rent-property-content {
    padding: 1.2rem 1.3rem 1.4rem;
}

.rent-property-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.35rem;
}

.rent-property-location {
    font-size: 0.82rem;
    color: #9ca3af;
    margin-bottom: 0.15rem;
}

.rent-property-size {
    font-size: 0.82rem;
    color: #9ca3af;
    margin-bottom: 0.7rem;
}

/* Developer Info - Letter badge + name */
.rent-property-developer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Developer Letter Badge (gray circle with initial) */
.dev-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Default gray badge */
.dev-badge-purple {
    background: #e5e7eb;
    color: #374151;
}

/* Green badge for Godrej (G) */
.dev-badge-green {
    background: #d1fae5;
    color: #059669;
}

/* Rent View Property Details Button - pill shaped */
.btn-rent-view-details {
    display: block;
    width: calc(100% - 1.5rem);
    margin: 0.5rem auto 0;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-rent-view-details:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

/* ===========================
   RENT TAB - Slider Navigation Arrows
   Circular prev/next buttons on sides of cards
   =========================== */
.rent-arrow-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: var(--white);
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 3;
}

.rent-arrow-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Left arrow - white outline, outside left edge */
.rent-arrow-prev {
    left: -25px;
}

/* Right arrow - orange filled, outside right edge */
.rent-arrow-next {
    right: -25px;
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.rent-arrow-next:hover {
    background: #e55a2b;
}

/* ===========================
   Responsive - General
   =========================== */
@media (max-width: 768px) {
    .hero-eyebrow {
        font-size: 0.72rem;
        padding: 0.4rem 0.75rem;
    }

    .hero-search-card.search-box {
        padding: 1rem;
        border-radius: 14px;
    }

    .property-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: stretch;
        align-items: stretch;
        gap: 0.3rem;
        padding: 0.3rem;
        overflow: visible;
    }

    .property-tabs .nav-item:has(.ai-toggle-tab),
    .property-tabs .nav-item.ms-lg-auto {
        display: none !important;
    }

    .property-tabs .nav-item {
        flex: 1 1 calc(33.333% - 0.22rem);
        max-width: calc(33.333% - 0.22rem);
        min-width: 0;
    }

    .property-tabs .nav-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.35rem;
        width: 100%;
        white-space: nowrap;
    }

    .ai-toggle-tab {
        display: none;
    }

    .ai-toggle-tab i {
        font-size: 0.85rem;
    }

    .ai-coming-soon-tooltip {
        margin-top: 8px;
    }

    .coming-soon-text {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-feature-pill {
        justify-content: center;
    }

    .recent-search-section {
        border-radius: 14px;
        flex-direction: column;
        text-align: center;
    }

    .hero-usage-section {
        margin-top: -1.35rem;
        padding-bottom: 1rem;
    }

    .hero-usage-icon {
        width: 54px;
        height: 54px;
        font-size: 1.2rem;
    }

    .hero-usage-label {
        font-size: 0.92rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .property-features {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Rent Banner - smaller height on mobile */
    .rent-banner-img {
        height: 250px;
    }

    /* Rent Slider - remove side padding on mobile */
    .rent-properties-slider {
        padding: 0;
    }

    /* Rent Arrows - inside cards on mobile */
    .rent-arrow-prev {
        left: 10px;
    }

    .rent-arrow-next {
        right: 10px;
    }
}

/* ===========================
   RENT TAB - Properties by Agents Section
   Cards with Agent badge, property info, price, contact button
   =========================== */
.rent-agents-section {
    padding: 2.5rem 0 3rem;
    background: #f8f9fa;
}

/* Agent Slider Wrapper (same structure as fresh properties) */
.rent-agents-slider {
    position: relative;
    padding: 0 30px;
}

/* Agent Property Card */
.rent-agent-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, opacity 0.3s ease;
    height: 100%;
}

.rent-agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Agent Card Image Container */
.rent-agent-image {
    position: relative;
    overflow: hidden;
    height: 150px;
}

.rent-agent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rent-agent-card:hover .rent-agent-image img {
    transform: scale(1.05);
}

/* Yellow "Agent" Tag - top-left of image */
.agent-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f59e0b;
    color: var(--white);
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    z-index: 2;
}

/* Agent Card Content */
.rent-agent-content {
    padding: 0.75rem 1rem 0.9rem;
}

/* Agent Property Title */
.rent-agent-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.15rem;
}

/* Agent Property Location */
.rent-agent-location {
    font-size: 0.76rem;
    color: #9ca3af;
    margin-bottom: 0.45rem;
}

/* Agent Price Row - amount + sqft */
.rent-agent-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

/* Price Amount (₹ 75 Lac) */
.price-amount {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* Price Area (1450 sqft) */
.price-area {
    font-size: 0.74rem;
    color: #9ca3af;
}

/* Contact Owner Button - dark, compact */
.btn-contact-agent {
    display: inline-block;
    background: #1a1a2e;
    color: var(--white);
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-contact-agent:hover {
    background: #2d2d4a;
    transform: translateY(-1px);
}
@media (max-width: 576px) {
    .hero-usage-card {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap !important;
        padding: 10px 6px;
    }

    .hero-usage-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 0;
    }

    .hero-usage-divider {
        display: block;
        width: 1px;
        height: 50px;
        flex: 0 0 1px;
    }

    .hero-usage-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .hero-usage-value {
        font-size: 18px;
        margin: 0;
    }

    .hero-usage-label {
        font-size: 10px;
        margin: 0;
    }
}
/* ==========================
   Tablet Only (768px - 991px)
   ========================== */
@media (min-width: 768px) and (max-width: 991.98px) {

    .hero-usage-card {
        display: grid;
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: center;
        padding: 14px 18px;
        gap: 0;
    }

    .hero-usage-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0 8px;
    }

    .hero-usage-icon {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .hero-usage-value {
        font-size: 24px;
        line-height: 1;
    }

    .hero-usage-label {
        font-size: 13px;
        margin-top: 2px;
    }

    .hero-usage-divider {
        display: block;
        width: 1px;
        height: 48px;
    }
}
/* ==========================
   Mobile Only (max-width: 767px)
   ========================== */
@media (max-width: 767.98px) {

    .hero-section {
        padding-bottom: 0.5rem;
    }

    .hero-usage-section {
        margin-top: 1.25rem !important;
        position: static !important;
        transform: none !important;
    }

    .hero-usage-container {
        margin-top: 0 !important;
    }
}

/* ------------------------------------------------------------
   FEATURED AND UPCOMING PROJECTS - DISTINCT DESIGNS
------------------------------------------------------------ */

/* Featured Project Card - Elegant Orange Theme & Soft Borders */
.property-card.featured-card {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(230, 138, 68, 0.08) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.property-card.featured-card:hover {
    transform: translateY(-5px);
}
.property-card.featured-card .project-details-body {
    background-color: #ffffff !important;
}

/* Upcoming Project Card - Sleek Violet Theme & Rounded Aesthetics */
.property-card.upcoming-card {
    background: #fcfbfe !important;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.property-card.upcoming-card:hover {
    transform: translateY(-5px);
}
.property-card.upcoming-card .project-details-body {
    background-color: #fcfbfe !important;
}
.property-card.upcoming-card .upcoming-badge-pill {
    background: rgba(139, 92, 246, 0.1) !important;
    color: #8b5cf6 !important;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.35em 0.85em;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.property-card.upcoming-card .pd-upcoming-offer-badge {
    position: absolute;
    top: 52px;
    left: 1rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 9px !important;
    background: rgba(15, 23, 42, 0.54) !important;
    color: #fff !important;
    box-shadow: 0 7px 20px rgba(15, 23, 42, 0.22) !important;
    -webkit-backdrop-filter: blur(9px) saturate(130%);
    backdrop-filter: blur(9px) saturate(130%);
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    line-height: 1.2;
}

.pd-landing-property-offer-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 9px;
    background: rgba(15, 23, 42, 0.54);
    color: #fff;
    box-shadow: 0 7px 20px rgba(15, 23, 42, 0.22);
    -webkit-backdrop-filter: blur(9px) saturate(130%);
    backdrop-filter: blur(9px) saturate(130%);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
}

.pd-landing-project-offer-badge {
    position: absolute;
    top: 52px;
    left: 12px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 9px;
    background: rgba(15, 23, 42, 0.54);
    color: #fff;
    box-shadow: 0 7px 20px rgba(15, 23, 42, 0.22);
    -webkit-backdrop-filter: blur(9px) saturate(130%);
    backdrop-filter: blur(9px) saturate(130%);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
}

#featured-projects-container .pd-landing-project-offer-badge {
    top: 12px;
    left: 12px;
}

#propertyContainer .pd-landing-property-offer-badge,
#rentPropertyContainer .pd-landing-property-offer-badge {
    top: 12px;
    right: auto;
    bottom: auto;
    left: 12px;
}

#luxury-properties-container .pd-landing-property-offer-badge,
#premierPropertyContainer .pd-landing-property-offer-badge {
    top: 12px;
    right: auto;
    bottom: auto;
    left: 12px;
}

#propertyContainer .pd-wishlist-btn,
#rentPropertyContainer .pd-wishlist-btn {
    background: rgba(255, 255, 255, 0.94) !important;
    color: #1f2937 !important;
    opacity: 1 !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
}

#propertyContainer .pd-wishlist-btn i,
#rentPropertyContainer .pd-wishlist-btn i {
    color: #1f2937 !important;
}
#owner-property-container .pd-landing-property-offer-badge {
    top: 12px;
    left: 12px;
    right: auto;
    bottom: auto;
}

/* ========================================================================== */
/* Landing PHONE ONLY — app chrome (bottom nav + hamburger drawer)            */
/* Tablet (≥768) and desktop unchanged                                        */
/* ========================================================================== */

@media (max-width: 767.98px) {
  body.pd-app-drawer-open {
    overflow: hidden;
  }

  /* Header: hamburger left, POST FREE short label */
  .pd-app-menu-btn {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    margin-right: 0.25rem;
    padding: 0;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #1a2b3c;
  }

  .pd-app-menu-btn__bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 20px;
  }

  .pd-app-menu-btn__bars span {
    display: block;
    height: 2px;
    width: 100%;
    background: #1a2b3c;
    border-radius: 2px;
  }

  /* App bottom nav */
  .pd-app-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0;
    height: 64px;
    padding: 0 0.35rem calc(env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #e8edf2;
    box-shadow: 0 -6px 24px rgba(26, 43, 60, 0.08);
  }

  body:has(.pd-app-bottom-nav),
  body.pd-is-landing {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .pd-app-bottom-nav__item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.45rem 0.2rem 0.55rem;
    text-decoration: none;
    color: #334155;
    background: transparent;
    border: none;
  }

  .pd-app-bottom-nav__icon {
    font-size: 1.15rem;
    line-height: 1;
  }

  .pd-app-bottom-nav__label {
    font-size: 0.62rem;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
  }

  .pd-app-bottom-nav__item.is-active {
    color: #eb8944;
  }

  .pd-app-bottom-nav__item.is-active .pd-app-bottom-nav__label {
    position: relative;
  }

  .pd-app-bottom-nav__item.is-active .pd-app-bottom-nav__label::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #eb8944;
  }

  .pd-app-bottom-nav__fab {
    position: relative;
    top: -18px;
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    margin: 0 0.15rem;
    border: none;
    border-radius: 50%;
    background: #eb8944;
    box-shadow: 0 8px 20px rgba(235, 137, 68, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .pd-app-bottom-nav__fab-grid {
    width: 22px;
    height: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
  }

  .pd-app-bottom-nav__fab-grid span {
    display: block;
    background: #fff;
    border-radius: 3px;
  }

  /* Side drawer */
  .pd-app-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1055;
    background: rgba(15, 23, 42, 0.45);
  }

  .pd-app-drawer-backdrop[hidden] {
    display: none !important;
  }

  .pd-app-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1060;
    width: min(86vw, 340px);
    max-width: 340px;
    pointer-events: none;
  }

  .pd-app-drawer__panel {
    height: 100%;
    background: #fff;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 8px 0 28px rgba(15, 23, 42, 0.18);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pd-app-drawer.is-open {
    pointer-events: auto;
  }

  .pd-app-drawer.is-open .pd-app-drawer__panel {
    transform: translateX(0);
  }

  .pd-app-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1rem 1rem;
    background: #f3f4f6;
  }

  .pd-app-drawer__tagline {
    font-size: 0.92rem;
    font-weight: 600;
    color: #4b5563;
    line-height: 1.3;
    max-width: 12.5rem;
  }

  .pd-app-drawer__logo-wrap {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
  }

  .pd-app-drawer__logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
  }

  .pd-app-drawer__nav {
    display: flex;
    flex-direction: column;
    padding: 0.35rem 0 1.5rem;
  }

  .pd-app-drawer__item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.1rem;
    text-decoration: none;
    color: #374151;
    border-bottom: 1px solid #f1f5f9;
  }

  .pd-app-drawer__item-icon {
    width: 1.35rem;
    color: #eb8944;
    font-size: 1.05rem;
    text-align: center;
  }

  .pd-app-drawer__item-label {
    flex: 1 1 auto;
    font-size: 0.98rem;
    font-weight: 500;
  }

  .pd-app-drawer__lock {
    color: #eb8944;
    font-size: 0.78rem;
    margin-right: 0.15rem;
  }

  .pd-app-drawer__chevron {
    color: #6b7280;
    font-size: 0.75rem;
  }

  /* Phone header: POST FREE label (all pages) */
  body.pd-is-landing .pd-header__city-wrap {
    display: none !important;
  }

  .pd-post-label-full {
    display: none !important;
  }

  .pd-post-label-short {
    display: inline !important;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .pd-mobile-right .pd-btn--compact {
    padding: 0.45rem 0.85rem;
    border-radius: 10px;
    white-space: nowrap;
  }

  body.pd-is-landing .pd-navbar__inner {
    align-items: center;
  }

  body.pd-is-landing .pd-brand {
    margin-right: auto;
  }

  /* Hero Add City — dedicated pill button (not a circular chip) */
  #pd-section-hero .pd-hero-add-city-btn,
  #pd-section-hero #pd-hero-add-city.pd-hero-add-city-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 36px !important;
    padding: 0.42rem 0.9rem !important;
    gap: 0.35rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #eb8944 !important;
    border: 1px solid #f0b78a !important;
    background: #fff !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer;
  }

  #pd-section-hero .pd-hero-add-city-btn__plus {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  #pd-section-hero .pd-hero-add-city-btn__text {
    display: inline !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
  }

  /* Add City full-screen sheet */
  body.pd-add-city-open {
    overflow: hidden;
  }

  body.pd-add-city-open #pd-toast-stack {
    z-index: 1200 !important;
    top: 12px !important;
    bottom: auto !important;
    left: 12px !important;
    right: 12px !important;
    transform: none !important;
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .pd-add-city-sheet {
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: #fff;
  }

  .pd-add-city-sheet[hidden] {
    display: none !important;
  }

  .pd-add-city-sheet__panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100dvh;
    padding: 0.75rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
  }

  .pd-add-city-sheet__header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.35rem;
  }

  .pd-add-city-sheet__back {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0;
  }

  .pd-add-city-sheet__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
  }

  .pd-add-city-sheet__hint {
    margin: 0 0 0.85rem;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #94a3b8;
  }

  .pd-add-city-sheet__search {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0.7rem 0.9rem;
    background: #fff;
    margin-bottom: 0.75rem;
  }

  .pd-add-city-sheet__search i {
    color: #94a3b8;
  }

  .pd-add-city-sheet__search input {
    border: 0;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    background: transparent;
    color: #0f172a;
  }

  .pd-add-city-sheet__selected {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: visible;
    margin: 0 0 0.85rem;
    padding: 0.35rem 0.15rem 0.45rem;
    min-height: 2.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pd-add-city-sheet__selected:empty {
    display: none;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  .pd-add-city-sheet__selected::-webkit-scrollbar {
    display: none;
  }

  .pd-add-city-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #f0b78a;
    background: #fff7ed;
    color: #c45f1a;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .pd-add-city-chip i {
    font-size: 0.7rem;
  }

  .pd-add-city-sheet__section {
    margin-bottom: 0.75rem;
  }

  .pd-add-city-sheet__section--grow {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    margin-bottom: 0.5rem;
  }

  .pd-add-city-sheet__section-title {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1f2937;
  }

  .pd-add-city-sheet__recent,
  .pd-add-city-recent-row {
    display: none !important;
  }

  .pd-add-city-recent-row__left,
  .pd-add-city-recent-row__check {
    display: none !important;
  }

  .pd-add-city-sheet__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .pd-add-city-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 88px;
    padding: 0.7rem 0.4rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 700;
    position: relative;
  }

  .pd-add-city-card i {
    color: #94a3b8;
    font-size: 1rem;
  }

  .pd-add-city-card.is-selected {
    border-color: #eb8944;
    color: #c45f1a;
    box-shadow: 0 0 0 1px #eb8944 inset;
  }

  .pd-add-city-card.is-selected i {
    color: #eb8944;
  }

  .pd-add-city-card.is-selected::after {
    content: "✓";
    font-family: inherit;
    font-weight: 800;
    position: absolute;
    top: 6px;
    right: 8px;
    color: #eb8944;
    font-size: 0.85rem;
  }

  .pd-add-city-sheet__empty {
    margin: 0.75rem 0 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
  }

  .pd-add-city-sheet__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid #f1f5f9;
    background: #fff;
  }

  .pd-add-city-sheet__count-label {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 600;
  }

  .pd-add-city-sheet__count strong {
    font-size: 0.92rem;
    color: #0f172a;
  }

  .pd-add-city-sheet__continue {
    border: none;
    border-radius: 999px;
    background: #eb8944;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.75rem 1.4rem;
    min-width: 132px;
  }
}

@media (min-width: 768px) {
  .pd-post-label-short {
    display: none !important;
  }

  .pd-post-label-full {
    display: inline !important;
  }

  .pd-app-menu-btn,
  .pd-app-bottom-nav,
  .pd-app-drawer,
  .pd-app-drawer-backdrop,
  .pd-add-city-sheet {
    display: none !important;
  }

  .pd-hero-tab__icon,
  .pd-hero-city-chips,
  .pd-hero-purpose-tabs,
  .pd-hero-category-tabs {
    display: none !important;
  }
}

/* Landing PHONE — hero app layout */
@media (max-width: 767.98px) {
  /* Hard-hide desktop property tabs (beats stale fragments / older CSS) */
  #pd-section-hero .pd-hero-desktop-tabs,
  #pd-section-hero ul.property-tabs.pd-hero-desktop-tabs,
  #pd-section-hero ul.nav.property-tabs {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  #pd-section-hero .pd-hero-purpose-tabs.d-md-none,
  #pd-section-hero .pd-hero-purpose-tabs,
  #pd-section-hero .pd-hero-category-tabs.d-md-none,
  #pd-section-hero .pd-hero-category-tabs {
    display: flex !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    pointer-events: auto !important;
  }

  #pd-section-hero .hero-city-field,
  #pd-section-hero .hero-purpose-field,
  #pd-section-hero .hero-search-form__submit-col,
  #pd-section-hero .hero-search-form__grid > .d-none.d-md-block,
  #pd-section-hero #heroCityGoogle,
  #pd-section-hero #heroCategory,
  #pd-section-hero #heroPropertyType,
  #pd-section-hero #heroBudget,
  #pd-section-hero #heroSearchSubmit {
    display: none !important;
  }

  #pd-section-hero .hero-locality-field,
  #pd-section-hero .hero-locality-field.d-none {
    display: block !important;
    visibility: visible !important;
  }

  #pd-section-hero .pd-hero-city-chips {
    display: flex !important;
  }

  #pd-section-hero .hero-section {
    background: #f5f7fa !important;
    min-height: 0;
    padding: 0.45rem 0 0.25rem;
  }

  #pd-section-hero .hero-banner-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
  }

  #pd-section-hero .hero-overlay,
  #pd-section-hero .hero-left-promo,
  #pd-section-hero .hero-copy,
  #pd-section-hero .hero-voucher-peek,
  #pd-section-hero .hero-features,
  #pd-section-hero .hero-recent {
    display: none !important;
  }

  #pd-section-hero .hero-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  #pd-section-hero .search-box.hero-search-card,
  #pd-section-hero .hero-search-card.search-box {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
    border: none;
  }

  #pd-section-hero .pd-hero-tabs-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
  }

  #pd-section-hero .pd-hero-purpose-tabs {
    display: flex;
    gap: 0;
    border: none !important;
    margin: 0;
    padding: 0.28rem;
    background: linear-gradient(180deg, #eef2f6 0%, #e7edf3 100%);
    border-radius: 18px;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
  }

  #pd-section-hero .pd-hero-purpose-tabs .nav-item {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
  }

  #pd-section-hero .pd-hero-purpose-tabs .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    min-height: 48px;
    padding: 0.35rem 0.3rem;
    border: none !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.15;
    transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  }

  #pd-section-hero .pd-hero-purpose-tabs .pd-hero-tab__icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    border-radius: 50%;
    font-size: 11px !important;
    line-height: 1 !important;
    background: #fff;
    color: #1e5f7a;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  }

  #pd-section-hero .pd-hero-purpose-tabs .pd-hero-tab__icon i,
  #pd-section-hero .pd-hero-purpose-tabs .pd-hero-tab__icon svg,
  #pd-section-hero .pd-hero-purpose-tabs .pd-hero-tab__icon i::before {
    font-size: 11px !important;
    width: 11px !important;
    height: 11px !important;
    line-height: 1 !important;
    display: block;
  }

  #pd-section-hero .pd-hero-purpose-tabs .nav-item:nth-child(1) .pd-hero-tab__icon {
    color: #eb8944;
  }

  #pd-section-hero .pd-hero-purpose-tabs .nav-item:nth-child(2) .pd-hero-tab__icon {
    color: #3b82f6;
  }

  #pd-section-hero .pd-hero-purpose-tabs .nav-link.active {
    background: #fff !important;
    color: #0f172a !important;
    box-shadow:
      0 4px 12px rgba(15, 23, 42, 0.08),
      0 1px 0 rgba(255, 255, 255, 0.9);
    transform: none;
  }

  #pd-section-hero .pd-hero-purpose-tabs .nav-link.active .pd-hero-tab__icon {
    background: linear-gradient(145deg, #f0a05c 0%, #eb8944 55%, #d97732 100%);
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(235, 137, 68, 0.35);
  }

  #pd-section-hero .pd-hero-purpose-tabs .nav-link.active > span:not(.pd-hero-tab__icon) {
    color: #eb8944;
  }

  #pd-section-hero .pd-hero-category-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0 0.1rem 0.15rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #pd-section-hero .pd-hero-category-tabs::-webkit-scrollbar {
    display: none;
  }

  #pd-section-hero .pd-hero-category-tabs .nav-item {
    flex: 0 0 auto;
    margin: 0;
  }

  #pd-section-hero .pd-hero-category-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    padding: 0.48rem 0.9rem;
    border-radius: 999px !important;
    border: none !important;
    background: #eef2f7 !important;
    color: #1e3a5f !important;
    font-size: 0.8rem;
    font-weight: 600;
  }

  #pd-section-hero .pd-hero-category-tabs .nav-link.active {
    background: #eb8944 !important;
    color: #fff !important;
  }

  #pd-section-hero .pd-hero-category-tabs .pd-hero-tab__icon {
    display: inline-block;
    font-size: 0.85rem;
  }

  #pd-section-hero .hero-locality-field {
    width: 100%;
    max-width: 100%;
    padding: 0 !important;
    margin-bottom: 0.4rem;
  }

  #pd-section-hero #heroLocalityGoogle {
    border-radius: 999px !important;
    border: 1px solid #dbe3ec !important;
    background: #fff !important;
    padding: 0.85rem 1rem 0.85rem 2.6rem !important;
    min-height: 48px;
  }

  #pd-section-hero .hero-locality-field .hero-field-control-wrap {
    position: relative;
  }

  #pd-section-hero .hero-locality-field .hero-field-control-wrap::before {
    content: "\f002";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 2;
    pointer-events: none;
  }

  #pd-section-hero .pd-hero-city-chips {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.15rem 0 0.35rem;
    max-width: 100%;
  }

  #pd-section-hero .pd-hero-city-chips::-webkit-scrollbar {
    display: none;
  }

  /* Override header .city-item / .pd-city-item width:100% so all chips show in a row */
  #pd-section-hero .pd-hero-city-chip.city-item,
  #pd-section-hero .pd-hero-city-chip.pd-city-item,
  #pd-section-hero .pd-hero-city-chip {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ec !important;
    background: #fff !important;
    color: #334155 !important;
    border-radius: 999px !important;
    padding: 0.42rem 0.9rem !important;
    margin: 0 !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    white-space: nowrap;
    line-height: 1.2 !important;
    transform: none !important;
  }

  #pd-section-hero .pd-hero-city-chip:hover,
  #pd-section-hero .pd-hero-city-chip.city-item:hover,
  #pd-section-hero .pd-hero-city-chip.pd-city-item:hover {
    background: #fff7f0 !important;
    color: #c45f1a !important;
    transform: none !important;
  }

  #pd-section-hero .pd-hero-city-chip.is-active,
  #pd-section-hero .pd-hero-city-chip.active-city,
  #pd-section-hero .pd-hero-city-chip.city-item.is-active,
  #pd-section-hero .pd-hero-city-chip.city-item.active-city {
    background: #fff1e8 !important;
    border-color: #f0b78a !important;
    color: #c45f1a !important;
  }

  /* Keep Add City as a labeled pill (do not shrink to icon-only circle) */
  #pd-section-hero .pd-hero-add-city-btn,
  #pd-section-hero #pd-hero-add-city {
    width: auto !important;
    min-width: auto !important;
    height: auto !important;
    min-height: 36px !important;
    padding: 0.42rem 0.9rem !important;
    gap: 0.35rem !important;
    display: inline-flex !important;
  }

  #pd-section-hero .pd-hero-add-city-btn__text {
    display: inline !important;
  }

  /* Mobile: tighten hero → listings gap + compact section chrome */
  #pd-section-hero .hero-section {
    padding: 0.45rem 0 0.25rem !important;
  }

  #pd-section-hero .hero-container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  #pd-section-hero .pd-hero-tabs-wrap {
    gap: 0.45rem !important;
    margin-bottom: 0.5rem !important;
  }

  #pd-section-hero .hero-locality-field {
    margin-bottom: 0.4rem !important;
  }

  #pd-section-hero #heroLocalityGoogle {
    min-height: 44px !important;
    padding: 0.7rem 1rem 0.7rem 2.5rem !important;
  }

  #pd-section-hero .pd-hero-city-chips {
    padding: 0 !important;
    margin: 0 !important;
    gap: 0.4rem !important;
  }

  #pd-section-hero .search-box.hero-search-card,
  #pd-section-hero .hero-search-card.search-box {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  #pd-section-properties .properties-section,
  #pd-section-properties .properties-section.py-5,
  #pd-section-rent-properties .properties-section,
  #pd-section-rent-properties .rent-properties-section,
  #rent-content .rent-properties-section {
    padding-top: 0.75rem !important;
    padding-bottom: 1.1rem !important;
  }

  #pd-section-properties .container > .mb-4,
  #pd-section-rent-properties .container > .mb-4,
  #rent-content .rent-properties-section .mb-4 {
    margin-bottom: 0.55rem !important;
  }

  #pd-section-properties .section-title,
  #pd-section-rent-properties .section-title,
  #rent-content .section-title,
  #rent-content .rent-section-title {
    font-size: 1.12rem !important;
    line-height: 1.25 !important;
  }

  #pd-section-properties .view-all,
  #pd-section-rent-properties .view-all,
  #rent-content .view-all {
    font-size: 0.8rem !important;
  }

  #pd-section-properties .chip-slider,
  #pd-section-rent-properties .chip-slider,
  #rent-content .chip-slider {
    margin-bottom: 0.55rem !important;
  }

  #pd-section-properties .chip-slider__track .btn,
  #pd-section-rent-properties .chip-slider__track .btn,
  #rent-content .chip-slider__track .btn {
    padding: 0.35rem 0.8rem !important;
    font-size: 0.78rem !important;
  }

  #pd-section-properties .pd-listing-shell,
  #pd-section-rent-properties .pd-listing-shell {
    margin-top: 0.15rem !important;
  }

  body.pd-is-landing #pd-section-properties + *,
  body.pd-is-landing #home-page > #pd-section-properties {
    margin-top: 0 !important;
  }

  #buy-content.tab-content-section,
  #rent-content.tab-content-section,
  #commercial-content.tab-content-section,
  #residential-content.tab-content-section,
  #land-content.tab-content-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  #pd-section-properties .chip-slider__progress,
  #pd-section-rent-properties .chip-slider__progress,
  #rent-content .chip-slider__progress {
    margin-top: 0.35rem !important;
    height: 3px !important;
  }

  /* Landing phone: horizontal card scroll (one card + peek) */
  .pd-landing-mobile-hscroll .properties-pagination,
  #pd-section-properties .properties-pagination,
  #pd-section-rent-properties .properties-pagination,
  #pd-section-projects .properties-pagination,
  #pd-section-upcoming-projects .properties-pagination,
  #pd-section-localities .properties-pagination,
  #pd-section-owner-properties .properties-pagination,
  #pd-section-premier .properties-pagination,
  #pd-section-corridors .properties-pagination,
  #pd-section-top-projects .properties-pagination,
  #pd-section-hotspots .properties-pagination,
  #pd-section-services .properties-pagination,
  #pd-section-agents .properties-pagination,
  #pd-section-builders .properties-pagination,
  #rent-content .rent-properties-section .properties-pagination {
    display: none !important;
  }

  #pd-section-properties #propertyContainer.row,
  #pd-section-rent-properties #rentPropertyContainer.row,
  #rent-content #rentPropertyContainer.row,
  #featured-projects-container .row.project-carousel-track,
  #luxury-properties-container.row,
  #upcoming-projects-container .row.project-carousel-track,
  #pd-section-localities #localityGrid.row,
  #pd-section-owner-properties #owner-property-container.row,
  #pd-section-premier #premierPropertyContainer.row,
  #pd-section-corridors #growthCorridorsContainer.row,
  #pd-section-top-projects #topProjectsContainer.row,
  #pd-section-hotspots #hotspotsContainer.row,
  #pd-section-agents #agentContainer.row,
  #pd-section-builders #builderContainer.row,
  #pd-section-services > .container > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-bottom: 0.35rem;
  }

  #pd-section-properties #propertyContainer.row:has(> .pd-view-more-item),
  #pd-section-rent-properties #rentPropertyContainer.row:has(> .pd-view-more-item),
  #rent-content #rentPropertyContainer.row:has(> .pd-view-more-item),
  #featured-projects-container .row.project-carousel-track:has(> .pd-view-more-item),
  #luxury-properties-container.row:has(> .pd-view-more-item),
  #upcoming-projects-container .row.project-carousel-track:has(> .pd-view-more-item),
  #pd-section-owner-properties #owner-property-container.row:has(> .pd-view-more-item),
  #pd-section-premier #premierPropertyContainer.row:has(> .pd-view-more-item),
  #pd-section-agents-properties #agentPropsContainer.row:has(> .pd-view-more-item),
  #pd-comm-grid:has(> .pd-view-more-item),
  .pd-comm-rent-grid:has(> .pd-view-more-item) {
    scroll-snap-type: x proximity;
  }

  #pd-section-properties #propertyContainer.row::-webkit-scrollbar,
  #pd-section-rent-properties #rentPropertyContainer.row::-webkit-scrollbar,
  #rent-content #rentPropertyContainer.row::-webkit-scrollbar,
  #featured-projects-container .row.project-carousel-track::-webkit-scrollbar,
  #luxury-properties-container.row::-webkit-scrollbar,
  #upcoming-projects-container .row.project-carousel-track::-webkit-scrollbar,
  #pd-section-localities #localityGrid.row::-webkit-scrollbar,
  #pd-section-owner-properties #owner-property-container.row::-webkit-scrollbar,
  #pd-section-premier #premierPropertyContainer.row::-webkit-scrollbar,
  #pd-section-corridors #growthCorridorsContainer.row::-webkit-scrollbar,
  #pd-section-top-projects #topProjectsContainer.row::-webkit-scrollbar,
  #pd-section-hotspots #hotspotsContainer.row::-webkit-scrollbar,
  #pd-section-agents #agentContainer.row::-webkit-scrollbar,
  #pd-section-builders #builderContainer.row::-webkit-scrollbar,
  #pd-section-services > .container > .row::-webkit-scrollbar {
    display: none;
  }

  #pd-section-properties #propertyContainer > .property-item:not(.pd-view-more-item),
  #pd-section-rent-properties #rentPropertyContainer > .property-item:not(.pd-view-more-item),
  #rent-content #rentPropertyContainer > .property-item:not(.pd-view-more-item),
  #featured-projects-container .project-carousel-item:not(.pd-view-more-item),
  #luxury-properties-container .property-item:not(.pd-view-more-item),
  #upcoming-projects-container .project-carousel-item:not(.pd-view-more-item),
  #pd-section-localities #localityGrid > .locality-page-item,
  #pd-section-owner-properties #owner-property-container > .property-item:not(.pd-view-more-item),
  #pd-section-premier #premierPropertyContainer > .property-item:not(.pd-view-more-item),
  #pd-section-corridors #growthCorridorsContainer > .growth-corridor-item,
  #pd-section-top-projects #topProjectsContainer > .top-project-item,
  #pd-section-top-projects #topProjectsContainer > .project-carousel-item:not(.pd-view-more-item),
  #pd-section-hotspots #hotspotsContainer > .hotspot-item,
  #pd-section-agents #agentContainer > .agent-item,
  #pd-section-builders #builderContainer > .builder-item,
  #pd-section-services > .container > .row > [class*="col-"] {
    flex: 0 0 82% !important;
    width: 82% !important;
    max-width: 82% !important;
    min-width: 82% !important;
    scroll-snap-align: start;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Keep View More as end pill (not a full-width card slot) */
  #pd-section-properties #propertyContainer > .pd-view-more-item,
  #pd-section-rent-properties #rentPropertyContainer > .pd-view-more-item,
  #rent-content #rentPropertyContainer > .pd-view-more-item,
  #featured-projects-container > .pd-view-more-item,
  #featured-projects-container .project-carousel-track > .pd-view-more-item,
  #luxury-properties-container > .pd-view-more-item,
  #upcoming-projects-container .project-carousel-track > .pd-view-more-item,
  #pd-section-owner-properties #owner-property-container > .pd-view-more-item,
  #pd-section-premier #premierPropertyContainer > .pd-view-more-item,
  #pd-section-agents-properties #agentPropsContainer > .pd-view-more-item,
  #pd-section-commercial-properties .pd-view-more-item,
  #pd-comm-grid > .pd-view-more-item,
  .pd-comm-rent-grid > .pd-view-more-item {
    display: flex !important;
    align-items: center;
    align-self: center;
    order: 9999;
    flex: 0 0 auto !important;
    width: max-content !important;
    max-width: max-content !important;
    min-width: 0 !important;
    padding-left: 0.15rem !important;
    padding-right: 0.35rem !important;
    scroll-snap-align: end;
    scroll-margin-inline-end: 0.75rem;
  }

  /* Agents / Builders: even card width + peek like Featured Projects */
  #pd-section-agents #agentContainer.row,
  #pd-section-builders #builderContainer.row {
    --pd-people-card-w: min(300px, calc(100vw - 56px));
    gap: 12px !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
    padding-right: 16px !important;
  }

  #pd-section-agents #agentContainer > .agent-item,
  #pd-section-builders #builderContainer > .builder-item {
    flex: 0 0 var(--pd-people-card-w) !important;
    width: var(--pd-people-card-w) !important;
    max-width: var(--pd-people-card-w) !important;
    min-width: var(--pd-people-card-w) !important;
    box-sizing: border-box !important;
  }

  /* Featured / Upcoming / Top: even project-list style cards (no squashed peek) */
  #featured-projects-container .row.project-carousel-track,
  #upcoming-projects-container .row.project-carousel-track,
  #pd-section-top-projects #topProjectsContainer.row {
    --pd-lp-project-card-w: min(340px, calc(100vw - 48px));
    gap: 12px !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 16px !important;
  }

  #featured-projects-container .project-carousel-item,
  #upcoming-projects-container .project-carousel-item,
  #pd-section-top-projects #topProjectsContainer > .project-carousel-item {
    flex: 0 0 var(--pd-lp-project-card-w) !important;
    width: var(--pd-lp-project-card-w) !important;
    max-width: var(--pd-lp-project-card-w) !important;
    min-width: var(--pd-lp-project-card-w) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  #featured-projects-container .project-carousel-item > .pd-lp-project-card,
  #upcoming-projects-container .project-carousel-item > .pd-lp-project-card,
  #pd-section-top-projects #topProjectsContainer > .project-carousel-item > .pd-lp-project-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    transform: none !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
  }

  #pd-section-properties #propertyContainer > .property-item .property-card,
  #pd-section-rent-properties #rentPropertyContainer > .property-item .property-card,
  #rent-content #rentPropertyContainer > .property-item .property-card,
  #luxury-properties-container .property-item .property-card,
  #pd-section-owner-properties #owner-property-container > .property-item .property-card,
  #pd-section-premier #premierPropertyContainer > .property-item .property-card,
  #pd-section-services .service-card {
    height: 100%;
  }

  /* Landing project cards: match project-list / app mobile UI */
  body.pd-is-landing #pd-section-projects .pd-lp-project-desktop,
  body.pd-is-landing #pd-section-upcoming-projects .pd-lp-project-desktop,
  body.pd-is-landing #pd-section-top-projects .pd-lp-project-desktop {
    display: none !important;
  }

  body.pd-is-landing #pd-section-projects .pd-lp-project-card,
  body.pd-is-landing #pd-section-upcoming-projects .pd-lp-project-card,
  body.pd-is-landing #pd-section-top-projects .pd-lp-project-card {
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #fff !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body.pd-is-landing #pd-section-projects .pd-lp-project-card:hover,
  body.pd-is-landing #pd-section-upcoming-projects .pd-lp-project-card:hover,
  body.pd-is-landing #pd-section-top-projects .pd-lp-project-card:hover {
    transform: none !important;
  }

  body.pd-is-landing #pd-section-projects .pd-lp-project-image,
  body.pd-is-landing #pd-section-upcoming-projects .pd-lp-project-image,
  body.pd-is-landing #pd-section-top-projects .pd-lp-project-image {
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    overflow: hidden !important;
    position: relative !important;
    flex: 0 0 220px !important;
  }

  body.pd-is-landing #pd-section-projects .project-details-body,
  body.pd-is-landing #pd-section-upcoming-projects .project-details-body,
  body.pd-is-landing #pd-section-top-projects .project-details-body {
    padding: 14px !important;
    background: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    flex: 1 1 auto !important;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-status,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-status,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-status {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 12;
    padding: 6px 12px;
    border-radius: 999px;
    background: #334155;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    pointer-events: none;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-status.is-ongoing,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-status.is-ongoing,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-status.is-ongoing {
    background: #f59e0b;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-status.is-completed,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-status.is-completed,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-status.is-completed {
    background: #16a34a;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-status-dot,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-status-dot,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-top-actions,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-top-actions,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-top-actions {
    display: flex !important;
    align-items: center;
    gap: 8px;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 12;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-icon-btn,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-icon-btn,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-icon-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    color: #fff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-icon-btn i,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-icon-btn i,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-icon-btn i {
    font-size: 0.95rem;
    color: #fff !important;
    line-height: 1;
  }

  body.pd-is-landing #pd-section-projects .project-card-wishlist-btn--image.wishlist-added i,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-wishlist-btn--image.wishlist-added i,
  body.pd-is-landing #pd-section-top-projects .project-card-wishlist-btn--image.wishlist-added i,
  body.pd-is-landing #pd-section-projects .project-card-wishlist-btn--image.active i,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-wishlist-btn--image.active i,
  body.pd-is-landing #pd-section-top-projects .project-card-wishlist-btn--image.active i {
    color: #ef4444 !important;
  }

  body.pd-is-landing #pd-section-projects .project-card-id-pill,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-id-pill,
  body.pd-is-landing #pd-section-top-projects .project-card-id-pill {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 12;
    max-width: calc(100% - 24px);
    padding: 7px 11px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(15, 30, 69, 0.14);
    cursor: pointer;
    overflow: hidden;
  }

  body.pd-is-landing #pd-section-projects .project-card-id-pill span,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-id-pill span,
  body.pd-is-landing #pd-section-top-projects .project-card-id-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.pd-is-landing #pd-section-projects .project-card-id-pill i,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-id-pill i,
  body.pd-is-landing #pd-section-top-projects .project-card-id-pill i {
    color: #9ca3af;
    font-size: 12px;
    flex-shrink: 0;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-header,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-header,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-header {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin: 0 !important;
    width: 100%;
    min-width: 0;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-title,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-title,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-title {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: normal;
    overflow-wrap: break-word;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-price,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-price,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-price {
    flex: 0 0 auto;
    max-width: 46%;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-price-value,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-price-value,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-price-value {
    font-size: 0.9rem;
    font-weight: 800;
    color: #f18535;
    line-height: 1.25;
    white-space: nowrap;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-location,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-location,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-location {
    display: flex !important;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 500;
    margin: 0 !important;
    min-width: 0;
    width: 100%;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-location span,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-location span,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-location span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-location i,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-location i,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-location i {
    color: #94a3b8;
    font-size: 0.78rem;
    flex-shrink: 0;
  }

  /* Match app / project-list: keep desc compact or hide if empty-looking */
  body.pd-is-landing #pd-section-projects .project-card-mobile-desc,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-desc,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-desc {
    display: none !important;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-features,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-features,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-features {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-features::-webkit-scrollbar,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-features::-webkit-scrollbar,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-features::-webkit-scrollbar {
    display: none;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-feature,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-feature,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-feature {
    flex: 0 0 auto;
    width: max-content;
    min-width: max-content;
    max-width: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    white-space: nowrap;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-feature-icon,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-feature-icon,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-feature-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-feature-icon.is-orange,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-feature-icon.is-orange,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-feature-icon.is-orange {
    background: #fff7ed;
    color: #f18535;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-feature-icon.is-blue,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-feature-icon.is-blue,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-feature-icon.is-blue {
    background: #eff6ff;
    color: #2563eb;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-feature-icon.is-green,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-feature-icon.is-green,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-feature-icon.is-green {
    background: #ecfdf5;
    color: #16a34a;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-feature strong,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-feature strong,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-feature strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-feature span,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-feature span,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-feature span {
    display: block;
    font-size: 0.68rem;
    color: #94a3b8;
    margin-top: 2px;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-meta,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-meta,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-meta {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    width: 100%;
    margin: 0 !important;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 500;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-meta::-webkit-scrollbar,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-meta::-webkit-scrollbar,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-meta::-webkit-scrollbar {
    display: none;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-meta > span,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-meta > span,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    border-right: 1px solid #cbd5e1;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-meta > span:first-child,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-meta > span:first-child,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-meta > span:first-child {
    padding-left: 0;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-meta > span:last-child,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-meta > span:last-child,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-meta > span:last-child {
    border-right: 0;
    padding-right: 0;
  }

  body.pd-is-landing #pd-section-projects .pd-lp-project-card .property-card-actions,
  body.pd-is-landing #pd-section-upcoming-projects .pd-lp-project-card .property-card-actions,
  body.pd-is-landing #pd-section-top-projects .pd-lp-project-card .property-card-actions {
    display: none !important;
  }

  /*
   * Phone project cards: restore click + side-scroll.
   * Overlay link must receive taps; only wishlist/share/id stay interactive.
   * Do not set pointer-events:auto on the whole image/body (that blocked the link)
   * and do not lock parent h-scroll on image touch.
   */
  body.pd-is-landing #pd-section-projects .pd-lp-project-card .property-card-link,
  body.pd-is-landing #pd-section-upcoming-projects .pd-lp-project-card .property-card-link,
  body.pd-is-landing #pd-section-top-projects .pd-lp-project-card .property-card-link {
    z-index: 4 !important;
    pointer-events: auto !important;
  }

  body.pd-is-landing #pd-section-projects .pd-lp-project-card .property-card-body,
  body.pd-is-landing #pd-section-upcoming-projects .pd-lp-project-card .property-card-body,
  body.pd-is-landing #pd-section-top-projects .pd-lp-project-card .property-card-body,
  body.pd-is-landing #pd-section-projects .pd-lp-project-card .property-card-view,
  body.pd-is-landing #pd-section-upcoming-projects .pd-lp-project-card .property-card-view,
  body.pd-is-landing #pd-section-top-projects .pd-lp-project-card .property-card-view,
  body.pd-is-landing #pd-section-projects .pd-lp-project-image,
  body.pd-is-landing #pd-section-upcoming-projects .pd-lp-project-image,
  body.pd-is-landing #pd-section-top-projects .pd-lp-project-image,
  body.pd-is-landing #pd-section-projects .pd-lp-project-image .carousel,
  body.pd-is-landing #pd-section-upcoming-projects .pd-lp-project-image .carousel,
  body.pd-is-landing #pd-section-top-projects .pd-lp-project-image .carousel,
  body.pd-is-landing #pd-section-projects .pd-lp-project-image .carousel-inner,
  body.pd-is-landing #pd-section-upcoming-projects .pd-lp-project-image .carousel-inner,
  body.pd-is-landing #pd-section-top-projects .pd-lp-project-image .carousel-inner,
  body.pd-is-landing #pd-section-projects .project-details-body,
  body.pd-is-landing #pd-section-upcoming-projects .project-details-body,
  body.pd-is-landing #pd-section-top-projects .project-details-body,
  body.pd-is-landing #pd-section-projects .project-card-mobile-features,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-features,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-features,
  body.pd-is-landing #pd-section-projects .project-card-mobile-meta,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-meta,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-meta {
    pointer-events: none !important;
  }

  body.pd-is-landing #pd-section-projects .project-card-mobile-top-actions,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-top-actions,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-top-actions,
  body.pd-is-landing #pd-section-projects .project-card-mobile-icon-btn,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-mobile-icon-btn,
  body.pd-is-landing #pd-section-top-projects .project-card-mobile-icon-btn,
  body.pd-is-landing #pd-section-projects .project-card-id-pill,
  body.pd-is-landing #pd-section-upcoming-projects .project-card-id-pill,
  body.pd-is-landing #pd-section-top-projects .project-card-id-pill,
  body.pd-is-landing #pd-section-projects .pd-wishlist-btn,
  body.pd-is-landing #pd-section-upcoming-projects .pd-wishlist-btn,
  body.pd-is-landing #pd-section-top-projects .pd-wishlist-btn,
  body.pd-is-landing #pd-section-projects [data-no-card-nav],
  body.pd-is-landing #pd-section-upcoming-projects [data-no-card-nav],
  body.pd-is-landing #pd-section-top-projects [data-no-card-nav] {
    pointer-events: auto !important;
    position: relative;
    z-index: 6 !important;
  }

  #featured-projects-container .row.project-carousel-track,
  #upcoming-projects-container .row.project-carousel-track,
  #pd-section-top-projects #topProjectsContainer.row {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain;
  }

  body.pd-is-landing .pd-hscroll-locked {
    overflow-x: auto !important;
  }
}

/* Hide pagination arrows and extra spacing on all landing page sections */
body.pd-is-landing .properties-pagination,
body.pd-is-landing .property-carousel-bar,
body.pd-is-landing .arrow-btn,
body.pd-is-landing .rent-arrow-btn,
body.pd-is-landing .pagination-arrows {
    display: none !important;
}

/* Performance: Skip layout & render work for below-the-fold landing sections */
#pd-section-budget-guide,
#shared-map-section,
#pd-section-services,
#pd-section-localities,
#shared-builders-section,
#pd-section-agents,
#pd-section-requirement,
#pd-section-corridors,
#pd-section-top-projects,
#pd-section-hotspots,
#pd-section-faq,
#rera-teaser,
#pd-section-testimonials,
#pd-section-app-download,
#pd-section-seo-links,
#pd-section-popular-seo,
footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

/* ========================================================
   Landing Project Card — Clean, Reusable BEM Classes
   ======================================================== */
.pd-lp-project-card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.pd-lp-project-card:hover {
  transform: translateY(-4px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06) !important;
}

.pd-lp-project-card .pd-lp-project-image {
  height: 280px !important;
  min-height: 280px !important;
  max-height: 280px !important;
  overflow: hidden !important;
}

.pd-project-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #102a43;
  letter-spacing: -0.02em;
  line-height: 1.25;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pd-project-price {
  font-size: 1.08rem;
  font-weight: 800;
  color: #eb8944;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.pd-project-metrics {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin-top: 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #e2e8f0;
  gap: 0.5rem;
}

.pd-project-stat {
  flex: 1 1 0;
  min-width: 0;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 0.5rem;
  padding: 0.5rem;
  text-align: center;
}

.pd-project-stat__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: #64748b;
  text-transform: uppercase;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pd-project-stat__value {
  display: block;
  color: #0f172a;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}



/* ==========================================================================
   Home & Landing Header / City Responsive Overrides (from index.html)
   ========================================================================== */
#home-page #pd-section-agents .pd-requirement-callout {
  display: none !important;
}

#home-page .pd-landing-requirement-section {
  background: #fff;
}

/* Phone landing: hard-hide header city (beats cached/compressed CSS) */
@media (max-width: 767.98px) {
  body.pd-is-landing .pd-header__city-wrap,
  body.pd-is-landing #pd-header-city-wrap,
  body.pd-is-landing #city-btn,
  body.pd-is-landing .pd-landing-city-desktop-only,
  body:has(#pd-app-menu-btn) .pd-header__city-wrap,
  body:has(#pd-app-menu-btn) #city-btn {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  #pd-section-hero .pd-hero-add-city-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: auto !important;
    height: auto !important;
    min-height: 36px !important;
    padding: 0.42rem 0.9rem !important;
    margin: 0 !important;
    border: 1px solid #f0b78a !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #eb8944 !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
  }

  #pd-section-hero .pd-hero-add-city-btn__plus {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  #pd-section-hero .pd-hero-add-city-btn__text {
    display: inline !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 768px) {
  body.pd-is-landing .pd-landing-city-desktop-only,
  body.pd-is-landing #pd-header-city-wrap.pd-landing-city-desktop-only {
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    margin-left: 0.35rem !important;
    margin-right: auto !important;
    justify-content: flex-start !important;
    visibility: visible !important;
    pointer-events: auto !important;
    overflow: visible !important;
  }

  body.pd-is-landing #pd-header-city-wrap.pd-landing-city-desktop-only[hidden] {
    display: flex !important;
  }
}

@media (min-width: 992px) {
  body.pd-is-landing .pd-header__toolbar {
    display: contents !important;
  }
}