:root {
    --brand-primary: #262626;
    --brand-primary-dark: #171717;
    --brand-primary-soft: rgba(38, 38, 38, 0.08);
    --brand-primary-soft-strong: rgba(38, 38, 38, 0.14);
    --brand-violet: #682CC7;
    --brand-violet-soft: #d9c4fb;
}

.project-header-banner {
    width: 100%;
    background:
        radial-gradient(circle at top left, rgba(225, 236, 255, 0.9), transparent 38%),
        radial-gradient(circle at bottom right, rgba(240, 230, 255, 0.85), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #f4f1fa 100%);
    padding: 40px 0 48px;
}

.project-header-shell,
.detail-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    min-width: 0;
}

.property-details-page {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.project-header-grid {
    display: grid;
   /* grid-template-columns: minmax(320px, 0.88fr) minmax(460px, 1.12fr);*/
    gap: 40px;
    align-items: center;
}

.project-header-copy {
    display: flex;
   /* flex-direction: column; */
    align-items: end;
}
.new_theme_left{display: flex; flex-direction: column; align-items: flex-start;}
.new_theme_right{display: flex; flex-direction: column; align-items: end; text-align: right; flex: 1 0 0;}
.project-header-logo-box {
    max-width: 160px;
    height: 60px;   
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.project-header-logo {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-header-title {
    /*font-family: 'Playfair Display', serif;*/
    font-size: clamp(2.4rem, 4vw, 2.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    /*color: #091c83;*/
     color: #222;
    margin: 0 0 8px;
}

.project-header-builder-row,
.project-header-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.project-header-builder-row {
    margin-bottom: 14px;
}

.project-header-township-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 16px;
    border-radius: 10px;
    background: #eef6ff;
    border: 1px solid #79b6ff;
    color: #1670df;
    font-size: 1rem;
    font-weight: 500;
}

.project-header-builder-name {
    color: #2f3138;
    font-size: 1.35rem;
    font-weight: 500;
}

.project-header-builder-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3f3f46;
    transition: color 0.2s ease, transform 0.2s ease;
}

.project-header-builder-link:hover {
    color: #091c83;
    transform: translateY(-1px);
}

.project-header-builder-link-icon,
.project-header-location-icon {
    width: 22px;
    height: 22px;
}

.project-header-location-row {
    color: #4b4d55;
    font-size: 1.2rem;
}

.project-header-location-icon {
    color: #7b7f8a;
}

.project-header-status-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 16px;
    border-radius: 9999px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.project-status-ongoing {
    background: #1292ff;
}

.project-status-completed {
    background: #1ea54b;
}

.project-status-upcoming {
    background: #ff8d28;
}

.project-header-meta-row {
    margin-bottom: 24px;
}

.project-header-price-range {
    font-size: clamp(2rem, 3vw, 1.5rem);
    line-height: 1.05;
    font-weight: 600;
    color: #101114;
    letter-spacing: -0.03em;
}

.project-header-price-psf {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #585b64;
}

.project-header-sold-out {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 12px;
    background: #fff1f1;
    border: 1px solid #ffc9c9;
    color: #d12c2c;
    font-size: 1.15rem;
    font-weight: 600;
}

.project-header-gallery {
    width: 100%;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: 8px;
    align-items: stretch;
    height: clamp(360px, 34vw, 400px);
}

.project-gallery-main,
.project-gallery-thumb {
    position: relative;
    overflow: hidden;
    border: none;
    padding: 0;
    background: #dfe6ef;
    cursor: pointer;
}

.project-gallery-main {
    border-radius: 16px;
    min-height: 0;
}

.project-gallery-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.project-gallery-thumb {
    min-height: 0;
    border-radius: 16px;
}

.project-gallery-main img,
.project-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.project-gallery-main:hover img,
.project-gallery-thumb:hover img {
    transform: scale(1.04);
}

.project-gallery-overlay-cta {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    text-wrap: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--brand-primary);
    box-shadow: 0 8px 24px rgba(15, 27, 45, 0.16);
    font-size: 0.8rem;
    font-weight: 600;
}

.project-gallery-overlay-icon {
    width: 18px;
    height: 18px;
}

.project-gallery-empty {
    min-height: 400px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px dashed rgba(15, 27, 45, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c7280;
    font-size: 1.1rem;
}

.project-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
}

.project-gallery-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 23, 0.82);
    backdrop-filter: blur(5px);
}

.project-gallery-dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    margin: 4vh auto;
    padding: 28px 28px 22px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(10, 14, 23, 0.24);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.project-gallery-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #525866;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.project-gallery-close:hover,
.project-gallery-close:focus-visible {
    color: var(--brand-primary);
    transform: scale(1.04);
    outline: none;
}

.project-gallery-carousel {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    gap: 16px;
    align-items: center;
}

.project-gallery-nav {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 9999px;
    background: #f2f5fb;
    color: #0f1b2d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.project-gallery-nav:hover,
.project-gallery-nav:focus-visible {
    background: #e8edf5;
    color: var(--brand-primary);
    transform: translateY(-1px);
    outline: none;
}

.project-gallery-nav-icon {
    width: 24px;
    height: 24px;
}

.project-gallery-stage {
    background: #edf2f8;
    border-radius: 22px;
    overflow: hidden;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-gallery-stage img {
    width: 100%;
    height: 72vh;
    object-fit: contain;
    background: #edf2f8;
}

.project-gallery-counter {
    margin-top: 16px;
    text-align: center;
    color: #616674;
    font-size: 1rem;
    font-weight: 500;
}

.project-phases-section {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #6f2dd7 0%, #8138e5 100%);
    padding: 48px 0 0;
    overflow-x: clip;
    overflow-y: visible;
}

.project-phases-intro {
    text-align: center;
    color: #f6ebff;
    padding: 0 24px;
    transition: opacity 0.2s ease, max-height 0.2s ease, margin 0.2s ease;
}

.project-phases-intro.is-hidden {
    opacity: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
}

.project-phases-title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2rem);
    font-weight: 400;
    color: #f7edff;
}

.project-phases-title strong {
    font-weight: 700;
}

.project-phases-help {
    margin: 10px 0 0;
    font-size: 1.2rem;
    color: rgba(247, 237, 255, 0.86);
}

.project-phases-sticky-wrap {
    position: relative;
}

.project-phases-rail {
    position: relative;
    z-index: 40;
    margin: 34px 0 0;
    padding: 0;

    transition: margin-top 0.2s ease;
}

.project-phases-rail-placeholder {
    height: 0;
}

.project-phases-rail-sentinel {
    width: 100%;
    height: 1px;
}

.project-phases-rail.is-pinned {
    position: fixed;
    top: var(--phase-rail-top, 65px);
    left: 0;
    right: 0;
    width: 100%;
}

.project-phases-rail.is-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
}

