/* ==========================================================================
   OnlineProperty — Property Detail Page
   Save as: public/assets/css/property-detail.css
   Loaded via @push('styles') from property-detail.blade.php only (not
   every page needs this, so it isn't in the shared layout <head>).
   Depends on home-v2.css tokens — must load after it.
   ========================================================================== */

/* Horizontal-scroll fix: the enquiry sidebar's inputs were width:100% but
   NOT box-sizing:border-box, so padding+border was being added ON TOP of
   that 100% instead of inside it — each input rendered a few pixels wider
   than its container, and that overflow was enough to push the whole page
   into a horizontal scrollbar. Scoping a border-box reset to this page
   only (not touching the rest of the site's box-sizing) fixes it. */
.pd-wrap, .pd-wrap * , .pd-wrap *::before, .pd-wrap *::after {
    box-sizing: border-box;
}
/* NOTE: do not add `overflow-x: hidden` here (or overflow of any kind) —
   per the CSS spec, setting overflow-x to anything but `visible` forces
   overflow-y to compute as `auto`, which creates a new scroll container
   and breaks `position: sticky` on .pd-sidebar below. The box-sizing
   reset above already fixes the actual overflow cause. */

.pd-wrap { padding: 22px 0 60px; }

/* Intro paragraph — sits between the banner and the gallery. */
.pd-intro {
    font-size: 15px;
    line-height: 1.8;
    color: #000;
    /* max-width: 900px; */
    margin: 0 0 18px;
}


.pd-layout > * {
    min-width: 0;
}

.enquiry-card {
    max-width: 100%;
    overflow: hidden;
}

.enquiry-card form,
.enquiry-card input,
.enquiry-card select,
.enquiry-card textarea,
.enquiry-card button {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.pd-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 28px;
    align-items: start;
}

/* ── Breadcrumb ── */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-bottom: 16px;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

/* ── Gallery ── */
.pd-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 22px;
}
.pd-gallery-main {
    height: 380px;
    background: var(--muted-bg) center/cover;
    position: relative;
}
.pd-gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }
.pd-gallery-side .thumb { background: var(--muted-bg) center/cover; position: relative; }

.pd-photo-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(15, 23, 42, .75);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pd-photo-count svg { width: 14px; height: 14px; }

@media (max-width: 760px) {
    .pd-gallery { grid-template-columns: 1fr; }
    .pd-gallery-side { display: none; }
    .pd-gallery-main { height: 240px; }
}

/* ── Header block ── */
.pd-header {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 22px;
}
.pd-header h1 {
    font-size: 25px;
    font-weight: 900;
    color: var(--ink);
    margin: 0 0 4px;
    line-height: 1.25;
}
.pd-header .locality {
    font-size: 13px;
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 14px;
}

.pd-quickstats {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 14px;
}
.pd-quickstat {
    font-size: 13px;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 7px;
}
.pd-quickstat svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }

.pd-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.pd-price {
    font-size: 22px;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -.01em;
}
.pd-price small {
    font-weight: 500;
    font-size: 11px;
    color: var(--ink-soft);
    margin-left: 4px;
}

.rera-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #15803d;
    background: #dcfce7;
    padding: 5px 12px;
    border-radius: 999px;
}
.rera-badge svg { width: 13px; height: 13px; }

.updated-line { font-size: 11.5px; color: var(--ink-soft); margin-top: 8px; }

/* ── Tab nav ──
   Pill-shaped by default. Once it's actually stuck to the top of the
   viewport (detected in JS — see the IntersectionObserver in the page's
   scripts — since CSS has no selector for "currently stuck"), it gets
   the `.is-stuck` class and squares off instead of floating as a pill
   mid-page. */
.pd-tabs-sentinel { height: 1px; }
.pd-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px;
    margin-bottom: 26px;
    position: sticky;
    top: 72px;
    z-index: 10;
    transition: border-radius .15s ease, box-shadow .15s ease;
}
.pd-tabs.is-stuck {
    border-radius: 0;
    box-shadow: var(--shadow-md, 0 6px 16px rgba(15, 23, 42, .1));
}
.pd-tabs a {
    flex-shrink: 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 9px 11px;
    border-radius: 999px;
    white-space: nowrap;
    text-decoration: none;
}
.pd-tabs a:hover { background: var(--muted-bg); color: var(--ink); }

/* ── Content sections ── */
.pd-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 24px;
    margin-bottom: 22px;
    scroll-margin-top: 150px;
}
.pd-section h2 {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 4px;
    position: relative;
    padding-bottom: 12px;
}
.pd-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    background: var(--brand);
    border-radius: 2px;
}
.pd-section-body { margin-top: 18px; }

