html {
    scroll-behavior: smooth;
}

:root {
    --brand-yellow: #ffc629;
    --brand-yellow-deep: #f2b600;
    --brand-ink: #26384a;
    --brand-muted: #64748b;
    --brand-line: rgba(38, 56, 74, 0.12);
}

body {
    margin: 0;
    background: #f7fafc;
    color: var(--brand-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

[x-cloak] {
    display: none !important;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 14px 18px;
    /* background: rgba(255, 255, 255, 0.82); */
    border-bottom: 1px solid var(--brand-line);
    /* backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px); */
    transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header--home {
    position: fixed;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: 0;
}

.site-header--property {
    position: sticky;
    /* background: rgba(255, 255, 255, 0.85); */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header__shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 6px 10px 6px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    transition: all 280ms ease;
    animation: header-drop 500ms ease both;
}

.site-header--home .site-header__shell {
    background:  rgb(0 0 0 / 26%);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-header--property .site-header__shell {
    min-height: 70px;
        backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* border-color: rgba(255, 198, 41, 0.34); */
    /* background:
        linear-gradient(135deg, rgba(38, 56, 74, 0.98), rgba(29, 43, 58, 0.96));
    box-shadow: 0 20px 58px rgba(38, 56, 74, 0.18); */
}

.site-header--property .site-header__nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.site-header--property .site-header__link {
    color: rgba(255, 255, 255, 0.88);
}

.site-header--property .site-header__link:hover,
.site-header--property .site-header__link.is-active {
    background: rgba(255, 255, 255, 0.96);
    color: var(--brand-ink);
}

.site-header--property .site-header__brand {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: none;
}

.site-header--property .site-header__cta {
    box-shadow: 0 14px 32px rgba(255, 198, 41, 0.26);
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    padding: 8px 16px;
    /* border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(38, 56, 74, 0.12); */
    /* transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease; */
}

.site-header--home .site-header__brand {
    /* background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1); */
    color: #ffffff;
    box-shadow: none;
}

.site-header__brand:hover {
    /* transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(38, 56, 74, 0.16); */
}

.site-header__logo-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    color: currentColor;
}

.site-header__logo-icon {
    color: currentColor;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.site-header__logo-text {
    font-size: 19px;
    font-weight: 700;
    color: currentColor;
    letter-spacing: -0.02em;
}

.site-header__logo {
    width: 100px;
    height: auto;
    display: block;
    /* transition: transform 220ms ease; */
}

.site-header__brand:hover .site-header__logo {
    transform: scale(1.02);
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(38, 56, 74, 0.06);
}

.site-header--home .site-header__nav {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--brand-ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-header--home .site-header__link {
    color: rgba(255, 255, 255, 0.8);
}

.site-header--home .site-header__link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-1px);
}

.site-header--home .site-header__link.is-active {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: none;
}

.site-header__link:hover,
.site-header__link.is-active {
    background: white;
    color: var(--brand-ink);
    transform: translateY(-1px);
}

.site-header__actions {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    gap: 12px;
}

.site-header__cta,
.site-header__mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* min-height: 46px; */
    padding: 10px 16px;
    border-radius: 999px;
    background: #c8a84b;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    /* box-shadow: 0 8px 20px rgba(255, 183, 3, 0.3); */
    /* transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; */
}

.site-header__cta:hover,
.site-header__mobile-cta:hover {
    /* transform: translateY(-2px); */
    background: #c8a94bcd;
}

.site-header__menu-button {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--brand-ink);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.site-header__menu-button span {
    width: 19px;
    height: 2px;
    border-radius: 99px;
    background: white;
    transition: transform 180ms ease, opacity 180ms ease;
}

.site-header__menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__menu-button.is-open span:nth-child(2) {
    opacity: 0;
}

.site-header__menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-header__mobile-nav {
    /* display: none;
    width: min(1180px, 100%);
    margin: 10px auto 0;
    padding: 10px;
    border: 1px solid var(--brand-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 50px rgba(38, 56, 74, 0.12);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease; */

    /* display: none; */
    flex-direction: column;
    width: min(1180px, 100%);
    
    border: 1px solid var(--brand-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 50px rgba(38, 56, 74, 0.12);

      max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.site-header__mobile-nav.is-open {
    /* opacity: 1;
    transform: translateY(0);
    pointer-events: auto; */
    /* display: flex; */
     max-height: 400px;
    opacity: 1;
    margin: 10px auto 0;
    padding: 10px;
}

.site-header__mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    color: var(--brand-ink);
    font-weight: 800;
    text-decoration: none;
}

.site-header__mobile-nav a:hover {
    background: rgba(255, 198, 41, 0.16);
}

.site-header__mobile-nav .site-header__mobile-cta {
    margin-top: 8px;
}

@keyframes header-drop {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .site-header {
        padding: 10px 12px;
    }

    .site-header__shell {
        min-height: 64px;
        border-radius: 18px;
        padding: 8px 9px 8px 12px;
    }

    .site-header__logo {
        width: 138px;
    }

    .site-header__nav,
    .site-header__menu-button,
    .site-header__mobile-nav {
        display: none !important;
    }

    .site-header__cta {
        display: inline-flex !important;
        min-height: 38px !important;
        padding: 0 16px !important;
        font-size: 13px !important;
        box-shadow: 0 4px 12px rgba(255, 183, 3, 0.2) !important;
    }
}

@media (max-width: 420px) {
    .site-header__logo {
        width: 126px;
    }

    .site-header__cta {
        padding: 0 12px !important;
        font-size: 12px !important;
    }
}

.hero-section {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    /* border-radius: 0 0 32px 32px; */
    /* background: var(--brand-ink); */
    color: white;
}

.hero-carousel,
.hero-carousel__image,
.hero-section__shade,
.hero-section__glow {
    position: absolute;
    inset: 0;
}

.hero-carousel {
    z-index: 0;
    background: var(--brand-ink);
}

.hero-carousel__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    animation: hero-carousel-fade 24s infinite ease-in-out;
}

.hero-carousel__image--one {
    animation-delay: 0s;
}

.hero-carousel__image--two {
    animation-delay: 6s;
}

.hero-carousel__image--three {
    animation-delay: 12s;
}

.hero-carousel__image--four {
    animation-delay: 18s;
}




.hero-section__inner {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 32px));
    min-height: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: 48px;
    padding: 140px 0 80px;
}

.hero-section__content {
    max-width: 720px;
    animation: hero-copy-rise 650ms ease both;
}

.hero-section__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-section__eyebrow::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 8px;
}

.hero-section h1 {
    margin: 24px 0 0;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-serif-title {
    position: relative;
    display: inline-block;
    color: #ffb703;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
}

.hero-serif-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 100%;
    height: 3px;
    background: #ffb703;
    border-radius: 99px;
}

.hero-section p {
    max-width: 580px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.65;
}

.hero-search-tabs {
    display: flex;
    gap: 8px;
    margin-top: 36px;
}

.hero-search-tab {
    display: inline-flex;
    align-items: center;
    border: 0;
    outline: none;
    cursor: pointer;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    transition: all 220ms ease;
    background: rgba(15, 23, 42, 0.45);
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-search-tab:hover {
    background: rgba(15, 23, 42, 0.65);
    color: #ffffff;
}

.hero-search-tab.is-active {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hero-section__search {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 520px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 14px;
}

.hero-search-input-icon {
    color: #64748b;
    margin-right: 10px;
    flex-shrink: 0;
}

.hero-section__search input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #0f172a;
    padding: 0;
    font-size: 15px;
    outline: none;
}

.hero-section__search input::placeholder {
    color: #64748b;
}

.hero-section__search button {
    min-height: 44px;
    border: 0;
    outline: none;
    border-radius: 14px;
    background: #000000;
    color: #ffffff;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 180ms ease, transform 180ms ease;
}

.hero-section__search button:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

.hero-autocomplete {
    position: absolute;
    top: calc(100% + 12px);
    left: -20px;
    right: -20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    z-index: 100;
    padding: 6px;
}

.hero-autocomplete__item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #1e293b;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 150ms ease;
}

.hero-autocomplete__item:hover {
    background: #f1f5f9;
}

.hero-autocomplete__badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #64748b;
}

.hero-section__stats {
    margin-top: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-section__stats div {
    min-width: 130px;
    padding: 16px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.hero-section__stats strong,
.hero-section__stats span {
    display: block;
}

.hero-section__stats strong {
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    color: #ffb703;
}

.hero-section__stats span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-section__preview {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 480px;
}

.hero-section__preview-card {
    width: min(340px, 100%);
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.45);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: hero-card-float 4.5s ease-in-out infinite;
}

.preview-card__image-container {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.preview-card__image-container img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.preview-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ffb703;
    color: #000000;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.05em;
}

.preview-card__body {
    padding: 16px 4px 4px;
}

.preview-card__body strong {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    display: block;
}

.preview-card__body small {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    display: block;
}

.preview-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.preview-card__circles {
    display: flex;
}

.preview-card__circles span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.85);
    display: block;
}

.preview-card__circles span + span {
    margin-left: -8px;
    background: rgba(255, 255, 255, 0.55);
}

.preview-card__details {
    color: #ffb703;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 180ms ease;
}

.preview-card__details:hover {
    opacity: 0.85;
}

@keyframes hero-carousel-fade {
    0% {
        opacity: 0;
        transform: scale(1.04);
    }

    8% {
        opacity: 1;
    }

    25% {
        opacity: 1;
        transform: scale(1.1);
    }

    33% {
        opacity: 0;
        transform: scale(1.12);
    }

    100% {
        opacity: 0;
        transform: scale(1.04);
    }
}