.project-phases-rail.is-compact {
    margin-top: 0;
    padding-top: 8px;
    padding-bottom: 0;
    background: linear-gradient(135deg, rgba(111, 45, 215, 0.96), rgba(129, 56, 229, 0.96));
    backdrop-filter: blur(10px);

}

.project-phases-scroller {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 24px 48px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
    box-sizing: border-box;
    text-align: center;
}
.project-phase-detail-tags .badge-label{ display: inline-block;}

.project-phases-rail.is-compact.is-compact.is-pinned .project-phases-scroller {
    padding-bottom: 12px;
}

.project-phases-rail.is-compact.is-bottom .project-phases-scroller {
    padding-bottom: 12px;
}

.project-phases-scroller::-webkit-scrollbar {
    height: 8px;
}

.project-phases-scroller::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
}

.project-phases-track {
    display: inline-flex;
    min-width: max-content;
    justify-content: center;
    gap: 20px;
}

.project-phase-card {
    min-width: 320px;
    position: relative;
    border: none;
    border-radius: 20px;
    padding: 28px 22px 24px;
    background: rgba(82, 35, 161, 0.88);
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
    flex: 0 0 auto;
}

.project-phase-card:hover,
.project-phase-card:focus-visible {
   background: #262626;
    box-shadow: 0 10px 24px rgba(15, 27, 45, 0.1);
    outline: none;
}

.project-phase-card.is-active {
    background: #ffffff;
    color: #2f3138;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 16px 36px rgba(45, 14, 95, 0.18);
}

.project-phase-card.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 48px;
    background: #ffffff;
    border-radius: 0;
}

.project-phase-card.is-compact {
    min-width: 280px;
    padding: 8px 16px 8px;
    border-radius: 12px;
    line-height: 1;
}

.project-phase-card.is-compact.is-active {
   /* box-shadow: 0 12px 28px rgba(45, 14, 95, 0.18); */
  border-radius: 12px 12px 0 0;
}

.project-phases-rail.is-compact .project-phase-card.is-active::after {
    height: 12px;
}

.project-phase-card-topline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
}

.project-phase-card.is-active .project-phase-card-topline {
    color: rgba(47, 49, 56, 0.82);
}

.project-phase-card-name {
    margin-top: 10px;
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 700;
}

.project-phase-card-score {
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #d5e7ff;
}

.project-phase-card-meta {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.94);
}

.project-phase-card.is-active .project-phase-card-meta {
    color: #51525b;
}

.project-phase-card.is-active .project-phase-card-score {
    color: #2563eb;
}

.project-phase-card-coming-soon {
    margin-top: 16px;
    font-size: 0.98rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.94);
}

.project-phase-card.is-active .project-phase-card-coming-soon {
    color: #7a4a14;
}

.project-phase-card-meta-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.project-phase-card-meta-icon {
    width: 17px;
    height: 17px;
}

.project-phase-card-meta-sep {
    opacity: 0.72;
}

.project-phase-card-status {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 500;
}

.phase-status-under-construction {
    background: #eaf4ff;
    border-color: #90c4ff;
    color: #1670df;
}

.phase-status-ready {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.9);
    color: #ffffff;
}

.project-phase-card.is-active .phase-status-ready {
    background: #f2f6ff;
    border-color: #9bbcff;
    color: #244f98;
}

.phase-status-not-started {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.88);
    color: #ffffff;
}

.project-phase-card.is-active .phase-status-not-started {
    background: #fff5ea;
    border-color: #ffc07b;
    color: #c97312;
}

.phase-status-delayed {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.88);
    color: #ffffff;
}

.project-phase-card.is-active .phase-status-delayed {
    background: #fff0f0;
    border-color: #ffb3b3;
    color: #c63f3f;
}

.phase-status-default {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.88);
    color: #ffffff;
}

.project-phase-card.is-active .phase-status-default {
    background: #f5f5f7;
    border-color: #d2d5db;
    color: #51525b;
}

.project-phases-rail.is-compact .project-phase-card-topline,
.project-phases-rail.is-compact .project-phase-card-status {
    display: none;
}

.project-phases-rail.is-compact .project-phase-card-name {
    margin-top: 0;
    margin-bottom: 4px;
    font-size: 1rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-phases-rail.is-compact .project-phase-card-meta {
    margin-top: 0;
    font-size: 14px;
}

.project-phases-rail.is-compact .project-phase-card-coming-soon {
    margin-top: 0;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-phase-detail-shell {
    padding: 0 0 28px;
}

.project-phase-detail-card {
    display: flex;
    background: #f4f4f6;
    border-radius: 16px;
    padding: 42px;
    min-width: 0;
    overflow-x: clip;
}

.project-phase-indicators-grid {
    display: flex;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.project-phase-indicators-grid .indicator-card1 {
    min-height: 145px;
    background: #f3f8fe;
}

.project-phase-metrics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 60px 0;
}

.project-phase-metrics-grid .metric-card {
    flex: 1 1 calc((100% - (5 * 20px)) / 6);
    min-width: 0;
    min-height: 168px;
    border-radius: 24px;
    border-color: rgba(15, 27, 45, 0.12);
    position: relative;
}

.project-phase-metrics-grid.is-single-phase .metric-card {
    flex-basis: calc((100% - (6 * 20px)) / 7);
}

.project-phase-metrics-grid .metric-card-with-benchmark {
    justify-content: flex-start;
}

.project-phase-metrics-grid .metric-card-with-benchmark .compare-insight-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 28px;
}

.project-phase-metrics-grid .metric-card-with-benchmark .compare-benchmark-cell {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-height: auto;
}

.project-phase-metrics-grid .metric-card-with-benchmark .compare-benchmark-value-row {
    justify-content: center;
}

.project-phase-metrics-grid .metric-card-with-benchmark .compare-benchmark-value {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 400;
    color: #000000;
}
.metric-card.metric-card-with-benchmark:first-child .compare-benchmark-indicator-dot{display: none;}
.project-phase-metrics-grid .metric-card-with-benchmark .compare-benchmark-indicator-dot {
    box-shadow: none;
}

.project-phase-metrics-grid .metric-card-with-benchmark .compare-benchmark-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.76rem;
    line-height: 1.15;
    font-weight: 700;
    text-align: center;
    white-space: normal;
}