/* Overview grid */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}
.overview-item { background: var(--muted-bg); border-radius: 10px; padding: 14px 16px; }
.overview-item .lbl {
    font-size: 11px;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 4px;
}
.overview-item .val { font-size: 14.5px; font-weight: 700; color: var(--ink); }

.rera-strip-box {
    background: var(--ink);
    color: #fff;
    border-radius: 10px;
    padding: 18px 20px;
    text-align: center;
    margin-top: 8px;
}
.rera-strip-box .rera-id {
    background: var(--brand);
    display: inline-block;
    padding: 5px 16px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 10px;
}
.rera-strip-box .rera-no { font-size: 15px; margin-bottom: 4px; }
.rera-strip-box a { color: rgba(255, 255, 255, .75); font-size: 12px; text-decoration: underline; cursor: pointer; }
.rera-strip-box a:hover { color: #fff; }

/* Floor plan & payment (merged — see property-detail.blade.php #floorplan).
   The unit image is gated behind a blurred overlay + "See Floor Plan"
   button, and price is never printed directly — only a "Price on
   Request" button that opens the shared enquiry popup (#enquiryModal). */
.floorplan-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.floorplan-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 130px 1fr;
}
.floorplan-card .fp-body { padding: 14px 16px; }
.floorplan-card h4 { font-size: 14.5px; font-weight: 700; margin: 0 0 6px; }
.floorplan-card .fp-meta { font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; }

/* Gated floor plan image — blurred/dimmed, with a "See Floor Plan"
   button overlaid on top. Clicking the button (not the image itself,
   since there's nothing useful to link the flat image to) opens the
   enquiry popup. */
.fp-img-wrap {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}
.fp-img-wrap .fp-img {
    background: var(--muted-bg) center/cover;
    min-height: 100%;
    height: 100%;
    filter: blur(6px);
    transform: scale(1.15);
    /* transform scale hides the blurred edge fringe that would
       otherwise show through at the container's border. */
}
.fp-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .38);
}
.fp-see-btn {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
    padding: 6px;
    cursor: pointer;
}
.fp-see-btn svg { width: 18px; height: 18px; }
.fp-see-btn:hover { background: rgba(15, 23, 42, .12); }

/* "Price on Request" — replaces the old plain-text price, opens the
   same enquiry popup as "See Floor Plan" above. */
.fp-price-request {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-light);
    color: var(--brand-dark, var(--brand));
    border: none;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease;
}
.fp-price-request svg { width: 12px; height: 12px; }
.fp-price-request:hover { background: #dbeafe; }

/* Amenities */
.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.amenity-item {
    text-align: center;
    padding: 16px 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
}
.amenity-item .icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}
.amenity-item .icon svg { width: 20px; height: 20px; }
.amenity-item .icon img { width: 22px; height: 22px; object-fit: contain; }
.amenity-item .name { font-size: 12px; color: var(--ink); font-weight: 600; }

/* Payment plan table */
.pd-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pd-table th {
    background: var(--ink);
    color: #fff;
    text-align: left;
    padding: 11px 14px;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.pd-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--ink); }
.pd-table tr:nth-child(even) td { background: var(--muted-bg); }

/* Specification list */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--border);
}
.spec-row .k { color: var(--ink-soft); }
.spec-row .v { color: var(--ink); font-weight: 700; }

/* Location */
.pd-map-frame { width: 100%; height: 320px; border: 0; border-radius: 10px; background: var(--muted-bg); }
.landmark-list { margin-top: 16px; display: grid; gap: 8px; }
.landmark-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 9px 12px;
    background: var(--muted-bg);
    border-radius: 8px;
}

/* Ratings */
.rating-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; text-align: center; }
.rating-item .stars { color: var(--brand); margin-bottom: 6px; display: flex; justify-content: center; gap: 2px; }
.rating-item .stars svg { width: 14px; height: 14px; }
.rating-item .lbl { font-size: 11.5px; color: var(--ink-soft); }

/* Developer */
.developer-row { display: flex; align-items: center; gap: 18px; }
.developer-row .logo {
    /* width: 64px; */
    height: 100px;
    border-radius: 10px;
    border: 1px solid var(--border);
    object-fit: contain;
    padding: 8px;
    background: #fff;
}
.developer-row h4 { font-size: 17px; font-weight: 800; margin: 0 0 4px; }
.developer-row p { font-size: 13px; color: #000; margin: 0;
    /* max-width: 640px; */
    line-height: 1.8; }

/* FAQs */
.faq-item { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 10px 0 0; font-size: 13px; color: var(--ink-soft); line-height: 1.7; }