@keyframes hero-copy-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-card-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 900px) {
    .hero-section {
        min-height: 700px;
    }

    .hero-section__inner {
        min-height: 700px;
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 120px 0 56px;
    }

    .hero-section__preview {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-section {
        min-height: 660px;
        border-radius: 0 0 24px 24px;
    }

    .hero-section__inner {
        width: min(100% - 24px, 1180px);
        min-height: 660px;
        padding-top: 104px;
    }

    .hero-section h1 {
        font-size: 40px;
    }

    .hero-section p {
        font-size: 15px;
    }

    .hero-search-tabs {
        flex-wrap: wrap;
    }

    .hero-search-tab {
        flex: 1;
        justify-content: center;
    }

    .hero-section__search {
        flex-direction: row;
        border-radius: 16px;
        padding: 4px;
    }

    .hero-section__search button {
        padding: 0 16px;
    }

    .hero-section__stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .hero-section__stats div {
        min-width: 0;
        padding: 12px;
        text-align: center;
    }

    .hero-section__stats strong {
        font-size: 22px;
    }

    .hero-section__stats span {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel__image,
    .hero-section__content,
    .hero-section__preview-card {
        animation: none;
    }

    .hero-carousel__image--one {
        opacity: 1;
        transform: none;
    }
}

.section-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.featured-listings {
    position: relative;
    padding: 72px 0 48px;
}

.property-browse {
    padding: 44px 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 12px 0 0;
    color: var(--brand-ink);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    font-weight: 500;
}

.section-heading p {
    max-width: 420px;
    margin: 0;
    color: var(--brand-muted);
    font-size: 16px;
    line-height: 1.65;
    text-align: right;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    /* min-height: 30px; */
    /* padding: 0 12px; */
    /* border: 1px solid rgba(242, 182, 0, 0.28);
    border-radius: 999px;
    background: rgba(255, 198, 41, 0.18); */
    color: var(--brand-ink);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.featured-listings__cta{
    &:hover {
        text-decoration: underline;
        color: var(--brand-ink);
    }
}
.featured-property-grid,
.property-grid {
    display: grid;
    gap: 24px;
}

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

.property-browse__layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

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

.results-header {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-bottom: 8px;
    width: 100%;
}

.results-header__count {
    font-size: 14.5px;
    color: #242425;
    font-weight: 500;
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.results-sort__label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.results-sort__select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.results-sort__select {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 18px;
}

.results-sort__icon {
    position: absolute;
    right: 0;
    pointer-events: none;
    color: #111827;
}

.property-filter-panel {
    position: sticky;
    top: 110px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.property-filter-panel__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-header__icon {
    color: #111827;
}

.property-filter-panel h3 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.property-filter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-field span {
    color: #4b5563;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.filter-field input,
.filter-field select {
    width: 100%;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #f3f4f6;
    color: #1f2937;
    padding: 0 14px;
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 180ms ease, background 180ms ease;
    box-sizing: border-box;
}

.filter-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px;
    padding-right: 8px;
}

.filter-field input::placeholder {
    color: #94a3b8;
}

.filter-field input:focus,
.filter-field select:focus {
    border-color: #d1d5db;
    background: #ffffff;
}

.filter-apply-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 44px;
    background: #000000;
    color: #ffffff;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin-top: 12px;
    transition: background 150ms ease;
}

.filter-apply-btn:hover {
    background: #1e293b;
}

.filter-toggle,
.filter-close {
    border: 0;
    font: inherit;
    cursor: pointer;
}

.filter-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--brand-ink);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(38, 56, 74, 0.22);
}

.filter-close {
    display: none;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(255, 198, 41, 0.22);
    color: var(--brand-ink);
    font-size: 13px;
    font-weight: 900;
}

.property-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.property-card:hover {
    /* transform: translateY(-5px); */
    border-color: #d1d5db;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.property-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3f4f6;
}

.property-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 520ms ease, filter 520ms ease;
}

.property-card:hover .property-card__media img {
    transform: scale(1.05);
    filter: saturate(1.06);
}

.property-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    /* min-height: 26px; */
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.property-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

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

.property-card__price {
    margin: 0;
    color: #111827;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;
}

.property-card__status {
    white-space: nowrap;
    background: #e6fcf5;
    color: #059669;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.property-card__status::before {
    content: "•";
    margin-right: 4px;
    font-size: 14px;
    line-height: 1;
    color: #10b981;
}

.property-card__title {
    margin: 6px 0 0;
    color: #1f2937;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
    transition: color 180ms ease;
}

.property-card:hover .property-card__title {
    color: #111827;
}

.property-card__location {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 13.5px;
    line-height: 1.5;
}

.property-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
    padding-bottom: 8px;
}

.property-card__chip {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 11.5px;
    font-weight: 600;
    border: 0;
}

.property-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #f3f4f6;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
}

.property-card__arrow {
    color: #111827;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: transform 180ms ease;
}

.property-card:hover .property-card__arrow {
    transform: translateX(3px);
}

.pagination-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 34px;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid rgba(38, 56, 74, 0.12);
    border-radius: 999px;
    background: #ffffff;
    color: var(--brand-ink);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;

}

.pagination-link:hover {
    transform: translateY(-1px);
    border-color: rgba(242, 182, 0, 0.45);
    background: rgba(255, 198, 41, 0.12);
}

.pagination-link.is-active {
    border-color: transparent;
    background: #c8a84b;
    color: #ffffff;
    /* box-shadow: 0 12px 24px rgba(255, 198, 41, 0.28); */
}

.pagination-link--text {
    min-width: 92px;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 34px;
    border: 1px solid rgba(38, 56, 74, 0.1);
    border-radius: 22px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 14px 34px rgba(38, 56, 74, 0.08);
}

.empty-state h3 {
    margin: 0;
    color: var(--brand-ink);
    font-size: 24px;
}

.empty-state p {
    margin: 10px 0 0;
    color: var(--brand-muted);
}

.property-detail-page {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    padding: 34px 0 84px;
    background:
        linear-gradient(180deg, rgba(255, 198, 41, 0.16) 0%, rgba(247, 250, 252, 0.94) 280px, #ffffff 760px),
        #ffffff;
}

.property-detail-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(38, 56, 74, 0.05), transparent 24%, transparent 76%, rgba(255, 198, 41, 0.08));
}

.detail-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
    gap: 24px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(38, 56, 74, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 60px rgba(38, 56, 74, 0.12);
}

.detail-summary__media {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    border-radius: 16px;
    background: #e2e8f0;
}

.detail-summary__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 54%, rgba(22, 34, 47, 0.2));
}

.detail-summary__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.detail-summary__status {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    background: var(--brand-yellow);
    color: var(--brand-ink);
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.detail-summary__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: 12px 10px 12px 0;
}

.detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--brand-muted);
    font-size: 13px;
    font-weight: 850;
}

.detail-breadcrumb a,
.detail-breadcrumb span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(38, 56, 74, 0.07);
    color: var(--brand-ink);
    text-decoration: none;
}

.detail-breadcrumb span {
    background: rgba(255, 198, 41, 0.18);
}

.detail-summary__content h1 {
    margin: 0;
    color: var(--brand-ink);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
    font-weight: 950;
}

.detail-location {
    margin: -8px 0 0;
    color: var(--brand-muted);
    font-size: 17px;
    line-height: 1.55;
}

.detail-price-panel {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 16px;
    border-left: 5px solid var(--brand-yellow);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 198, 41, 0.18), rgba(255, 255, 255, 0.96));
}

.detail-price-panel span,
.detail-highlights span,
.detail-facts span,
.configuration-row__price span,
.detail-enquiry__summary span {
    color: var(--brand-muted);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.detail-price-panel strong {
    color: var(--brand-ink);
    font-size: 26px;
    line-height: 1;
    font-weight: 950;
}

.detail-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.detail-highlights div {
    display: grid;
    gap: 7px;
    padding: 13px;
    border: 1px solid rgba(38, 56, 74, 0.1);
    border-radius: 16px;
    background: #ffffff;
}

.detail-highlights strong {
    color: var(--brand-ink);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.detail-primary-action,
.detail-secondary-action,
.configuration-row__action,
.configuration-detail__action,
.detail-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--brand-ink);
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
}

.detail-primary-action,
.configuration-row__action,
.configuration-detail__action,
.detail-mobile-cta {
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-deep));
    box-shadow: 0 14px 30px rgba(255, 198, 41, 0.28);
}

.detail-secondary-action {
    border: 1px solid rgba(38, 56, 74, 0.14);
    background: white;
}

.detail-facts {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid rgba(38, 56, 74, 0.1);
    border-radius: 20px;
    background: rgba(38, 56, 74, 0.1);
    box-shadow: 0 16px 36px rgba(38, 56, 74, 0.08);
}

.detail-facts div {
    display: grid;
    gap: 8px;
    min-height: 74px;
    padding: 14px;
    background: #ffffff;
}

.detail-facts strong {
    min-width: 0;
    color: var(--brand-ink);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 950;
}

.detail-main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}

.detail-main-content {
    display: grid;
    gap: 22px;
}

.detail-section,
.detail-enquiry {
    padding: 22px;
    border: 1px solid rgba(38, 56, 74, 0.1);
    border-top: 4px solid var(--brand-yellow);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 42px rgba(38, 56, 74, 0.08);
}

.detail-section__header {
    margin-bottom: 14px;
}