.project-phase-metrics-grid .metric-card-with-benchmark .compare-benchmark-pill-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.project-phase-metrics-grid .metric-card-with-benchmark .benchmark-info-trigger {
    width: 22px;
    height: 22px;
    border: 1px solid rgba(15, 27, 45, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: #5b6478;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    line-height: 1;
    top:8px; right: 8px;
    position: absolute;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.property-contact-turnstile-shell {
    width: 100%;
    min-width: 0;
}

.property-contact-turnstile-shell > div,
.property-contact-turnstile-shell iframe {
    width: 100% !important;
    max-width: 100%;
}
.project-phase-metrics-grid .metric-card-with-benchmark .benchmark-info-trigger:hover,
.project-phase-metrics-grid .metric-card-with-benchmark .benchmark-info-trigger:focus-visible {
    border-color: rgba(15, 27, 45, 0.28);
    color: #111827;
    transform: translateY(-1px);
    outline: none;
}

.benchmark-tooltip-popover {
    z-index: 10080;
    max-width: min(320px, calc(100vw - 24px));
    padding: 12px 14px;
    border-radius: 14px;
    background: #ffffff;
    color: #1f2937;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
}

.benchmark-tooltip-popover::before,
.benchmark-tooltip-popover::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}

.benchmark-tooltip-popover[data-placement="bottom"]::before,
.benchmark-tooltip-popover:not([data-placement])::before {
    top: -9px;
    border-bottom: 9px solid rgba(15, 23, 42, 0.12);
}

.benchmark-tooltip-popover[data-placement="bottom"]::after,
.benchmark-tooltip-popover:not([data-placement])::after {
    top: -8px;
    border-bottom: 8px solid #ffffff;
}

.benchmark-tooltip-popover[data-placement="top"]::before {
    bottom: -9px;
    border-top: 9px solid rgba(15, 23, 42, 0.12);
}

.benchmark-tooltip-popover[data-placement="top"]::after {
    bottom: -8px;
    border-top: 8px solid #ffffff;
}

.benchmark-tooltip-title {
    font-size: 0.92rem;
    line-height: 1.25;
    font-weight: 700;
    color: #111827;
}

.benchmark-tooltip-copy {
    margin-top: 6px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #4b5563;
}

.benchmark-tooltip-section {
    margin-top: 10px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #1f2937;
}

.benchmark-tooltip-label {
    display: block;
    margin-bottom: 2px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
}

.benchmark-tooltip-note {
    color: #4b5563;
}

.property-section-title {
    margin: 0 0 18px;
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 700;
    color: #1f2430;
}

.project-phase-config-title {
    margin-bottom: 18px;
}

.project-phase-config-block + .project-phase-config-block {
    margin-top: 22px;
}

.property-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.project-phase-config-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 27, 45, 0.08);
}

.project-phase-config-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    background: #ffffff;
}

.project-phase-config-table thead th {
    padding: 8px 16px 8px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    background: #262626;
    border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.project-phase-config-table thead th.price-col {
    background: var(--brand-violet);
}

.project-phase-config-table thead th:first-child {
    border-top-left-radius: 16px;
}

.project-phase-config-table thead th:last-child {
    border-top-right-radius: 16px;
    border-right: none;
}

.project-phase-config-table thead th.price-col span,
.project-phase-config-table thead th.price-col small {
    display: block;
}

.project-phase-config-table thead th.price-col small {
    margin-top: 4px;
    font-size: 0.8em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
}

.project-phase-config-table tbody td {
    padding: 8px 16px;
    font-size: 1.05rem;
    color: #15171d;
    border-bottom: 1px solid #edf0f5;
    vertical-align: middle;
}

.project-phase-config-table tbody tr:last-child td {
    border-bottom: none;
}

.project-phase-config-type {
    font-size: 1.05rem;
    font-weight: 600;
    color: #15171d;
}

.project-phase-config-subtype {
    margin-top: 6px;
    font-size: 0.95rem;
    color: #8a8d96;
}

.project-phase-config-price {
    white-space: nowrap;
}

.project-phase-config-price.is-sold-out {
    color: #c63f3f;
    font-weight: 700;
}

.project-phase-config-floorplan {
    text-align: center;
}

.project-phase-floorplan-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(15, 27, 45, 0.12);
    border-radius: 12px;
    background: #ffffff;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.project-phase-floorplan-btn:hover,
.project-phase-floorplan-btn:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(38, 38, 38, 0.18);
    background: #f8f9fd;
    color: var(--brand-primary-dark);
    box-shadow: 0 12px 24px rgba(15, 27, 45, 0.12);
    outline: none;
}

.project-phase-floorplan-icon {
    width: 18px;
    height: 18px;
}

.project-phase-floorplan-empty {
    color: #8a8d96;
}

.property-detail-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 10, 18, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.project-phase-floorplan-modal {
    z-index: 10000;
}

.property-detail-modal-dialog {
    background: #ffffff;
    display: grid;
    gap: 16px;
}

.project-phase-floorplan-dialog {
    width: min(980px, 96vw);
    max-height: 92vh;
    padding: 22px;
    border-radius: 22px;
}

.property-detail-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.project-phase-floorplan-dialog-head {
    display: flex;
}

.project-phase-floorplan-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #15171d;
}

.property-detail-modal-close {
    border: none;
    border-radius: 9999px;
    padding: 10px 14px;
    color: #15171d;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.project-phase-floorplan-close {
    background: #f3f5fa;
}

.property-detail-modal-close:hover,
.property-detail-modal-close:focus-visible {
    background: #e9edf4;
    color: var(--brand-primary);
    transform: translateY(-1px);
    outline: none;
}

.property-overlay-dialog {
    width: min(560px, 96vw);
    max-height: calc(100vh - 48px);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 28px 48px rgba(15, 27, 45, 0.2);
    padding: 24px;
    overflow: hidden;
}

.property-overlay-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.property-overlay-close {
    border: none;
    border-radius: 9999px;
    padding: 10px 14px;
    background: #f4f6fb;
    color: #15171d;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.property-overlay-close:hover,
.property-overlay-close:focus-visible {
    background: #e9edf4;
    color: var(--brand-primary);
    transform: translateY(-1px);
    outline: none;
}

.property-soft-surface {
    border-radius: 18px;
    background: #f8f9fd;
}

.property-soft-surface-alt {
    border-radius: 18px;
    background: #f7f9fd;
}

.project-phase-floorplan-image {
    max-width: 100%;
    max-height: calc(92vh - 90px);
    margin: 0 auto;
    border-radius: 18px;
    border: 1px solid rgba(15, 27, 45, 0.08);
    background: #ffffff;
    object-fit: contain;
}

.project-phase-specs-shell {
    margin-top: 60px;
}

.project-phase-specs-title {
    margin-bottom: 14px;
}

.project-phase-specs-panel {
    padding: 18px;
    border-radius: 24px;
    background: #f6f8fd;
    border: 1px solid rgba(15, 27, 45, 0.06);
}

.project-phase-specs-tab-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.project-phase-specs-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #eef2fb;
    color: #5f667a;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.project-phase-specs-tab:hover,
.project-phase-specs-tab:focus-visible {
    background: #f6f8fc;
    color: var(--brand-primary);
    border-color: rgba(38, 38, 38, 0.12);
    outline: none;
}

.project-phase-specs-tab.is-active {
    background: #ffffff;
    color: var(--brand-primary);
   /* border-color: rgba(171, 17, 81, 0.12);*/
    box-shadow: 0 8px 18px rgba(15, 27, 45, 0.06);
}

.project-phase-specs-tab-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.project-phase-specs-content {
    margin-top: 18px;
}

.project-phase-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.project-phase-spec-card {
    min-height: 84px;
    padding: 12px 32px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(15, 27, 45, 0.06);
}

.project-phase-spec-card-icon-wrap {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2b3140;
}

.project-phase-spec-card-icon {
    width: 32px;
    height: 32px;
}

.project-phase-spec-card-title {
    font-size: 0.95rem;
    line-height: 1.3;
    color: #747b90;
}

.project-phase-spec-card-value {
    margin-top: 6px;
    font-size: 1.18rem;
    line-height: 1.15;
    font-weight: 600;
    color: #15171d;
}

.property-floating-tray-shell {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 9999;
}

.property-floating-tray {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--brand-violet) 0%, var(--brand-primary) 100%);
    box-shadow: 0 18px 36px rgba(38, 38, 38, 0.28);
}