/* Similar projects */
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.similar-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    transition: box-shadow .15s ease, border-color .15s ease;
}
.similar-card:hover { box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.similar-card:hover .similar-card-btn { background: var(--brand); color: #fff; }
.similar-card .thumb { height: 130px; background: var(--muted-bg) center/cover; }
.similar-card .body { padding: 12px 14px; }
.similar-card h5 { font-size: 14px; font-weight: 700; color: var(--ink); margin: 0 0 3px; }
.similar-card .loc { font-size: 11.5px; color: var(--ink-soft); margin-bottom: 8px; }
.similar-card .price { font-size: 12.5px; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.similar-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: var(--brand-light);
    color: var(--brand-dark, var(--brand));
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12.5px;
    font-weight: 700;
    transition: background .15s ease, color .15s ease;
}
.similar-card-btn svg { width: 13px; height: 13px; }

/* ── Enquiry popup modal (#enquiryModal) — opened by any
   [data-enquiry-btn] on this page. Same shell/classes used on the
   listing page's modal, added here since this page doesn't otherwise
   load a stylesheet that defines .op-modal. ── */
.op-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.op-modal.is-open { display: flex; }
.op-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .6);
}
.op-modal-panel {
    position: relative;
    background: #fff;
    border-radius: var(--radius, 12px);
    padding: 32px 28px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-md, 0 20px 40px rgba(15, 23, 42, .2));
    max-height: 90vh;
    overflow-y: auto;
}
.op-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--muted-bg);
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.op-modal-close:hover { background: var(--border); color: var(--ink); }
.op-modal-panel h3 { font-size: 20px; font-weight: 900; color: var(--ink); margin: 0 0 6px; }
.op-modal-sub { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 22px; line-height: 1.5; }
.op-modal-form { display: flex; flex-direction: column; gap: 16px; }
.op-modal-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.op-modal-form input,
.op-modal-form select,
.op-modal-form textarea {
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    resize: vertical;
}
.op-modal-form input:focus,
.op-modal-form select:focus,
.op-modal-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-light);
}
.op-modal-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 16px;
    cursor: pointer;
}
.op-modal-submit:hover { background: var(--brand-dark, var(--brand)); }

/* ── Sticky enquiry sidebar ── */
.pd-sidebar {
    position: sticky; top: 92px;
    box-shadow: var(--shadow-md, 0 6px 16px rgba(15, 23, 42, .1));
    border: 0px;
    width: 100%;
    border-radius: 8px;
}
.enquiry-card {
    background: #fff;
    /* border: 1px solid var(--border);
    border-radius: var(--radius); */
    padding: 22px;
    box-shadow: var(--shadow);
    border-radius: 8px;
}
.enquiry-card h3 { font-size: 15px; font-weight: 800; color: var(--ink); margin: 0 0 16px; }
.enquiry-card .form-field { margin-bottom: 12px; }
.enquiry-card .form-field input {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13.5px;
    font-family: inherit;
    color: var(--ink);
}
.enquiry-card .form-field input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-light);
}
.enquiry-card button {
    width: 100%;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 12px;
    font-weight: 700;
    font-size: 13.5px;
    font-family: inherit;
    cursor: pointer;
    margin-top: 4px;
}
.enquiry-card button:hover { background: var(--brand-dark); }
.enquiry-card .consent-line { font-size: 10.5px; color: var(--ink-soft); line-height: 1.5; margin: 10px 0; }
.enquiry-card .consent-line label { display: flex; gap: 6px; align-items: flex-start; }
.enquiry-card .consent-line input { margin-top: 2px; }

@media (max-width: 980px) {
    .pd-layout { grid-template-columns: 1fr; }
    .pd-sidebar { position: static; }
    .overview-grid, .floorplan-list, .similar-grid { grid-template-columns: 1fr 1fr; }
    .amenity-grid, .spec-grid, .rating-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .overview-grid, .floorplan-list, .similar-grid,
    .amenity-grid, .spec-grid, .rating-grid { grid-template-columns: 1fr; }
}

/* ── Gallery — click affordance + video badge + "more" overlay ──────── */
.pd-gallery-main, .pd-gallery-side .thumb { cursor: pointer; position: relative; }
.pd-gallery-main:hover, .pd-gallery-side .thumb:hover { filter: brightness(.94); }

.pd-video-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, .75);
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
}
.pd-video-badge:hover { background: rgba(15, 23, 42, .9); }

.pd-thumb-more {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Lightbox ─────────────────────────────────────────────────────── */
.pd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .92);
}
.pd-lightbox.is-open { display: flex; }