.detail-section__header h2 {
    margin: 10px 0 0;
    color: var(--brand-ink);
    font-size: 21px;
    line-height: 1.15;
    font-weight: 950;
}

.configuration-list {
    display: grid;
    gap: 12px;
}

.configuration-workspace {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.configuration-selector {
    display: grid;
    gap: 8px;
}

.configuration-choice {
    display: grid;
    gap: 5px;
    width: 100%;
    min-height: 88px;
    padding: 13px;
    border: 1px solid rgba(38, 56, 74, 0.11);
    border-radius: 14px;
    background: #ffffff;
    color: var(--brand-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.configuration-choice:hover,
.configuration-choice.is-active {
    border-color: rgba(242, 182, 0, 0.65);
    background: rgba(255, 198, 41, 0.13);
    box-shadow: 0 12px 26px rgba(38, 56, 74, 0.08);
}

.configuration-choice strong {
    font-size: 18px;
    line-height: 1.15;
    font-weight: 950;
}

.configuration-choice span,
.configuration-choice small {
    color: var(--brand-muted);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
}

.configuration-detail {
    display: grid;
    grid-template-columns: minmax(220px, 0.92fr) minmax(0, 1fr);
    gap: 18px;
    min-height: 360px;
    padding: 14px;
    border: 1px solid rgba(38, 56, 74, 0.1);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.configuration-detail__media {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 300px;
    border-radius: 14px;
    background: rgba(255, 198, 41, 0.14);
    color: var(--brand-ink);
    font-size: 22px;
    font-weight: 950;
}

.configuration-detail__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.configuration-detail__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: 4px 2px;
}

.configuration-detail__content h3 {
    margin: 10px 0 0;
    color: var(--brand-ink);
    font-size: 30px;
    line-height: 1;
    font-weight: 950;
}

.configuration-detail__content p {
    margin: 8px 0 0;
    color: var(--brand-ink);
    font-size: 18px;
    font-weight: 950;
}

.configuration-detail__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.configuration-detail__facts div {
    padding: 12px;
    border: 1px solid rgba(38, 56, 74, 0.08);
    border-radius: 13px;
    background: #ffffff;
}

.configuration-detail__facts dt {
    color: var(--brand-muted);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.configuration-detail__facts dd {
    margin: 7px 0 0;
    color: var(--brand-ink);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 900;
}

.configuration-detail__thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.configuration-detail__thumbs img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    object-fit: cover;
    background: #e2e8f0;
}

.configuration-detail__action {
    width: fit-content;
    margin-top: auto;
}

.configuration-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) minmax(150px, 0.45fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(38, 56, 74, 0.1);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.configuration-row__media {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    background: rgba(255, 198, 41, 0.16);
    color: var(--brand-ink);
    font-weight: 950;
}

.configuration-row__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.configuration-row__info h3,
.detail-enquiry__summary h2 {
    margin: 0;
    color: var(--brand-ink);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 950;
}

.configuration-row__info p,
.detail-enquiry__summary p {
    margin: 7px 0 0;
    color: var(--brand-muted);
    line-height: 1.5;
}

.configuration-row__info small {
    display: block;
    margin-top: 7px;
    color: var(--brand-muted);
    font-size: 13px;
    line-height: 1.4;
}

.configuration-row__price {
    display: grid;
    gap: 7px;
}

.configuration-row__price strong {
    color: var(--brand-ink);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 950;
}

.configuration-row__action {
    min-height: 44px;
    padding: 0 15px;
    white-space: nowrap;
}

.detail-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 160px;
    gap: 12px;
}

.detail-gallery__item {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: 16px;
    background: #e2e8f0;
}

.detail-gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.detail-gallery__item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.detail-gallery__item figcaption {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-ink);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(38, 56, 74, 0.14);
}

.detail-data-grid,
.detail-locality-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.detail-data-grid div,
.detail-locality-list div {
    padding: 16px;
    border: 1px solid rgba(38, 56, 74, 0.08);
    border-radius: 14px;
    background: #ffffff;
}

.detail-data-grid dt,
.detail-locality-list dt {
    color: var(--brand-muted);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.detail-data-grid dd,
.detail-locality-list dd {
    margin: 8px 0 0;
    color: var(--brand-ink);
    font-weight: 850;
    line-height: 1.5;
}

.detail-enquiry {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 20px;
}

.detail-enquiry__summary {
    display: grid;
    gap: 8px;
}

.detail-enquiry__selected {
    display: grid;
    gap: 5px;
    margin-top: 4px;
    padding: 12px;
    border: 1px solid rgba(242, 182, 0, 0.28);
    border-radius: 13px;
    background: rgba(255, 198, 41, 0.13);
}

.detail-enquiry__selected strong {
    color: var(--brand-ink);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 950;
}

.detail-enquiry__selected small {
    color: var(--brand-muted);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
}

.detail-enquiry__contact {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 198, 41, 0.14);
}

.detail-enquiry__contact strong {
    color: var(--brand-ink);
    font-size: 16px;
    font-weight: 950;
}

.detail-enquiry__contact a {
    color: var(--brand-muted);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.detail-enquiry__form {
    display: grid;
    gap: 12px;
}

.detail-enquiry__form input,
.detail-enquiry__form textarea {
    width: 100%;
    border: 1px solid rgba(38, 56, 74, 0.14);
    border-radius: 13px;
    background: #ffffff;
    color: var(--brand-ink);
    padding: 14px;
    font: inherit;
    outline: none;
    box-shadow: 0 8px 18px rgba(38, 56, 74, 0.05);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.detail-enquiry__form input:focus,
.detail-enquiry__form textarea:focus {
    border-color: var(--brand-yellow-deep);
    box-shadow: 0 0 0 4px rgba(255, 198, 41, 0.18);
}

.detail-enquiry__form textarea {
    min-height: 126px;
    resize: vertical;
}

.detail-enquiry__form button {
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-deep));
    color: var(--brand-ink);
    font: inherit;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(255, 198, 41, 0.28);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.detail-enquiry__form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(255, 198, 41, 0.36);
}

.detail-empty {
    margin: 0;
    color: var(--brand-muted);
    line-height: 1.6;
}

.detail-mobile-cta {
    display: none;
}

@media (max-width: 1020px) {
    .featured-property-grid,
    .property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .filter-toggle,
    .filter-close {
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    .property-filter-panel {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 80;
        width: min(390px, calc(100% - 28px));
        max-width: 100%;
        overflow-y: auto;
        border-radius: 0 24px 24px 0;
        transform: translateX(-105%);
        transition: transform 240ms ease;
    }

    .property-filter-panel.show {
        transform: translateX(0);
    }

    .detail-summary,
    .detail-main-layout {
        grid-template-columns: 1fr;
    }

    .detail-summary__content {
        padding: 0;
    }

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

    .configuration-workspace,
    .configuration-detail {
        grid-template-columns: 1fr;
    }

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

    .configuration-detail__media {
        min-height: 260px;
    }

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

    .detail-gallery__item--large {
        grid-column: span 2;
    }

    .detail-enquiry {
        position: static;
    }
}

@media (max-width: 720px) {
    .featured-listings {
        padding: 52px 0 36px;
    }

    .property-browse {
        padding: 36px 0 60px;
    }

    .section-heading,
    .section-heading--browse {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 22px;
    }

    .section-heading p {
        font-size: 15px;
    }

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

    .property-card__body {
        padding: 18px;
    }

    .property-card__price {
        font-size: 20px;
    }

    .property-detail-page {
        padding: 28px 0 86px;
    }

    .detail-summary {
        gap: 22px;
        padding: 14px;
        border-radius: 22px;
    }

    .detail-summary__media {
        min-height: 280px;
        border-radius: 16px;
    }

    .detail-summary__content h1 {
        font-size: 36px;
    }

    .detail-highlights,
    .detail-facts,
    .detail-data-grid,
    .detail-locality-list {
        grid-template-columns: 1fr;
    }

    .detail-main-layout {
        gap: 22px;
        margin-top: 24px;
    }

    .detail-section,
    .detail-enquiry {
        padding: 20px;
        border-radius: 18px;
    }

    .configuration-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .configuration-selector {
        grid-template-columns: 1fr;
    }

    .configuration-choice {
        min-height: 74px;
    }

    .configuration-detail {
        min-height: 0;
    }

    .configuration-detail__media {
        min-height: 220px;
    }

    .configuration-detail__content h3 {
        font-size: 26px;
    }

    .configuration-detail__facts {
        grid-template-columns: 1fr;
    }

    .configuration-row__media {
        max-width: 240px;
    }

    .configuration-row__action {
        width: 100%;
    }

    .detail-gallery__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 210px;
    }

    .detail-gallery__item--large {
        grid-column: auto;
        grid-row: auto;
    }

    .detail-mobile-cta {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 16px;
        z-index: 45;
        display: flex;
    }
}
/* .grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));

    gap: 20px;
} */

.card {
    border: 1px solid #ddd;

    border-radius: 12px;

    overflow: hidden;
}

.card img {
    width: 100%;

    height: 220px;

    object-fit: cover;
}

.container {
    width: min(1200px, 100%);
    margin-inline: auto;
    padding-inline: 16px;
}

.property-detail {
    padding-block: 40px;
}

.property-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

.property-content {
    margin-top: 24px;
}

.property-meta {
    display: flex;
    gap: 16px;
    margin-block: 20px;
    flex-wrap: wrap;
}

.price {
    font-size: 32px;
    font-weight: bold;
    margin-block: 20px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: #111827;
    color: white;
    border-radius: 999px;
}

.search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.search-form input {
    flex: 1;
    padding: 12px;
}

.search-form button {
    padding: 12px 20px;
}

.pagination {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    margin-top: 40px;

    flex-wrap: wrap;
}

.pagination a {
    padding: 10px 16px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    text-decoration: none;

    color: black;
}

.pagination span {
    font-weight: 600;
}
.filters {
    display: flex;

    gap: 16px;

    flex-wrap: wrap;

    margin-bottom: 24px;
}

.filters input,
.filters select {
    padding: 12px;

    min-width: 200px;
}


.property-layout {
    display: grid;

    grid-template-columns: 280px 1fr;

    gap: 24px;

    align-items: start;
}

.filters-sidebar {
    position: sticky;

    top: 20px;

    padding: 20px;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    background: white;
}

.filters {
    display: flex;

    flex-direction: column;

    gap: 16px;
}

.filters input,
.filters select {
    padding: 12px;

    border: 1px solid #d1d5db;

    border-radius: 8px;
}

.mobile-filter-btn,
.close-btn {
    display: none;
}

@media (max-width: 768px) {

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

    .mobile-filter-btn {
        display: block;

        margin-bottom: 16px;
    }

    .filters-sidebar {

        position: fixed;

        inset: 0;

        background: white;

        z-index: 1000;

        transform: translateX(-100%);

        transition: 0.3s;
    }

    .filters-sidebar.show {
        transform: translateX(0);
    }

    .close-btn {
        display: block;

        margin-bottom: 20px;
    }
}
.filters input[type="number"]::-webkit-inner-spin-button,
.filters input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}
.contact-form {
    margin-top: 40px;

    padding: 24px;

    border: 1px solid #e5e7eb;

    border-radius: 16px;
}