.property-floating-btn.btn-lg {
    min-height: 64px;
    padding-inline: 26px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.property-floating-btn.btn-lg:hover,
.property-floating-btn.btn-lg:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 27, 45, 0.12);
    outline: none;
}

.property-floating-btn-disabled.inverse.btn-lg,
.property-floating-btn-disabled.inverse.btn-lg:hover,
.property-floating-btn-disabled.inverse.btn-lg:focus-visible {
    transform: none;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    box-shadow: none;
}

.property-floating-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 141;
    background: rgba(7, 10, 18, 0.66);
}

.property-share-modal,
.property-contact-modal {
    position: fixed;
    bottom:0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.property-share-dialog,
.property-contact-dialog {
    display: flex;
    flex-direction: column;
}

.property-share-head,
.property-contact-head {
    display: flex;
}

.property-share-title,
.property-contact-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    color: #15171d;
}

.property-contact-subtitle {
    margin: 6px 0 0;
    color: #6b7280;
}

.property-share-close,
.property-contact-close {
    background: #f4f6fb;
}

.property-share-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.property-share-option {
    min-height: 94px;
    padding: 16px;
    border: 1px solid rgba(15, 27, 45, 0.08);
    color: #15171d;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.property-share-option:hover,
.property-share-option:focus-visible {
    border-color: rgba(38, 38, 38, 0.18);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 27, 45, 0.08);
    transform: translateY(-1px);
    outline: none;
}

.property-share-option small {
    color: #7a8398;
}

.property-share-option-icon {
    width: 22px;
    height: 22px;
    color: var(--brand-primary);
}

.property-share-feedback,
.property-contact-feedback {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 0.96rem;
}

.property-share-feedback,
.property-contact-feedback.is-success {
    background: #eefcf3;
    color: #15803d;
}

.property-contact-feedback.is-error {
    background: #fff2f2;
    color: #c63f3f;
}

.property-contact-form {
    display: grid;
    gap: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.property-contact-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #313645;
}

.property-contact-field input {
    width: 100%;
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid #dbe2ec;
    padding: 0 16px;
    font-size: 1rem;
    color: #15171d;
    background: #ffffff;
}

.property-contact-otp-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 12px;
    align-items: end;
}

.property-contact-note {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #7a8398;
}

.property-contact-stub {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f6efff;
    color: #5a2aa2;
    font-size: 0.96rem;
}

.property-contact-submit-btn.btn-lg {
    width: 100%;
    margin-top: 4px;
}

@media (max-width: 991.98px) {
    .property-floating-tray-shell {
        left: 16px;
        right: 16px;
        bottom: 14px;
        transform: none;
    }

    .property-floating-tray {
        gap: 10px;
        padding: 12px;
    }

    .property-floating-btn.btn-lg {
        flex: 1 1 0;
        min-width: 0;
        min-height: 56px;
        padding-inline: 16px;
        font-size: 0.96rem;
    }

    .property-share-dialog,
    .property-contact-dialog {
        width: min(560px, 100%);
    }
}

@media (max-width: 767.98px) {
    .property-floating-tray {
        border-radius: 28px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
    }

    .property-floating-tray > .btn.btn-lg,
    .property-floating-tray > .btn.btn-lg.btn-has-icon {
        min-height: 68px;
        padding-inline: 12px;
        font-size: 0.88rem;
        display: inline-flex;
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        gap: 4px;
    }

    .property-floating-tray > .btn .btn-icon {
        width: 18px;
        height: 18px;
        margin: 0;
    }

    .property-floating-tray > .btn .btn-label {
        display: block;
        line-height: 1.15;
        text-align: center;
    }

    .property-floating-btn-desktop-suffix {
        display: none;
    }

    .property-share-modal,
    .property-contact-modal {
        padding: 16px;
        align-items: flex-end;
        width: 100%;
    }

    .property-share-dialog,
    .property-contact-dialog {
        width: 100%;
        border-radius: 24px 24px 18px 18px;
        padding: 20px;
    }

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

    .property-share-option {
        min-height: 82px;
        padding: 14px;
    }

    .property-contact-otp-row {
        grid-template-columns: 1fr;
    }

    .property-contact-otp-btn.btn-lg {
        width: 100%;
    }
    .new_theme_right, .new_theme_left{align-items: center; text-align: center;}
}

@media (max-width: 600px) {
    .property-floating-tray-shell {
        left: 0px;
        right: 0px;
        bottom: -1px;
    }

    .property-floating-tray {
        padding: 0;
        gap: 0;
        border-radius: 0;
    }

    .property-floating-tray > .btn.btn-lg,
    .property-floating-tray > .btn.btn-lg.btn-has-icon {
        padding-inline: 0;
        font-size: 14px;
        border-radius: 0;
        border: none;
        flex: 1;
    }
    .compare-bucket {bottom: 90px; text-align: right;}
    .property-floating-tray{display: flex;}
    .inverse.btn-lg{max-width: 100px;}
}

.property-common-section {
    padding: 32px 0 48px;
    background:
        radial-gradient(circle at top left, rgba(225, 236, 255, 0.9), transparent 38%),
        radial-gradient(circle at bottom right, rgba(240, 230, 255, 0.85), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #f4f1fa 100%);
    border-top:solid thin #eee;
}

.property-common-layout {
    display: grid;
    gap: 32px;
}

.property-common-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(320px, 0.9fr);
    gap: 32px;
    align-items: start;
}

.property-common-left-col,
.property-common-right-col {
    display: grid;
    gap: 32px;
    min-width: 0;
}

.property-common-split-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.property-common-card {
    background: #ffffff;
    border: 1px solid rgba(15, 27, 45, 0.08);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 16px 36px rgba(15, 27, 45, 0.06);
    min-width: 0;
    overflow-x: clip;
}

.property-common-card-head {
    margin-bottom: 18px;
}

.property-common-card-title {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.15;
    font-weight: 700;
    color: #15171d;
}

.property-placeholder-copy {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.65;
}