.pd-lightbox-stage {
    max-width: min(90vw, 1100px);
    max-height: 84vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-lightbox-img, .pd-lightbox-video {
    max-width: 100%;
    max-height: 84vh;
    border-radius: 6px;
    object-fit: contain;
}

.pd-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.pd-lightbox-close:hover { background: rgba(255, 255, 255, .2); }

.pd-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.pd-lightbox-nav:hover { background: rgba(255, 255, 255, .2); }
.pd-lightbox-prev { left: 18px; }
.pd-lightbox-next { right: 18px; }

.pd-lightbox-count {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 640px) {
    .pd-lightbox-nav { width: 36px; height: 36px; }
    .pd-lightbox-prev { left: 8px; }
    .pd-lightbox-next { right: 8px; }
}

/* ── Full-bleed strips (Similar Projects / Leading Developers) ──────
   Same visual language as the homepage's "Our Network"/"Cities" strips:
   edge-to-edge, no card border/shadow, sits between two horizontal rules. */
.pd-strip {
    width: 100%;
    background: var(--brand-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 36px 0;
    margin-top: 8px;
}
.pd-strip--muted { background: var(--muted-bg); }

.pd-strip-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--ink);
    margin: 0 0 20px;
}

.pd-strip-row {
    /* .similar-grid already defines the 3-column layout from earlier —
       this just removes the section-card padding it used to sit inside. */
}

.pd-strip-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
}
.pd-strip-logos img {
    height: 100px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    /* filter: grayscale(100%) opacity(.7);
    transition: filter .15s ease; */

    border-radius: 10px;
    border: 1px solid var(--border);
    object-fit: contain;
    padding: 8px;
    background: #fff;
}
.pd-strip-logos img:hover { filter: grayscale(0%) opacity(1); }



/* ── property-detail.css — v2 additions ──────────────────────────────
   Load this AFTER your existing property-detail.css (loaded second in
   show.blade.php's @push('styles')). Covers only what's NEW this round:
   the title/price header row, the brochure button, the floor-plan area
   breakdown, the location address block, and the new Pricing & Financing
   section. Nothing here overrides/duplicates the previous round's rules
   (sticky sidebar, fp-img-wrap gating, fp-price-request, similar-card
   button, sticky-tabs is-stuck, enquiry modal) — those still live in
   property-detail.css untouched. */

/* ── Header: title + price on one row, price pinned right ───────────── */
.pd-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.pd-title-col { flex: 1 1 auto; min-width: 0; }
.pd-price-col {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
/* .pd-price / .rera-badge keep their existing look from property-detail.css
   — only their container changed, not their own rules. */
@media (max-width: 640px) {
    .pd-title-row { flex-direction: column; }
    .pd-price-col { align-items: flex-start; text-align: left; }
}

/* ── Brochure download button ────────────────────────────────────────── */
.pd-brochure-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    background: var(--muted-bg);
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}
.pd-brochure-btn:hover { background: var(--brand-light); border-color: var(--brand); color: var(--brand-dark, var(--brand)); }
.pd-brochure-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── Floor Plan: Carpet / Built-up / Super Built-up area breakdown ──── */
.fp-areas {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 6px 0 10px;
}
.fp-area-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
}
.fp-area-row .k { color: var(--ink-soft); }
.fp-area-row .v { color: var(--ink); font-weight: 700; }

/* ── Location: structured address block above the map ───────────────── */
.pd-address-block {
    background: var(--muted-bg);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.pd-address-line { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.pd-address-line--strong { font-size: 14.5px; font-weight: 800; color: var(--ink); }

/* ── Pricing & Financing ─────────────────────────────────────────────── */
.financing-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--brand-light);
    border-radius: 10px;
    padding: 16px 18px;
}
.financing-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
}
.financing-icon svg { width: 20px; height: 20px; }
.financing-banner h4 { font-size: 14.5px; font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.financing-banner p { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.55; max-width: 640px; }

.bank-logo-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}
.bank-logo-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    background: #fff;
}
.bank-logo-item img { max-width: 100%; max-height: 32px; object-fit: contain; }
.bank-logo-item span { font-size: 12px; font-weight: 700; color: var(--ink-soft); text-align: center; }

@media (max-width: 640px) {
    .financing-banner { flex-direction: column; }
    .bank-logo-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
}


.property-description { line-height: 1.5; color: #000; font-size: 14px; margin-bottom: 20px; }
.property-description p { margin: 0 0 8px; }
.property-description ul,
.property-description ol { margin: 0 0 12px; padding-left: 22px; }
.property-description li { margin-bottom: 4px; }
.property-description a { color: inherit; text-decoration: underline; }
.property-description hr { margin: 12px 0; }
/* Ignore font styles pasted in from Word/websites */
.property-description span { font-weight: inherit !important; font-size: inherit !important; }