.contact-form form {
    display: flex;

    flex-direction: column;

    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    width: 100%;
}

.contact-form button {
    padding: 14px;

    border: none;

    background: black;

    color: white;

    border-radius: 8px;

    cursor: pointer;
}

.messages-container {

    position: fixed;

    top: 20px;

    right: 20px;

    z-index: 999999;

    display: flex;

    flex-direction: column;

    gap: 10px;

    transition: all 0.3s ease;

}

.message-success {

    background: #16a34a;

    color: white;

    padding: 14px 20px;

    border-radius: 10px;

    font-weight: 500;

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.message-error {
    background: #b91c1c;
    color: white;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Propleaf-inspired property detail redesign */
.ps-project-page {
    background: #ffffff;
    color: var(--brand-ink);
}

.ps-project-page a {
    color: inherit;
}

/* ─────────────────────────────────────────────
   PROPERTY DETAIL — HERO (professional redesign)
   ───────────────────────────────────────────── */

.ps-project-hero {
    position: relative;
    min-height: 720px;
    background:
        var(--hero-image) center / cover no-repeat,
        var(--brand-ink);
    isolation: isolate;
}

/* cinematic dual-gradient overlay */
.ps-project-hero__overlay {
    position: relative;
    z-index: 1;
    min-height: 720px;
    padding: 120px 0 52px;
    background: 
        linear-gradient(to right, rgba(15, 23, 42, 0.15) 30%, rgba(15, 23, 42, 0.153) 70%, rgba(15, 23, 42, 0.1) 100%),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.15) 60%, rgba(15, 23, 42, 0.15) 100%);
}

/* golden bottom fade line */
.ps-project-hero__overlay::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-yellow), transparent 60%);
    z-index: 2;
}

.ps-project-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 48px;
    align-items: center;
    min-height: 560px;
}

.ps-project-hero__content {
    max-width: 760px;
    color: #ffffff;
}

/* ── Breadcrumbs ── */
.ps-project-hero__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.ps-project-hero__crumbs a,
.ps-project-hero__crumbs span,
.ps-status-pill,
.ps-section-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ps-project-hero__crumbs a {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: background 160ms ease, color 160ms ease;
}
.ps-project-hero__crumbs a:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.ps-project-hero__crumbs span {
    background: transparent;
    color: rgba(255, 255, 255, 0.46);
    padding: 0 4px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    min-height: unset;
    border-radius: 0;
}

.ps-status-pill,
.ps-section-label {
    background: var(--brand-yellow);
    color: var(--brand-ink);
    font-weight: 800;
}

.ps-section-label--muted {
    border: 1px solid rgba(38, 56, 74, 0.14);
    background: #f8fafc;
    color: var(--brand-ink);
}

/* ── Title row (status pill + heading group) ── */
.ps-hero-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

/* ── Property Name ── */
.ps-project-hero h1 {
    margin: 14px 0 0;
    color: #ffffff;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(15, 23, 42, 0.45);
}

/* ── Location ── */
.ps-project-location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 450;
    line-height: 1.5;
    text-shadow: 0 1px 6px rgba(15, 23, 42, 0.4);
}
.ps-project-location::before {
    content: '📍';
    font-size: 14px;
    line-height: 1;
}

/* ── Stat tiles (Configurations / Price / Builder) ── */
.ps-hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    width: min(740px, 100%);
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ps-hero-highlights div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.06);
    transition: background 200ms ease;
}
.ps-hero-highlights div:hover {
    background: rgba(255, 255, 255, 0.11);
}

.ps-hero-highlights span,
.ps-rera-strip span,
.ps-lead-card__header span {
    color: rgba(255, 255, 255, 0.52);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ps-hero-highlights strong {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

/* ── RERA strip ── */
.ps-rera-strip {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 12px;
    width: min(740px, 100%);
    margin-top: 14px;
}

.ps-rera-strip div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 198, 41, 0.22);
    border-radius: 14px;
    background: rgba(255, 198, 41, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ps-rera-strip span {
    color: rgba(255, 198, 41, 0.75);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ps-rera-strip strong,
.ps-rera-strip a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    word-break: break-word;
    text-decoration: none;
}
.ps-rera-strip a:hover {
    color: var(--brand-yellow);
}

/* ── Gallery strip ── */
.ps-hero-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: min(520px, 100%);
    margin-top: 24px;
}

.ps-hero-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    object-fit: cover;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
    cursor: pointer;
}
.ps-hero-gallery img:hover {
    transform: scale(1.05);
    border-color: var(--brand-yellow);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* ─────────────────────────────────────────────
   GALLERY LIGHTBOX
   ───────────────────────────────────────────── */

.ps-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(6, 10, 17, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 24px 16px 72px;
    outline: none;
    /* entrance animation target */
    opacity: 0;
    transition: opacity 220ms ease;
}

.ps-lightbox--open {
    display: flex;
    opacity: 1;
    animation: psLbFadeIn 220ms ease forwards;
}

@keyframes psLbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Image stage ── */
.ps-lightbox__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(900px, calc(100vw - 140px));
    max-height: calc(100vh - 120px);
    gap: 14px;
}

.ps-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 180px);
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
    transition: opacity 200ms ease, transform 220ms ease;
    transform: scale(1);
    opacity: 1;
}

.ps-lightbox__img--loading {
    opacity: 0;
    transform: scale(0.97);
}

.ps-lightbox__caption {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    line-height: 1.5;
    max-width: 600px;
    padding: 0 8px;
}

/* ── Navigation arrows ── */
.ps-lightbox__arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.ps-lightbox__arrow:hover {
    background: rgba(255, 198, 41, 0.85);
    color: #0a1219;
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(255, 198, 41, 0.35);
}

/* ── Close button ── */
.ps-lightbox__close {
    position: absolute;
    top: 18px;
    right: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    z-index: 10;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.ps-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    transform: rotate(90deg);
}

/* ── Counter badge ── */
.ps-lightbox__counter {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
    pointer-events: none;
}

/* ── Dot strip ── */
.ps-lightbox__dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ps-lightbox__dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
    padding: 0;
}

.ps-lightbox__dot--active {
    background: var(--brand-yellow);
    transform: scale(1.3);
}

.ps-lightbox__dot:hover:not(.ps-lightbox__dot--active) {
    background: rgba(255, 255, 255, 0.55);
}

/* ─────────────────────────────────────────────
   LEAD / ENQUIRY CARD
   ───────────────────────────────────────────── */

.ps-lead-card {
    padding: 28px 26px 24px;
    border-top: 4px solid var(--brand-yellow);
    border-radius: 20px;
    background: #ffffff;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 24px 60px rgba(0, 0, 0, 0.22);
}