.property-location-analytics-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.property-location-analytics-table th,
.property-location-analytics-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(15, 27, 45, 0.08);
    text-align: left;
    vertical-align: middle;
}

.property-location-analytics-table th {
    padding-top: 10px;
    color: #2a3040;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.property-location-analytics-table td {
    color: #3e4657;
    font-size: 0.8rem;
}

.property-location-analytics-table tbody tr:last-child td {
    border-bottom: 0;
}

.property-location-analytics-card {
    position: relative;
    z-index: 2;
    overflow: visible;
}

.property-location-analytics-destination {
    font-weight: 600;
    color: #23283a;
}

.property-location-analytics-empty {
    color: #7c8597;
    line-height: 1.6;
}

.property-location-analytics-traffic {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 180px;
}

.property-location-analytics-traffic-bar {
    position: relative;
    width: 120px;
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.property-location-analytics-traffic-fill {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
}

.property-location-analytics-traffic-fill.tone-green {
    background: #34c759;
}

.property-location-analytics-traffic-fill.tone-amber {
    background: #fbbc04;
}

.property-location-analytics-traffic-fill.tone-red {
    background: #ff3b3b;
}

.property-location-analytics-traffic-fill.tone-gray {
    background: #c7ccd6;
}

.property-location-analytics-traffic-text {
    color: #808899;
    white-space: nowrap;
}

.property-location-analytics-search-panel {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 2.3fr);
    align-items: center;
    gap: 20px;
    margin-top: 8px;
    padding: 20px 16px 0;
    border-top: 1px solid rgba(15, 27, 45, 0.08);
}

.property-location-analytics-search-label {
    color: #1f2430;
    font-weight: 600;
    white-space: nowrap;
}

.property-location-analytics-search-shell {
    position: relative;
    width: min(720px, 100%);
}

.property-location-analytics-search-input {
    width: 100%;
    min-height: 36px;
    border-radius: 16px;
    border: 1px solid #d7dde8;
    padding: 0 18px;
    background: #ffffff;
    font-size: 1rem;
    color: #202636;
}

.property-location-analytics-search-input:focus {
    outline: none;
    border-color: rgba(104, 44, 199, 0.45);
    box-shadow: 0 0 0 4px rgba(104, 44, 199, 0.08);
}

.property-location-analytics-search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 20;
    background: #ffffff;
    border: 1px solid rgba(15, 27, 45, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 27, 45, 0.12);
    max-height: min(300px, 45vh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.property-location-analytics-search-option {
    width: 100%;
    display: grid;
    gap: 4px;
    text-align: left;
    padding: 14px 16px;
    border: 0;
    background: #ffffff;
    transition: background 0.18s ease;
}

.property-location-analytics-search-option:hover,
.property-location-analytics-search-option:focus-visible {
    background: #f7f8fc;
    outline: none;
}

.property-location-analytics-search-option + .property-location-analytics-search-option {
    border-top: 1px solid rgba(15, 27, 45, 0.06);
}

.property-location-analytics-search-option-main {
    color: #1f2430;
    font-weight: 600;
}

.property-location-analytics-search-option-sub,
.property-location-analytics-search-empty,
.property-location-analytics-feedback {
    color: #7c8597;
    font-size: 0.92rem;
}

.property-location-analytics-search-empty {
    padding: 14px 16px;
}

.property-location-analytics-feedback {
    margin-top: 10px;
}

.property-growth-card {
    overflow: visible;
}

.property-growth-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 16px;
}

.property-growth-summary {
    min-width: 0;
}

.property-growth-label {
    color: #8c92a4;
    font-size: 0.95rem;
    font-weight: 500;
}

.property-growth-price {
    margin-top: 8px;
    color: #232540;
    font-size: clamp(1.3rem, 3vw, 1.3rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.property-growth-subline {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    font-weight: 700;
}

.property-growth-subline-muted {
    color: #949ab0;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.property-growth-inline-icon,
.property-growth-highlight-icon {
    width: 18px;
    height: 18px;
}

.property-growth-highlights {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: right;
}

.property-growth-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.98rem;
    font-weight: 700;
}

.property-growth-highlight.tone-positive,
.property-growth-subline.tone-positive,
.property-growth-tooltip-delta.tone-positive {
    color: #1daf52;
}

.property-growth-highlight.tone-negative,
.property-growth-subline.tone-negative,
.property-growth-tooltip-delta.tone-negative {
    color: #d23f3f;
}

.property-growth-highlight.tone-neutral,
.property-growth-subline.tone-neutral,
.property-growth-tooltip-delta.tone-neutral {
    color: #7a8398;
}

.property-growth-chart-shell {

    border-top: 1px solid #e7ecf5;
}

.property-growth-chart {
    position: relative;
    width: 100%;
    min-height: 320px;
    cursor: crosshair;
}

.property-growth-focus-guide {
    position: absolute;
    top: 4px;
    bottom: 8px;
    width: 2px;
    transform: translateX(-1px);
    background: rgba(76, 65, 240, 0.95);
    box-shadow: 0 0 0 1px rgba(76, 65, 240, 0.12);
    pointer-events: none;
    z-index: 2;
}

.property-growth-svg {
    display: block;
    width: 100%;
    height: 320px;
}

.property-growth-grid-line {
    stroke: #dfe5f0;
    stroke-width: 1;
}

.property-growth-area {
    fill: rgba(92, 78, 255, 0.14);
}

.property-growth-line {
    fill: none;
    stroke: #4c41f0;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.property-growth-focus-dot {
    fill: #ffffff;
    stroke: #4c41f0;
    stroke-width: 4;
    filter: drop-shadow(0 8px 14px rgba(76, 65, 240, 0.18));
}

.property-growth-point-hit {
    fill: transparent;
    cursor: pointer;
}

.property-growth-tooltip {
    position: absolute;
    min-width: 154px;
    max-width: 180px;
    padding: 8px 8px;
    border-radius: 8px;
    background: #23213f;
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(17, 20, 35, 0.24);
    pointer-events: none;
    z-index: 3;
}

.property-growth-tooltip-period {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.72);
}

.property-growth-tooltip-value {
    margin-top: 4px;
    font-size: 0.98rem;
    line-height: 1.1;
    font-weight: 800;
}

.property-growth-tooltip-delta {
    margin-top: 4px;
    font-size: 0.78rem;
    font-weight: 600;
}

.property-growth-x-axis {
    margin-top: 2px;
    position: relative;
    height: 20px;
    color: #727b92;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.property-growth-x-axis span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
    text-align: center;
}

.property-growth-footnote {
    margin-top: 14px;
    color: #7a8398;
    font-size: 0.92rem;
    line-height: 1.55;
}

.property-amenities-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.property-amenity-item,
.property-amenity-more {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 12px;
}

.property-amenity-more {
    background: var(--brand-violet-soft);
    color: var(--brand-violet);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.property-amenity-more:hover,
.property-amenity-more:focus-visible {
    background: var(--brand-violet);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(104, 44, 199, 0.18);
    outline: none;
}

.property-amenity-icon-wrap {
    width: 28px;
    height: 28px;
    color: #62697f;
}

.property-amenity-icon {
    width: 28px;
    height: 28px;
}

.property-amenity-icon-image {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.property-amenity-name {
    font-size: 0.96rem;
    line-height: 1.3;
    color: #171923;
}

.property-amenities-modal {
    z-index: 9999;
}

.property-amenities-dialog {
    width: min(980px, 96vw);
    max-height: 88vh;
    overflow: hidden;
    border-radius: 24px;
    padding: 24px;
    gap: 18px;
}

.property-amenities-dialog-head {
    display: flex;
}

.property-amenities-close {
    background: #f3f5fa;
}

.property-amenities-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-height: calc(88vh - 110px);
    overflow-y: auto;
    padding-right: 4px;
}

.property-amenities-modal-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
}

.property-amenity-modal-name {
    font-size: 1rem;
    font-weight: 700;
    color: #171923;
}

.property-amenity-modal-description {
    margin-top: 6px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #6b7280;
}

.property-risk-list {
    display: grid;
}

.property-risk-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #edf1f6;
}