.ps-lead-card__header h2 {
    margin: 10px 0 0;
    color: var(--brand-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.ps-lead-card__header span {
    color: var(--brand-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ps-lead-card__header p {
    margin: 8px 0 0;
    color: var(--brand-muted);
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.6;
}

.ps-lead-form {
    display: grid;
    gap: 11px;
    margin-top: 18px;
}

.ps-lead-form__trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ps-lead-form input,
.ps-lead-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(38, 56, 74, 0.16);
    border-radius: 10px;
    background: #fafbfc;
    color: var(--brand-ink);
    padding: 12px 14px;
    font: inherit;
    font-size: 14px;
    outline: none;
    box-shadow: none;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.ps-lead-form input::placeholder,
.ps-lead-form textarea::placeholder {
    color: rgba(38, 56, 74, 0.38);
}

.ps-lead-form textarea {
    min-height: 88px;
    resize: vertical;
}

.ps-lead-form input:focus,
.ps-lead-form textarea:focus {
    background: #ffffff;
    border-color: var(--brand-yellow-deep);
    box-shadow: 0 0 0 3px rgba(255, 198, 41, 0.18);
}

.ps-form-message {
    display: none;
    padding: 11px 13px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.ps-form-message.is-success,
.ps-form-message.is-error {
    display: block;
}

.ps-form-message.is-success {
    border: 1px solid rgba(22, 163, 74, 0.22);
    background: rgba(22, 163, 74, 0.09);
    color: #166534;
}

.ps-form-message.is-error {
    border: 1px solid rgba(185, 28, 28, 0.22);
    background: rgba(185, 28, 28, 0.08);
    color: #991b1b;
}

.ps-lead-form button:disabled {
    cursor: progress;
    opacity: 0.72;
    transform: none;
    box-shadow: none;
}

.ps-lead-form button,
.ps-btn,
.ps-price-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease;
}
.ps-lead-form button:hover,
.ps-btn--primary:hover,
.ps-price-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(255, 198, 41, 0.38);
}

.ps-lead-form button:disabled:hover {
    transform: none;
    box-shadow: none;
}

.ps-lead-form button,
.ps-btn--primary,
.ps-price-link {
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-deep));
    color: var(--brand-ink);
    box-shadow: 0 10px 26px rgba(255, 198, 41, 0.28);
}

/* ── Trust badges ── */
.ps-lead-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.ps-lead-trust div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 11px 13px;
    border-radius: 12px;
    background: rgba(255, 198, 41, 0.1);
    border: 1px solid rgba(255, 198, 41, 0.18);
}

.ps-lead-trust strong,
.ps-lead-trust span {
    display: block;
}

.ps-lead-trust strong {
    color: var(--brand-ink);
    font-size: 12.5px;
    font-weight: 700;
}

.ps-lead-trust span {
    color: var(--brand-muted);
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.4;
}

/* ─────────────────────────────────────────────
   PROPERTY DETAIL — STICKY SECTION NAV
   ───────────────────────────────────────────── */

.ps-detail-menu {
    position: sticky;
    top: 0;            /* JS will set exact offset after header height is measured */
    z-index: 999;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(38, 56, 74, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* entrance shadow when the bar has "stuck" */
    box-shadow: 0 1px 0 rgba(38, 56, 74, 0.06), 0 8px 24px rgba(38, 56, 74, 0.06);
    transition: box-shadow 200ms ease;
}

/* stronger shadow once user scrolled past the hero */
.ps-detail-menu--stuck {
    box-shadow: 0 1px 0 rgba(38, 56, 74, 0.1), 0 12px 32px rgba(38, 56, 74, 0.1);
}

.ps-detail-menu__scroll {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    padding: 4px 6px;
    scrollbar-width: none;
    /* subtle pill-track background */
    background: rgba(38, 56, 74, 0.04);
    border-radius: 999px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}

.ps-detail-menu__scroll::-webkit-scrollbar {
    display: none;
}

.ps-detail-menu a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    color: rgba(38, 56, 74, 0.6);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.ps-detail-menu a:hover {
    background: rgba(38, 56, 74, 0.07);
    color: var(--brand-ink);
}

/* Active link — amber pill */
.ps-detail-menu a.is-active,
.ps-detail-menu a[aria-current="true"] {
    background: var(--brand-yellow);
    color: var(--brand-ink);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(255, 198, 41, 0.35);
}

.ps-detail-menu a.is-active:hover {
    box-shadow: 0 6px 18px rgba(255, 198, 41, 0.45);
}


/* ═══════════════════════════════════════════════════
   PROPERTY DETAIL — ALL SECTIONS (professional redesign)
   ═══════════════════════════════════════════════════ */

.ps-section {
    scroll-margin-top: 150px;
    padding: 72px 0;
}

.ps-section--white {
    background: #ffffff;
}

.ps-section--warm {
    background:
        radial-gradient(ellipse 70% 60% at 100% 0%, rgba(255,198,41,0.07), transparent),
        #f7f9fb;
}

/* ── Section heading pattern ── */
.ps-section-heading {
    margin-bottom: 40px;
}

.ps-section-heading h2,
.ps-section-copy h2,
.ps-location-layout h2,
.ps-download-layout h2,
.ps-builder-card h2,
.ps-rera-card h2 {
    margin: 10px 0 0;
    color: var(--brand-ink);
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.ps-section-copy p,
.ps-location-layout p,
.ps-builder-card p,
.ps-rera-card p,
.ps-faq-list p {
    color: var(--brand-muted);
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.75;
}

/* ═══════════════════════════════════
   OVERVIEW SECTION
   ═══════════════════════════════════ */

.ps-overview-layout,
.ps-split-section,
.ps-location-layout,
.ps-builder-layout,
.ps-download-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.ps-overview-layout {
    align-items: stretch;
    gap: 28px;
}

.ps-overview-layout .ps-section-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 36px 36px 40px;
    border-left: 3px solid var(--brand-yellow);
    border-radius: 20px;
    background: #ffffff;
    box-shadow:
        0 2px 4px rgba(38,56,74,0.04),
        0 16px 40px rgba(38,56,74,0.07);
}

.ps-overview-layout .ps-section-copy h2 {
    max-width: 600px;
    font-size: clamp(22px, 2.8vw, 34px);
    line-height: 1.18;
}

.ps-overview-layout .ps-section-copy p {
    max-width: 580px;
    margin: 14px 0 0;
}

.ps-overview-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.ps-overview-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid rgba(255,198,41,0.35);
    border-radius: 999px;
    background: rgba(255,198,41,0.1);
    color: var(--brand-ink);
    font-size: 12.5px;
    font-weight: 600;
}

/* Overview stats grid */
.ps-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(38,56,74,0.08);
    border-radius: 20px;
    background: #f7f9fb;
}

.ps-overview-grid div {
    position: relative;
    overflow: hidden;
    min-height: 100px;
    padding: 20px 18px;
    border: 1px solid rgba(38,56,74,0.07);
    border-radius: 14px;
    background: #ffffff;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.ps-overview-grid div::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-yellow), transparent);
    opacity: 0;
    transition: opacity 200ms ease;
}

.ps-overview-grid div:hover {
    transform: translateY(-2px);
    border-color: rgba(255,198,41,0.28);
    box-shadow: 0 10px 28px rgba(38,56,74,0.08);
}

.ps-overview-grid div:hover::before {
    opacity: 1;
}

.ps-overview-grid dt {
    color: var(--brand-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.ps-overview-grid dd {
    margin: 8px 0 0;
    color: var(--brand-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

/* CTA row */
.ps-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ps-cta-row--center { justify-content: center; }

.ps-btn { padding: 0 22px; }

.ps-btn--secondary {
    border: 1px solid rgba(38,56,74,0.16);
    background: #ffffff;
    color: var(--brand-ink);
    transition: border-color 160ms ease, background 160ms ease;
}

.ps-btn--secondary:hover {
    border-color: rgba(38,56,74,0.3);
    background: #f7f9fb;
}

/* ═══════════════════════════════════
   AMENITIES SECTION
   ═══════════════════════════════════ */

.ps-amenity-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.ps-amenity-grid div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 22px 14px 18px;
    border: 1px solid rgba(38,56,74,0.08);
    border-radius: 16px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 4px 16px rgba(38,56,74,0.05);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.ps-amenity-grid div:hover {
    transform: translateY(-3px);
    border-color: rgba(255,198,41,0.32);
    box-shadow: 0 12px 28px rgba(38,56,74,0.1);
}

.ps-amenity-grid span {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,198,41,0.1);
    border: 1px solid rgba(255,198,41,0.2);
    color: var(--brand-ink);
}

/* remove the decorative dot */
.ps-amenity-grid span::after { display: none; }

.ps-amenity-grid svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--brand-ink);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ps-amenity-grid iconify-icon {
    width: 24px;
    height: 24px;
}

.ps-amenity-grid img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.ps-amenity-grid strong {
    color: var(--brand-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

/* ═══════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════ */

.ps-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.ps-feature-list div,
.ps-location-list li,
.ps-faq-list details,
.ps-builder-card,
.ps-rera-card {
    border: 1px solid rgba(38,56,74,0.09);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(38,56,74,0.05);
}

.ps-feature-list div {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    overflow: hidden;
    color: var(--brand-ink);
    animation: ps-feature-rise 500ms ease both;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.ps-feature-list div:nth-child(2) { animation-delay: 70ms; }
.ps-feature-list div:nth-child(3) { animation-delay: 140ms; }
.ps-feature-list div:nth-child(4) { animation-delay: 210ms; }

.ps-feature-list div:hover {
    transform: translateY(-3px);
    border-color: rgba(255,198,41,0.3);
    box-shadow: 0 14px 32px rgba(38,56,74,0.1);
}

/* remove the blob pseudo */
.ps-feature-list div::before { display: none; }

/* numbered badge */
.ps-feature-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--brand-yellow);
    color: var(--brand-ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ps-feature-list strong {
    color: var(--brand-ink);
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
}

.ps-feature-list p {
    margin: 0;
    color: var(--brand-muted);
    font-size: 13.5px;
    line-height: 1.6;
}

/* Feature spotlight */
.ps-feature-spotlight {
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-width: 420px;
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid rgba(255,198,41,0.25);
    border-left: 3px solid var(--brand-yellow);
    border-radius: 14px;
    background: rgba(255,198,41,0.05);
}

.ps-feature-spotlight strong {
    color: var(--brand-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.ps-feature-spotlight span {
    color: var(--brand-muted);
    font-size: 13.5px;
    line-height: 1.6;
}

@keyframes ps-feature-rise {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .ps-feature-list div { animation: none; transition: none; }
}

/* ═══════════════════════════════════
   LOCATION SECTION
   ═══════════════════════════════════ */

.ps-location-list {
    display: grid;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.ps-location-layout--places {
    grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
}

.ps-location-list--groups {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 0;
}

.ps-location-list li {
    padding: 14px 18px;
    color: var(--brand-muted);
    font-size: 14.5px;
    line-height: 1.6;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ps-location-list li:hover {
    border-color: rgba(255,198,41,0.28);
    box-shadow: 0 6px 18px rgba(38,56,74,0.07);
}

.ps-location-list strong {
    display: block;
    margin-bottom: 6px;
    color: var(--brand-ink);
    font-size: 24px;
    font-weight: 600;
}

.ps-location-category {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.ps-location-category iconify-icon {
    flex: 0 0 auto;
}

.ps-location-place {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    border-top: 1px solid rgba(38,56,74,0.08);
}

.ps-location-place:first-of-type {
    border-top: 0;
}

.ps-location-place small {
    flex: 0 0 auto;
    color: var(--brand-muted);
    font-size: 13px;
}

.ps-map-card {
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(38,56,74,0.1);
}

.ps-property-map {
    border: 1px solid rgba(38,56,74,0.09);
}

.ps-property-map__frame {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
}

.ps-property-map__body {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border-top: 1px solid rgba(38,56,74,0.08);
}

.ps-property-map__body strong {
    color: var(--brand-ink);
    font-size: 18px;
    font-weight: 700;
}

.ps-property-map__body span {
    color: var(--brand-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* View on Google Maps CTA */
.ps-map-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 16px;
    /* margin-top: 14px; */
    padding: 11px 20px;
    border-radius: 999px;
    /* background: var(--brand-ink); */
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    /* box-shadow: 0 6px 20px rgba(38,56,74,0.2); */
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ps-map-cta:hover {
    background: #1a2e45;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(38,56,74,0.28);
    color: #ffffff;
}

.ps-map-cta svg { flex-shrink: 0; }

.ps-static-map {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    border: 1px solid rgba(38,56,74,0.09);
    border-radius: 15px;
    background:
        linear-gradient(90deg, rgba(38,56,74,0.03) 1px, transparent 1px),
        linear-gradient(rgba(38,56,74,0.03) 1px, transparent 1px),
        linear-gradient(135deg, #eaf5ee, #f8fafc 46%, #fff7d7);
    background-size: 40px 40px, 40px 40px, auto;
}

.ps-map-road {
    position: absolute;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 0 0 1.5px rgba(38,56,74,0.1), inset 0 0 0 2px rgba(255,198,41,0.18);
}

.ps-map-road--one { left:-40px; right:-60px; top:180px; height:30px; transform:rotate(-8deg); }
.ps-map-road--two { left:210px; top:-70px; width:30px; height:560px; transform:rotate(24deg); }
.ps-map-road--three { left:-60px; right:110px; bottom:70px; height:26px; transform:rotate(18deg); }

.ps-map-water {
    position: absolute;
    right: -30px; bottom: -30px;
    width: 190px; height: 150px;
    border-radius: 60% 40% 0 0;
    background: rgba(56,189,248,0.18);
}

.ps-map-pin {
    position: absolute;
    display: grid;
    justify-items: center;
    gap: 6px;
    color: var(--brand-ink);
    font-weight: 700;
    text-align: center;
}

.ps-map-pin span {
    display: block;
    width: 16px; height: 16px;
    border: 3px solid #ffffff;
    border-radius: 999px;
    background: var(--brand-yellow);
    box-shadow: 0 6px 18px rgba(38,56,74,0.2);
}

.ps-map-pin--home { left:48%; top:42%; transform:translate(-50%,-50%); }
.ps-map-pin--home span { width:28px; height:28px; background:var(--brand-ink); box-shadow: 0 0 0 6px rgba(255,198,41,0.2), 0 10px 24px rgba(38,56,74,0.24); }
.ps-map-pin--home strong { max-width:160px; padding:6px 10px; border-radius:999px; background:#ffffff; font-size:12px; line-height:1.2; box-shadow:0 8px 20px rgba(38,56,74,0.14); }

.ps-map-pin small { padding:4px 8px; border-radius:999px; background:rgba(255,255,255,0.92); font-size:11px; box-shadow:0 4px 12px rgba(38,56,74,0.08); }
.ps-map-pin--school { left:18%; top:26%; }
.ps-map-pin--metro { right:18%; top:24%; }
.ps-map-pin--hospital { right:24%; bottom:23%; }

.ps-map-label {
    position: absolute;
    left: 16px; bottom: 16px;
    display: grid; gap: 4px;
    max-width: 240px;
    padding: 12px 14px;
    border: 1px solid rgba(38,56,74,0.09);
    border-radius: 12px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 8px 24px rgba(38,56,74,0.1);
}

.ps-map-label span {
    color: var(--brand-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.ps-map-label strong {
    color: var(--brand-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

/* ═══════════════════════════════════
   FLOOR PLANS SECTION
   ═══════════════════════════════════ */

.ps-floor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.ps-floor-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.4fr) minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(38,56,74,0.09);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(38,56,74,0.07);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.ps-floor-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,198,41,0.28);
    box-shadow: 0 16px 40px rgba(38,56,74,0.1);
}

.ps-floor-card__image {
    /* display: flex;
    align-items: center;
    justify-content: center; */
    min-height: 240px;
    /* padding: 20px; */
    /* background: #f7f9fb; */
}

.ps-floor-card__image.is-empty {
    background:
        linear-gradient(135deg, rgba(255,198,41,0.07), rgba(248,250,252,0.92));
}

.ps-floor-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 10px 20px rgba(38,56,74,0.1));
}

.ps-floor-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 28px;
    border-left: 1px solid rgba(38,56,74,0.07);
}

.ps-floor-card__body h3 {
    margin: 0;
    color: var(--brand-ink);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.ps-floor-card__title { display: flex; flex-direction: column; gap: 6px; }

.ps-floor-card__title span {
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,198,41,0.12);
    color: var(--brand-ink);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.ps-floor-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.ps-floor-meta div {
    padding: 12px 14px;
    border: 1px solid rgba(38,56,74,0.08);
    border-radius: 12px;
    background: #f7f9fb;
}

.ps-floor-meta dt {
    color: var(--brand-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.ps-floor-meta dd {
    margin: 6px 0 0;
    color: var(--brand-ink);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
}

.ps-floor-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.ps-price-link {
    min-height: 40px;
    padding: 0 16px;
    font-size: 13.5px;
}

.ps-plan-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(38,56,74,0.15);
    border-radius: 999px;
    background: #ffffff;
    color: var(--brand-ink);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease;
}

.ps-plan-link:hover {
    border-color: rgba(38,56,74,0.28);
    background: #f7f9fb;
}

.ps-related-floor-plans {
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid rgba(38,56,74,0.08);
}

.ps-related-floor-plans__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.ps-related-floor-plans__heading span {
    width: fit-content;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,198,41,0.16);
    color: var(--brand-ink);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ps-related-floor-plans__heading h3 {
    margin: 0;
    color: var(--brand-ink);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
}

.ps-floor-grid--related {
    grid-template-columns: 1fr;
    gap: 14px;
}

.ps-floor-card--related {
    grid-template-columns: minmax(260px, 0.4fr) minmax(0, 1fr);
}

/* ═══════════════════════════════════
   DOWNLOADS SECTION
   ═══════════════════════════════════ */

.ps-download-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ps-download-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 210px;
    padding: 22px;
    border: 1px solid rgba(38,56,74,0.09);
    border-radius: 18px;
    background: #ffffff;
    color: var(--brand-ink);
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(38,56,74,0.06);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.ps-download-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,198,41,0.3);
    background: linear-gradient(180deg, #ffffff, rgba(255,198,41,0.05));
    box-shadow: 0 18px 40px rgba(38,56,74,0.11);
}

.ps-download-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border: 1px solid rgba(38,56,74,0.1);
    border-radius: 14px;
    background: #f7f9fb;
    color: var(--brand-ink);
    flex-shrink: 0;
    transition: background 200ms ease, border-color 200ms ease;
}

.ps-download-card:hover span {
    background: rgba(255,198,41,0.1);
    border-color: rgba(255,198,41,0.24);
}

.ps-download-card svg {
    width: 24px; height: 24px;
    fill: none; stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}

.ps-download-card strong,
.ps-download-card small { display: block; }

.ps-download-card strong {
    color: var(--brand-ink);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.ps-download-card small {
    margin-top: 4px;
    color: var(--brand-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.ps-download-card em {
    align-self: flex-start;
    margin-top: auto;
    padding: 7px 13px;
    border: 1px solid rgba(38,56,74,0.16);
    border-radius: 999px;
    background: #ffffff;
    color: var(--brand-ink);
    font-style: normal;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.ps-download-card:hover em {
    background: var(--brand-ink);
    border-color: var(--brand-ink);
    color: #ffffff;
}

/* ── Section heading centered variant ── */
.ps-section-heading--center {
    display: grid;
    justify-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.ps-section-heading--center p {
    max-width: 520px;
    margin: 12px auto 0;
    color: var(--brand-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ═══════════════════════════════════
   BUILDER & RERA SECTION
   ═══════════════════════════════════ */

.ps-builder-card,
.ps-rera-card {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding: clamp(28px, 3vw, 40px);
    border-radius: 20px;
    border-color: rgba(38,56,74,0.08);
    background: #ffffff;
    box-shadow: 0 6px 28px rgba(38,56,74,0.07);
}

/* amber left rule instead of blob pseudo */
.ps-builder-card::before,
.ps-rera-card::before {
    content: '';
    position: absolute;
    left: 0; top: 32px;
    width: 3px; height: 60px;
    border-radius: 0 999px 999px 0;
    background: var(--brand-yellow);
}

/* remove decorative circle */
.ps-builder-card::after,
.ps-rera-card::after { display: none; }

.ps-builder-card > .ps-section-label,
.ps-rera-card > .ps-section-label {
    position: relative;
    z-index: 1;
    margin-bottom: 4px;
}

.ps-builder-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 16px;
}

.ps-builder-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px; height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--brand-ink), #1f2f40);
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(38,56,74,0.16);
    flex-shrink: 0;
}

.ps-builder-card__top h2 {
    margin: 0;
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.ps-builder-card__top p {
    margin: 5px 0 0;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--brand-muted);
    line-height: 1.4;
}

.ps-builder-card > p {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin-top: 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(38,56,74,0.08);
}

.ps-builder-facts {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.ps-builder-facts div {
    padding: 16px;
    border: 1px solid rgba(38,56,74,0.08);
    border-top: 2px solid rgba(255,198,41,0.5);
    border-radius: 14px;
    background: #f7f9fb;
}

.ps-builder-facts span,
.ps-rera-list dt {
    color: var(--brand-muted);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.ps-builder-facts strong {
    display: block;
    margin-top: 7px;
    color: var(--brand-ink);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
}

/* RERA card */
.ps-rera-card {
    display: flex;
    flex-direction: column;
}

.ps-rera-card h2 {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    margin-bottom: 4px;
    font-size: clamp(22px, 2.5vw, 32px);
}

.ps-rera-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
}

.ps-rera-list div {
    position: relative;
    padding: 16px 20px 16px 46px;
    border: 1px solid rgba(38,56,74,0.08);
    border-radius: 14px;
    background: #f7f9fb;
}

.ps-rera-list div::before {
    content: '';
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--brand-yellow);
    box-shadow: 0 0 0 4px rgba(255,198,41,0.18);
}

.ps-rera-list dd {
    margin: 6px 0 0;
    color: var(--brand-ink);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.45;
}

.ps-rera-card a {
    color: var(--brand-ink);
    font-weight: 600;
    word-break: break-word;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(38,56,74,0.3);
    transition: color 160ms ease;
}

.ps-rera-card a:hover { color: var(--brand-yellow-deep); }

.ps-builder-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
    max-width: 1100px;
}

.ps-builder-layout > .ps-builder-card,
.ps-builder-layout > .ps-rera-card { width: 100%; }

/* ═══════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════ */

.ps-faq-list {
    display: grid;
    gap: 8px;
    /* max-width: 860px; */
}

.ps-faq-list details {
    padding: 0;
    overflow: hidden;
    transition: box-shadow 200ms ease;
}

.ps-faq-list details[open] {
    border-color: rgba(255,198,41,0.28);
    box-shadow: 0 8px 24px rgba(38,56,74,0.08);
}

.ps-faq-list summary {
    position: relative;
    cursor: pointer;
    padding: 18px 56px 18px 20px;
    color: var(--brand-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    list-style: none;
    transition: color 160ms ease;
}

.ps-faq-list summary::-webkit-details-marker { display: none; }

.ps-faq-list details[open] summary { color: var(--brand-ink); }

/* chevron icon */
.ps-faq-list summary::after {
    content: '+';
    position: absolute;
    right: 18px; top: 50%;
    display: grid;
    place-items: center;
    width: 28px; height: 28px;
    border-radius: 999px;
    background: rgba(255,198,41,0.15);
    color: var(--brand-ink);
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    transition: transform 240ms ease, background 200ms ease;
    transform: translateY(-50%);
}

.ps-faq-list details[open] summary::after {
    background: var(--brand-yellow);
    transform: translateY(-50%) rotate(45deg);
}

.ps-faq-panel {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.26s ease, opacity 0.2s ease;
}

.ps-faq-list details[open] .ps-faq-panel { opacity: 1; }
.ps-faq-list details.is-closing .ps-faq-panel { opacity: 0; }

.ps-faq-list p {
    margin: 0;
    padding: 0 20px 20px;
    font-size: 14.5px;
    line-height: 1.7;
}


.site-footer {
    position: relative;
    overflow: hidden;
    padding: 54px 0 28px;
    background:
        linear-gradient(135deg, rgba(255, 198, 41, 0.1), rgba(255, 255, 255, 0) 32%),
        var(--brand-ink);
    color: #ffffff;
}

.site-footer::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: rgba(255, 198, 41, 0.12);
    pointer-events: none;
}

.site-footer__shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(0, 1fr));
    gap: 34px;
    align-items: start;
}

.site-footer__logo-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 10px 12px;
    /* border-radius: 14px;
    background: #ffffff; */
}

.site-footer__logo {
    display: block;
    width: 150px;
    height: auto;
}

.site-footer__brand p,
.site-footer__cta p,
.site-footer__bottom p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.7;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-footer__nav,
.site-footer__contact,
.site-footer__cta {
    display: grid;
    gap: 10px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer a:hover {
    color: var(--brand-yellow);
    transform: translateX(2px);
}

.site-footer__contact span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 750;
}

.site-footer__cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 42px;
    margin-top: 4px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-deep));
    color: var(--brand-ink);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.site-footer__cta a:hover {
    color: var(--brand-ink);
    transform: translateY(-1px);
}

.site-footer__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__bottom p {
    margin: 0;
    font-size: 12px;
}
.site-footer__bottom p:nth-of-type(1){
    text-align: right;
}
.ps-mobile-actions {
    display: none;
}

@media (max-width: 1020px) {
    .site-footer__bottom p:nth-of-type(1){
    text-align: left;
}
    .site-footer__shell {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .ps-project-hero,
    .ps-project-hero__overlay {
        min-height: auto;
    }

    .ps-project-hero__inner,
    .ps-overview-layout,
    .ps-split-section,
    .ps-location-layout,
    .ps-builder-layout,
    .ps-download-layout {
        grid-template-columns: 1fr;
    }

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

    .ps-builder-layout {
        grid-template-columns: 1fr;
    }

    .ps-overview-layout .ps-section-copy {
        min-height: auto;
    }

    .ps-project-hero__inner {
        min-height: 0;
        gap: 28px;
        padding-top: 90px;
        padding-bottom: 30px;
    }

    .ps-lead-card {
        max-width: 520px;
    }

    .ps-amenity-grid,
    .ps-feature-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ps-floor-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .ps-project-hero__overlay {
        padding: 34px 0 22px;
    }

    .ps-project-hero h1 {
        font-size: 40px;
    }

    .ps-hero-highlights,
    .ps-rera-strip,
    .ps-overview-grid,
    .ps-download-list,
    .ps-download-card {
        grid-template-columns: 1fr;
    }

    .ps-download-card em {
        width: fit-content;
    }

    .ps-overview-layout {
        padding: 0;
    }

    .ps-overview-layout .ps-section-copy {
        padding: 24px;
        border-left-width: 4px;
    }

    .ps-overview-layout .ps-section-copy h2 {
        font-size: 30px;
    }

    .ps-hero-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .ps-lead-card {
        padding: 20px;
        border-radius: 16px;
    }

    .ps-lead-trust,
    .ps-amenity-grid,
    .ps-feature-list,
    .ps-floor-meta,
    .ps-builder-facts {
        grid-template-columns: 1fr;
    }

    .ps-detail-menu {
        top: 96px;
        padding: 8px 0;
    }

    .ps-section {
        scroll-margin-top: 132px;
        padding: 42px 0;
    }

    .ps-section-heading h2,
    .ps-section-copy h2,
    .ps-location-layout h2,
    .ps-download-layout h2,
    .ps-builder-card h2,
    .ps-rera-card h2 {
        font-size: 30px;
    }

    .ps-builder-card,
    .ps-rera-card {
        padding: 24px;
    }

    .ps-builder-card__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .ps-builder-card__top h2,
    .ps-rera-card h2 {
        font-size: 31px;
    }

    .ps-map-card {
        min-height: 300px;
    }

    .site-footer {
        padding-bottom: 92px;
    }

    .site-footer__shell {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .ps-mobile-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-top: 1px solid rgba(38, 56, 74, 0.14);
        background: #ffffff;
        box-shadow: 0 -16px 34px rgba(38, 56, 74, 0.16);
    }

    .ps-mobile-actions a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 58px;
        color: var(--brand-ink);
        font-size: 12px;
        font-weight: 950;
        text-decoration: none;
    }

    .ps-mobile-actions a:last-child {
        background: var(--brand-yellow);
    }
}



/* enquiryModal styles */
#enquiryModal .modal-header h3{
    color: var(--brand-ink);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 950;
}


#enquiryModalContent{
    border-top: 5px solid var(--brand-yellow);
}


.mb-search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
  padding: 6px 6px 6px 16px;
  max-width: 720px;
  margin-top: 24px;
  position: relative;
  gap: 0;
}

/* ── Fields ── */
.mb-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  position: relative;
  padding: 6px;

}

.mb-field__icon {
  flex-shrink: 0;
  color: #aaa;
}

.mb-field__input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #222;
  width: 100%;
  min-width: 80px;
}
.mb-field__input::placeholder { color: #aaa; }

/* ── Divider ── */
.mb-divider {
  width: 1px;
  height: 28px;
  background: #e0e0e0;
  flex-shrink: 0;
  margin: 0 8px;
}

/* ── Tags ── */
.mb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex-shrink: 0;
}

.mb-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #faf0d7;
  border: 1px solid #c8a84b;
  color: #7a5f1a;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 12px;
  white-space: nowrap;
  font-weight: 500;
}

.mb-tag__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #c8a84b;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  margin-left: 2px;
}
.mb-tag__remove:hover { color: #a07030; }

/* ── Dropdown trigger ── */
.mb-dropdown-wrapper { 
    position: relative;
    /* overflow: hidden; */

}

.mb-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #444;
  white-space: nowrap;
  padding: 0;
}
.mb-dropdown-trigger:hover { color: #c8a84b; }

/* ── Dropdown panels ── */
.mb-dropdown-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 16px;
  min-width: 300px;
  z-index: 300;
}
.mb-dropdown-panel--budget {
  min-width: 440px;
  left: auto;
  right: 0;
}

.mb-dropdown-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #000000 !important;
  margin: 0 0 10px;
  text-align: start !important;
}

/* ── Chips ── */
.mb-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mb-chip {
  border: 1.5px solid #e0e0e0;
  background: #fff;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  cursor: pointer;
  color: #555;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.mb-chip:hover { border-color: #c8a84b; color: #c8a84b; }
.mb-chip.is-active {
  background: #c8a84b;
  border-color: #c8a84b;
  color: #fff;
  font-weight: 600;
}

/* ── Budget two-column layout ── */
.mb-budget-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Apply button ── */
.mb-dropdown-footer {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

.mb-apply-btn {
  background: #c8a84b;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 7px 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.mb-apply-btn:hover { background: #b8973a; }

/* ── Search button ── */
.mb-search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #c8a84b;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.mb-search-btn:hover { background: #b8973a; }

/* ── Autocomplete dropdown ── */
.mb-autocomplete {
  position: absolute;
  top: calc(100% + 10px);
  left: 6px;           /* align with start of field incl. icon */
  min-width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  z-index: 300;
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}

.mb-autocomplete__group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #bbb;
  padding: 10px 14px 4px;
  border-top: 1px solid #f0f0f0;
}
.mb-autocomplete__group-label:first-child { border-top: none; }

.mb-autocomplete__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 14px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  transition: background 0.1s;
}
.mb-autocomplete__item svg { flex-shrink: 0; margin-top: 2px; color: #bbb; }
.mb-autocomplete__item:hover { background: #faf6ec; }
.mb-autocomplete__item strong { color: #c8a84b; font-weight: 700; }
.mb-autocomplete__item small {
  display: block;
  font-size: 11px;
  color: #aaa;
  margin-top: 1px;
}
.mb-autocomplete__item--recent { color: #888; font-style: italic; }

/* ── Mobile ── */
@media (max-width: 640px) {
  .mb-search-bar {
    flex-direction: column;
    border-radius: 16px;
    padding: 12px;
    gap: 8px;
    align-items: stretch;
  }
  .mb-divider { display: none; }
  .mb-field { width: 100%; }
  .mb-dropdown-panel,
  .mb-dropdown-panel--budget {
    min-width: unset;
    width: 92vw;
    left: 0;
    right: auto;
  }
  .mb-budget-row { grid-template-columns: 1fr; }
  .mb-search-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   PropSmile Custom Search Redesign & Search Modal
   ========================================================================== */

/* ── Compact Hero Section Centering Overrides ── */
.hero-section {
    min-height: 520px !important;
}

.hero-section__inner {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    min-height: 520px !important;
    padding: 120px 0 60px !important;
    gap: 24px !important;
}

.hero-section__content {
    max-width: 960px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem) !important;
    text-align: center !important;
    margin-bottom: 16px !important;
    line-height: 1.25 !important;
}

.hero-section p {
    /* text-align: center !important; */
    max-width: 600px !important;
    margin: 2px auto !important;
    font-size: 14px !important;
    opacity: 0.9 !important;
    /* border-bottom: 1px solid #00000035; */
    text-decoration: dashed;
}

.hero-section__stats {
    justify-content: center !important;
    margin-top: 32px !important;
    width: 100% !important;
}

.hero-section .mb-search-bar {
    margin: 24px auto 0 !important;
    width: 100% !important;
    max-width: 960px !important;
}

.hero-section__preview {
    display: none !important;
}

@media (max-width: 888px) {
    .hero-section,
    .hero-section__inner {
        min-height: auto !important;
    }
    .hero-section__inner {
        padding: 100px 0 50px !important;
    }
}

/* ── Navbar Search Trigger Button ── */
.site-header__search-trigger {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    /* margin-right: 8px; */
}

.site-header__search-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--brand-yellow, #ffb703);
}

/* Search trigger color on scrolled or white headers */
.site-header--scrolled .site-header__search-trigger,
.site-header--detail .site-header__search-trigger,
.site-header:not(.site-header--home) .site-header__search-trigger {
    color: var(--brand-ink, #0f172a) !important;
}

.site-header--scrolled .site-header__search-trigger:hover,
.site-header--detail .site-header__search-trigger:hover,
.site-header:not(.site-header--home) .site-header__search-trigger:hover {
    background: #f1f5f9 !important;
    color: #c8a84b !important;
}

@media (max-width: 640px) {
    .site-header__search-trigger {
        margin-right: 4px !important;
    }
}

/* ── Search Modal Styles ── */
.ps-search-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
}

.ps-search-modal.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.ps-search-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 0.3s ease;
}

.ps-search-modal__container {
    position: relative;
    z-index: 10000;
    background: #fff;
    width: min(840px, calc(100% - 32px));
    max-height: 90vh;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    padding: 32px;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.ps-search-modal.is-open .ps-search-modal__container {
    transform: scale(1) translateY(0);
}

.ps-search-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 16px;
}

.ps-search-modal__header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-ink, #0f172a);
    margin: 0;
}

.ps-search-modal__close {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: background 0.2s, color 0.2s;
}

.ps-search-modal__close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.ps-search-modal__body {
    overflow-y: visible;
}

.ps-search-modal__body .mb-search-bar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
    margin-top: 0 !important;
}


/* ==========================================================================
   PropSmile Card Overlay search in Hero (overlapping bottom by half height)
   ========================================================================== */

.hero-section {
    /* height: 300px !important; */
    min-height: 300px !important;
    overflow: visible !important;
    margin-bottom: 110px !important; /* Offset for overlapping card bottom */
}

.hero-section__inner {
    /* height: 300px !important; */
    min-height: 300px !important;
    padding: 85px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    position: relative !important;
}

.hero-section__content {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.hero-section h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
    margin-bottom: 8px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
}

/* Card layout matching the search modal style */
.ps-search-hero-card {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, 85%) !important;
    background: #fff !important;
    width: min(940px, calc(100% - 32px)) !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
    padding: 24px 32px !important;
    z-index: 10 !important;
    text-align: left !important;
}

.ps-search-hero-card.has-recent {
    top: auto !important;
    bottom: 0 !important;
    transform: translate(-50%, 160%) !important;
}

.ps-search-hero-card__header {
    margin-bottom: 16px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding-bottom: 12px !important;
}

.ps-search-hero-card__header h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--brand-ink, #0f172a) !important;
    margin: 0 !important;
}

.ps-search-hero-card__body .mb-search-bar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
    margin-top: 0 !important;
}