.property-risk-row:last-child {
    border-bottom: none;
}

.property-risk-label {
    color: #242833;
    font-size: 0.98rem;
}

.property-risk-value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 600;
}

.property-risk-value.tone-green {
    color: #15923a;
}

.property-risk-value.tone-amber {
    color: #c97312;
}

.property-risk-value.tone-red {
    color: #c63f3f;
}

.property-risk-value.tone-gray {
    color: #758099;
}

.property-risk-icon {
    width: 18px;
    height: 18px;
}

.property-legal-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 14px;
}

.property-legal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(15, 27, 45, 0.06);
    text-decoration: none;
    color: inherit;
}

.property-legal-item.is-disabled {
    pointer-events: none;
}

.property-legal-item-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.property-legal-icon-wrap {
    width: 24px;
    height: 24px;
    color: #3b4355;
    flex-shrink: 0;
}

.property-legal-icon,
.property-legal-link-icon {
    width: 20px;
    height: 20px;
}

.property-legal-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: #15171d;
}

.property-legal-subtitle {
    margin-top: 4px;
    font-size: 0.92rem;
    color: #778197;
}

.property-master-plan-button {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.property-master-plan-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    border: 1px solid rgba(15, 27, 45, 0.08);
}

.property-master-plan-modal {
    z-index: 10001;
    padding: 32px;
}

.property-master-plan-dialog {
    position: relative;
    max-width: min(1100px, 96vw);
    max-height: 92vh;
}

.property-master-plan-modal-image {
    max-width: 100%;
    max-height: 86vh;
    border-radius: 20px;
    background: #ffffff;
}

.property-master-plan-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: #ffffff;
}

.property-master-plan-close:hover,
.property-master-plan-close:focus-visible {
    background: #f4f4f5;
}

.property-builder-top {
    display: flex;
    gap: 16px;
    align-items: center;
}

.property-builder-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(15, 27, 45, 0.08);
}

.property-builder-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #15171d;
}

.property-builder-meta {
    margin-top: 4px;
    font-size: 0.92rem;
    color: #7a8398;
}

.property-builder-grade-wrap {
    margin-top: 8px;
}

.property-builder-stats {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.property-builder-stat-label {
    display: block;
    font-size: 0.82rem;
    color: #7a8398;
}

.property-builder-stat-value {
    display: block;
    margin-top: 6px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #15171d;
}

.property-builder-description {
    margin-top: 18px;
    font-size: 0.96rem;
    line-height: 1.65;
    color: #4b5567;
}

.property-builder-credibility {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: #f7f9fd;
}

.property-builder-credibility-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 700;
    color: #15171d;
}

.property-builder-credibility-head strong {
    color: #20a852;
}

.property-builder-credibility-note {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #778197;
}

.property-builder-link {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
}

.property-builder-link:hover,
.property-builder-link:focus-visible {
    color: var(--brand-primary-dark);
    transform: translateY(-1px);
    outline: none;
}

.property-builder-link-icon {
    width: 18px;
    height: 18px;
}

.is-hidden {
    display: none !important;
}
.left-side-data{flex: 1;}


.project-phase-detail-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}


.project-phase-detail-head-main {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.project-phase-detail-title {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 400;
    color: #31333a;
}

.project-phase-detail-title strong {
    font-weight: 700;
}

.project-phase-oc-tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 4px 4px 0px 4px;
    background: #4fca16;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
}

.project-phase-oc-tag::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10px;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #2ea30b;
}

.project-phase-detail-head-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    width: 30%;
}

.project-phase-score-card {
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #6f2dd7 0%, #8138e5 100%);
    box-shadow: 0 16px 28px rgba(95, 31, 197, 0.16);
    color: #ffffff;
    text-align: center;
}

.project-phase-score-card-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.88;
}

.project-phase-score-card-value {
    margin-bottom: 8px;
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    font-size: 1.6rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.project-phase-score-card-number {
    font-size: 1em;
    line-height: 1;
}

.project-phase-score-card-scale {
    font-size: 0.46em;
    line-height: 1.15;
    font-weight: 600;
    opacity: 0.9;
    transform: translateY(-2px);
}

.project-phase-rera-block {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    color: #8a8e98;
}

.project-phase-rera-label {
    font-size: 1rem;
}

.project-phase-rera-primary {
    font-size: 1rem;
    color: #3b3e45;
}

.project-phase-rera-more {
    min-width: 46px;
    height: 46px;
    border-radius: 9999px;
    border: 2px solid var(--brand-primary);
    background: #ffffff;
    color: var(--brand-primary);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.project-phase-rera-more:hover,
.project-phase-rera-more:focus-visible {
    background: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(38, 38, 38, 0.16);
    transform: translateY(-1px);
    outline: none;
}

.project-phase-rera-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 320px;
    max-width: 420px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 27, 45, 0.16);
    z-index: 5;
}

.project-phase-rera-popover-item {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #3b3e45;
}

.project-phase-rera-popover-item + .project-phase-rera-popover-item {
    margin-top: 8px;
}

.project-phase-compare-btn {
    min-height: 70px;
    padding-inline: 28px;
}

.project-phase-compare-btn.secondary.btn-lg {
    border-width: 2px;
}

.project-phase-compare-btn.is-added.secondary.btn-lg {
    border-color: #22a447;
    background: #ecfdf3;
    color: #166534;
}

.project-phase-compare-btn .btn-icon {
    width: 22px;
    height: 22px;
}

.project-phase-compare-btn .btn-icon-image {
    object-fit: contain;
}