/* Mobile responsive alignment */
@media (max-width: 768px) {
    .hero-section {
        height: auto !important;
        min-height: 240px !important;
        margin-bottom: 0 !important;
        overflow: visible !important;
    }
    
    .hero-section__inner {
        height: auto !important;
        min-height: 240px !important;
        padding: 80px 0 20px !important;
    }
    
    .ps-search-hero-card,
    .ps-search-hero-card.has-recent {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 20px auto 30px !important; /* overlaps bottom border relatively */
        padding: 16px 20px !important;
        width: calc(100% - 32px) !important;
    }
}


/* Clip the scaled-up hero background images to prevent horizontal scrollbars */
.hero-carousel {
    overflow: hidden !important;
}


/* Fix location tags overlapping with adjacent fields in the search bar */
.mb-field--location {
    flex: 1.8 !important;
    min-width: 0 !important;
}

.mb-tags {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    overflow-x: auto !important;
    max-width: 250px !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE 10+ */
}

.mb-tags::-webkit-scrollbar {
    display: none !important; /* Safari and Chrome */
}

.mb-field__input {
    min-width: 100px !important;
}


/* Tighter restrictions to prevent location contents from pushing past their flex boundaries */
.mb-tags {
    max-width: 150px !important;
}

.mb-field__input {
    min-width: 60px !important;
}


/* Truncate long trigger labels inside the search bar to prevent overlapping adjacent items */
.type-label,
.budget-label {
    display: inline-block !important;
    max-width: 120px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}


/* Make the location input box shrink dynamically to fit the remaining space without overflowing */
.mb-location-input {
    flex: 1 1 0% !important;
    min-width: 40px !important;
    width: 0 !important;
}


/* Hover color for the search bar plus icon button */
.mb-location-plus-btn:hover {
    color: var(--brand-yellow, #ffb703) !important;
}


/* ── Recent Searches Row Styles ── */
.ps-recent-searches-row {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 0 16px;
    font-size: 13px;
    color: #64748b;
    flex-wrap: wrap;
}

.ps-recent-label {
    font-weight: 600;
    color: #475569;
}

.ps-recent-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ps-recent-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    color: #475569;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    font-weight: 500;
}

.ps-recent-pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.ps-recent-pill svg {
    color: #94a3b8;
}