.property-floating-btn-added.inverse.btn-lg {
    border-color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.project-phase-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.project-phase-detail-possession {
    margin-top: 24px;
    font-size: 1.25rem;
    color: #3b3e45;
}

.project-phase-detail-pricing {
    margin-top: 16px;
}

.project-phase-detail-sold-out {
    margin-top: 16px;
}

.project-phase-detail-sold-out-badge {
    display: block;
    width: 172px;
    max-width: 100%;
    height: auto;
}

.project-phase-detail-price-range {
    font-size: 1.5rem;
    line-height: 1.1;
    font-weight: 500;
    color: var(--brand-primary);
}

.project-phase-detail-price-psf {
    margin-top: 8px;
    font-size: 1.1rem;
    color: #555962;
}

.project-phase-coming-soon-card {
    width: 100%;
    min-height: 220px;
    border-radius: 24px;
    border: 1px solid rgba(15, 27, 45, 0.08);
    background:
        radial-gradient(circle at top right, rgba(104, 44, 199, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #faf8fd 100%);
    box-shadow: 0 16px 34px rgba(15, 27, 45, 0.06);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding: 28px 32px;
}

.project-phase-coming-soon-title {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: #1f2430;
}

.project-phase-coming-soon-copy {
    max-width: 620px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #667085;
}

.metric-configurations-value {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.metric-configurations-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid rgba(38, 38, 38, 0.2);
    border-radius: 9999px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.metric-configurations-more:hover,
.metric-configurations-more:focus-visible {
    background: var(--brand-primary-soft-strong);
    border-color: rgba(38, 38, 38, 0.32);
    outline: none;
}

.metric-configurations-popover {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    max-width: 260px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 32px rgba(15, 27, 45, 0.16);
    border: 1px solid rgba(221, 225, 233, 0.92);
    z-index: 20;
}

.metric-configurations-popover-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8b4f67;
}

.metric-configurations-popover-list {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.metric-configurations-popover-item {
    font-size: 0.98rem;
    line-height: 1.35;
    color: #353741;
}

.property-insights-section {
    padding: 34px 0 18px;
}

.property-insights-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 34px;
}

.property-insights-grid .indicator-card1-tone-green {
    background: #daffd0;
}

.property-insights-grid .indicator-card1-tone-amber {
    background: #fff3c5;
}

.property-insights-grid .indicator-card1-tone-red {
    background: #ffe8e8;
}

.indicator-card1-value-growth.indicator-card1-value-tone-green {
    color: #168a36;
}

.indicator-card1-value-growth.indicator-card1-value-tone-red {
    color: #d92d20;
}

.property-summary-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.property-summary-grid .metric-card {
    min-height: 166px;
    border-radius: 24px;
}

.property-summary-grid .metric-icon {
    width: 44px;
    height: 44px;
    color: var(--brand-primary);
}

.property-summary-grid .metric-value {
    font-size: 22px;
}


.property-why-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 24px;
    align-items: flex-start;
    padding: 24px 0 0 0;
   /* padding: 32px;
    border-radius: 26px;
    background: #f4f4f6; */
}

.property-why-title {
    margin: 0 0 8px;
    font-size: 1.6rem;
    font-weight: 500;
    color: #111318;
}

.property-why-description {
    font-size: 1.12rem;
    line-height: 1.7;
    color: #353841;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-why-description.expanded {
    display: block;
    overflow: visible;
}

.property-why-toggle {
    margin-top: 14px;
}

.property-why-toggle:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.property-why-map {
    display: flex;
    justify-content: flex-end;
    margin-top: 36px;
}

.property-why-map-link {
    width: 180px;
    min-height: 150px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.92)),
        radial-gradient(circle at center, rgba(255, 227, 240, 0.9), transparent 60%),
        linear-gradient(135deg, #f7fbff 0%, #eef4f8 100%);
    border: 1px solid rgba(38, 38, 38, 0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--brand-primary);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.property-why-map-link:hover,
.property-why-map-link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(38, 38, 38, 0.22);
    box-shadow: 0 12px 28px rgba(15, 27, 45, 0.08), inset 0 0 0 1px rgba(255,255,255,0.5);
    outline: none;
}

.property-why-map-link-disabled {
    color: #98a2b3;
}

.property-why-map-badge {
    width: 42px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.property-why-map-icon {
    width: 24px;
    height: 24px;
}

.property-why-map-label {
    font-size: 1.15rem;
    font-weight: 500;
}

.property-why-map-external {
    width: 16px;
    height: 16px;
}

.detail-container {
    padding-top: 40px;
    padding-bottom: 60px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f1b2d;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8f0fe;
}

.section-area {
    margin-bottom: 48px;
}

.content-placeholder {
    background: #f7f8fa;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    color: #718096;
    font-size: 15px;
    line-height: 1.6;
}

.content-placeholder strong {
    color: #0f1b2d;
    display: block;
    margin-bottom: 8px;
}

.detail-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.detail-tab {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    border: none;
    border-radius: 8px 8px 0 0;
    color: #718096;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.detail-tab:hover,
.detail-tab.active {
    color: #0f1b2d;
    background: #f7f8fa;
}

.detail-tab.active {
    color: #0f1b2d;
    border-bottom: 2px solid white;
    margin-bottom: -2px;
}

.detail-cta {
    background: linear-gradient(135deg, #f7f8fa 0%, #e8f0fe 100%);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    margin-bottom: 60px;
}

.detail-cta-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f1b2d;
    margin-bottom: 12px;
}

.detail-cta-copy {
    color: #718096;
    margin-bottom: 20px;
    font-size: 15px;
}

@media (max-width: 1200px) {
    .project-header-grid {
        grid-template-columns: 1fr;
    }

    .project-gallery-main {
        min-height: 360px;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-insights-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .project-phase-metrics-grid .metric-card,
    .project-phase-metrics-grid.is-single-phase .metric-card {
        flex-basis: calc((100% - (2 * 20px)) / 3);
    }
    .property-amenities-grid{grid-template-columns: repeat(4, minmax(0, 1fr));}

    .property-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .project-phase-card {
        min-width: 290px;
    }

    .project-phase-detail-head {
        flex-direction: column;
    }

    .project-phase-detail-head-side {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .project-header-banner {
        padding: 24px 0 32px;
    }
    .project-header-copy{flex-direction: column;}
    .new_theme_right{align-items: center; text-align: center; margin-top:24px;}
    .project-header-shell,
    .detail-container {
        padding: 0 16px;
    }

    .project-header-logo-box {
        height: 70px;
        margin-bottom: 16px;
    }

    .project-header-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .project-header-builder-name,
    .project-header-location-row {
        font-size: 1.05rem;
    }

    .project-header-meta-row {
        margin-bottom: 24px;
    }

    .project-header-price-range {
        font-size: 1.8rem;
    }

    .project-phases-section {
        padding: 30px 0 0;
    }

    .project-phases-title {
        font-size: 1.45rem;
    }

    .project-phases-help {
        font-size: 1rem;
    }

    .project-phases-rail {
        padding: 0 16px;
    }

    .project-phases-scroller {
        padding: 0 16px 32px;
    }

    .project-phase-card,
    .project-phase-card.is-compact {
        min-width: 250px;
    }

    .project-phase-detail-card {
        padding: 24px 20px 28px;
        border-radius: 0 0 24px 24px;
    }

    .project-phase-indicators-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin-top: 18px;
    }

    .project-phase-metrics-grid {
        gap: 16px;
        margin-top: 18px;
    }

    .project-phase-metrics-grid .metric-card,
    .project-phase-metrics-grid.is-single-phase .metric-card {
        flex-basis: calc((100% - 16px) / 2);
    }

    .project-phase-config-shell {
        margin-top: 28px;
    }

    .project-phase-config-title {
        margin-bottom: 14px;
        font-size: 1.2rem;
    }

    .project-phase-config-table thead th,
    .project-phase-config-table tbody td {
        padding: 12px 16px;
    }

    .project-phase-specs-shell {
        margin-top: 24px;
    }

    .project-phase-specs-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .project-phase-specs-panel {
        padding: 14px;
        border-radius: 20px;
    }

    .project-phase-specs-tab-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .project-phase-specs-tab {
        min-height: 60px;
        padding: 12px 14px;
        font-size: 0.92rem;
    }

    .project-phase-specs-tab-icon {
        width: 20px;
        height: 20px;
    }

    .project-phase-specs-content {
        margin-top: 14px;
    }

    .project-phase-specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .project-phase-spec-card {
        min-height: 104px;
        padding: 16px;
        gap: 12px;
    }

    .project-phase-spec-card-icon-wrap {
        width: 40px;
        height: 40px;
    }

    .project-phase-spec-card-icon {
        width: 24px;
        height: 24px;
    }

    .project-phase-spec-card-value {
        font-size: 1.02rem;
    }

    .property-common-section {
        padding: 20px 0 48px;
        background: #EEEEEE;
    }

    .property-common-main-grid {
        grid-template-columns: 1fr;
    }

    .property-common-split-row {
        grid-template-columns: 1fr;
    }

    .property-growth-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .property-growth-highlights {
        align-items: flex-start;
        text-align: left;
    }

    .property-growth-chart {
        min-height: 260px;
    }

    .property-growth-svg {
        height: 260px;
    }

    .property-growth-x-axis {
        font-size: 0.76rem;
        gap: 4px;
    }

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

    .property-common-card {
        padding: 18px;
        border-radius: 22px;
    }

    .property-common-card-title {
        font-size: 1.28rem;
    }

    .property-location-analytics-search-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding-inline: 0;
    }

    .property-location-analytics-search-label {
        white-space: normal;
    }

    .property-legal-grid {
        grid-template-columns: 1fr;
    }

    .property-amenities-dialog {
        padding: 18px;
        border-radius: 20px;
    }

    .property-amenities-modal-grid {
        grid-template-columns: 1fr;
    }

    .property-builder-stats {
        grid-template-columns: 1fr 1fr;
    }

    .property-master-plan-modal {
        padding: 16px;
    }

    .property-master-plan-close {
        top: -42px;
    }

    .project-phase-detail-title {
        font-size: 1.45rem;
    }

    .project-phase-rera-block {
        justify-content: flex-start;
    }

    .project-phase-rera-popover {
        left: 0;
        right: auto;
        min-width: 240px;
        max-width: calc(100vw - 48px);
    }

    .project-phase-compare-btn {
        min-height: 56px;
        padding: 0 20px;
    }

    .project-phase-detail-chip {
        min-height: 42px;
        padding: 8px 16px;
        font-size: 0.95rem;
    }

    .project-phase-detail-possession {
        font-size: 1.1rem;
    }

    .project-phase-detail-price-range {
        font-size: 1.7rem;
    }

    .project-gallery-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .project-gallery-main {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .project-gallery-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-gallery-thumb {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .project-gallery-empty {
        min-height: 280px;
    }

    .project-gallery-dialog {
        width: calc(100vw - 20px);
        margin: 2vh auto;
        padding: 16px 16px 18px;
    }

    .project-gallery-carousel {
        grid-template-columns: 1fr;
    }

    .project-gallery-nav {
        width: 44px;
        height: 44px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

    .project-gallery-nav-prev {
        left: 20px;
    }

    .project-gallery-nav-next {
        right: 20px;
    }

    .project-gallery-stage,
    .project-gallery-stage img {
        min-height: 56vh;
        height: 56vh;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .property-insights-section {
        padding-top: 24px;
    }

    .property-insights-grid,
    .property-summary-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }   

    .property-why-card {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .property-why-title {
        font-size: 1.7rem;
    }

    .property-why-description {
        font-size: 1rem;
    }

    .property-why-map {
        justify-content: flex-start;
    }

    .detail-container {
        padding-bottom: 40px;
    }

    .detail-cta {
        padding: 32px 20px;
    }
    .project-phase-detail-card{display: block; align-items: center;}
    .project-phase-detail-head-side{margin-top: 36px;}
    .project-phase-detail-head-side{width: auto;}
    .project-header-copy{
            align-items: center;
    }
}

@media (max-width: 400px) {
    .property-insights-grid, .project-phase-indicators-grid, .indicator-card1, .property-summary-grid {display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .left-side-data{
        flex: inherit;
    display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .property-why-map-link{width: 100%; flex-direction: row; min-height: 60px;}
    .project-phase-detail-head-main, .project-phase-detail-head, .project-phase-detail-sold-out, .project-phase-rera-block, .project-phase-detail-tags, .project-phase-detail-head-side{ align-items: center; justify-content: center; width: 100%;}
    .project-phase-detail-sold-out-badge{display: inline-block;}
}

.mpv-score-card-trigger {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    text-align: left;
    width: 100%;
}

.mpv-score-card-main {
    width: 100%;
    height: 100%;
}

.mpv-score-card-main-value {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
}

.mpv-score-card-main-number {
    font-size: 42px;
    line-height: 1;
}

.mpv-score-card-main-scale {
    font-size: 0.42em;
    line-height: 1.15;
    font-weight: 600;
    opacity: 0.9;
    transform: translateY(-3px);
}

.mpv-score-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.mpv-score-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
}

.mpv-score-modal-dialog {
    position: relative;
    width: min(520px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    margin: 8vh auto 0;
    background: #ffffff;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.24);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mpv-score-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: transparent;
    font-size: 1.7rem;
    color: #6b7280;
}

.mpv-score-modal-head {
    margin-bottom: 18px;
}

.mpv-score-modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111827;
}

.mpv-score-modal-subtitle {
    margin-top: 6px;
    font-size: 0.96rem;
    color: #475569;
}

.mpv-score-modal-body {
    display: grid;
    gap: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mpv-score-modal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.98rem;
    color: #1f2937;
}

.mpv-score-modal-row strong {
    color: #111827;
}

.mpv-score-modal-note {
    margin-top: 16px;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
}
