﻿:root {
    --or: #E8572A;
    --or-d: #C94820;
    --or-pale: #FFF1EC;
    --or-glow: rgba(232,87,42,.18);
    --cream: #F5F7FA;
    --sand: #ECEEF2;
    --text: #111827;
    --muted: #6B7280;
    --border: #E5E7EB;
    --white: #fff;
    --radius: 14px
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: 'DM Sans',-apple-system,sans-serif;
    background: var(--cream);
    color: var(--text)
}

/* ── BREADCRUMB ── */
.breadcrumb {
    padding: 10px 24px;
    font-size: .78rem;
    color: var(--muted)
}

    .breadcrumb a {
        color: var(--muted);
        text-decoration: none
    }

        .breadcrumb a:hover {
            color: var(--or)
        }

/* ── TOP GALLERY ── */
.gallery-wrap {
    background: var(--white);
    padding: 0 24px 0
}

.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 8px;
    border-radius: var(--radius);
    overflow: hidden;
    max-height: 488px
}

.gallery-main {
    grid-row: 1/3;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #eee
}

    .gallery-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s
    }

    .gallery-main:hover img {
        transform: scale(1.03)
    }

.gallery-thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #eee
}

    .gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s
    }

    .gallery-thumb:hover img {
        transform: scale(1.04)
    }

.gallery-badge-row {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.gallery-badge {
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    backdrop-filter: blur(4px)
}

    .gallery-badge.orange {
        background: var(--or)
    }

.gallery-more-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,.65);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background .2s
}

    .gallery-more-btn:hover {
        background: var(--or)
    }

/* ── LIGHTBOX ── */
.lb {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.94);
    align-items: center;
    justify-content: center;
    flex-direction: column
}

    .lb.open {
        display: flex
    }

.lb-img {
    max-width: 92vw;
    max-height: 82vh;
    border-radius: 10px;
    object-fit: contain
}

.lb-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    font-weight: 700;
    line-height: 1
}

.lb-prev, .lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    background: rgba(255,255,255,.12);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s
}

.lb-prev {
    left: 16px
}

.lb-next {
    right: 16px
}

    .lb-prev:hover, .lb-next:hover {
        background: var(--or)
    }

.lb-counter {
    position: absolute;
    bottom: 20px;
    color: rgba(255,255,255,.7);
    font-size: .82rem
}

/* ── PROP HEADER ── */
.prop-header {
    padding: 18px 24px 12px;
    background: var(--white);
    border-bottom: 1px solid var(--border)
}

.intent-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: 8px
}

.ip-buy {
    background: #EBF4F9;
    color: #0A4B6E
}

.ip-rent {
    background: #E6F7F1;
    color: #0F9E6E
}

.ip-project {
    background: #FEF3C7;
    color: #B45309
}

.ip-comm {
    background: #F5F3FF;
    color: #7C3AED
}

.ip-plot {
    background: #D1FAE5;
    color: #059669
}

.ip-pg {
    background: #FEE2E2;
    color: #DC2626
}

.prop-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.3
}

.prop-loc {
    font-size: .88rem;
    color: var(--muted);
    margin-top: 4px
}

.prop-price-tag {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--or);
    margin-top: 6px
}

.prop-quick-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border)
}

.quick-stat .qs-label {
    font-size: .7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600
}

.quick-stat .qs-val {
    font-size: .9rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 2px
}

/* ── STICKY NAV ── */
.detail-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    gap: 12px;
    flex-wrap: wrap
}

.detail-nav-left {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 0
}

.nav-tab {
    padding: 8px 16px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: .84rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all .18s
}

    .nav-tab.active, .nav-tab:hover {
        color: var(--or);
        border-bottom-color: var(--or)
    }

.detail-nav-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    padding: 8px 0
}

.btn-view-contact {
    padding: 9px 18px;
    background: var(--or);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s
}

    .btn-view-contact:hover {
        background: var(--or-d)
    }

.btn-wa {
    padding: 9px 18px;
    background: #16a34a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit
}

.btn-brochure {
    padding: 9px 18px;
    background: var(--white);
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s
}

    .btn-brochure:hover {
        border-color: var(--or);
        color: var(--or)
    }

/* ── PAGE BODY ── */
.page-body {
    display: flex;
    gap: 24px;
    padding: 24px;
    max-width: 1280px;
    margin: 0 auto;
    align-items: flex-start
}

.content-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100% !important;
}

.sidebar-col {
    width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 64px
}

/* ── CARDS ── */
.sec-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04)
}

.sec-heading {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px
}

    .sec-heading .sec-icon {
        font-size: 1.2rem
    }

/* ── PHOTO TAB GALLERY ── */
.photo-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 2px
}

.photo-tab {
    padding: 8px 18px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: .84rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: all .18s
}

    .photo-tab.active {
        color: var(--or);
        border-bottom-color: var(--or)
    }

.photo-tab-panel {
    display: none
}

    .photo-tab-panel.active {
        display: block
    }
/* Carousel */
.carousel-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f0f0f0
}

.carousel-track {
    display: flex;
    transition: transform .35s cubic-bezier(.4,0,.2,1)
}

.carousel-slide {
    flex-shrink: 0;
    width: 100%
}

    .carousel-slide img {
        width: 100%;
        height: 420px;
        object-fit: contain;
        border-radius: 12px;
        cursor: pointer;
        background: #f8f8f8
    }

        .carousel-slide img.photo-cover {
            object-fit: cover;
            background: #eee
        }

.car-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.55);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 5
}

    .car-btn:hover {
        background: var(--or)
    }

.car-prev {
    left: 10px
}

.car-next {
    right: 10px
}

.car-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px
}

.car-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sand);
    cursor: pointer;
    transition: background .2s
}

    .car-dot.active {
        background: var(--or)
    }

.car-counter {
    text-align: center;
    font-size: .74rem;
    color: var(--muted);
    margin-top: 6px
}

/* ── YOUTUBE SHORTS ── */
.yt-shorts-section {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px
}

.yt-shorts-wrap {
    position: relative;
    padding-bottom: 177.78%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000
}

    .yt-shorts-wrap iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 12px
    }

/* ── OVERVIEW GRID ── */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(180px,1fr));
    gap: 14px
}

.ov-item {
    background: var(--cream);
    border-radius: 10px;
    padding: 12px 14px
}

.ov-label {
    font-size: .72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
    font-weight: 600
}

.ov-val {
    font-size: .92rem;
    font-weight: 700;
    color: var(--text)
}

/* ── AMENITIES ── */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(160px,1fr));
    gap: 10px
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .84rem;
    padding: 10px 12px;
    background: var(--cream);
    border-radius: 8px
}

/* ── BROCHURE ── */
.brochure-preview-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px
}

.btn-download {
    margin-top: 12px;
    padding: 11px 24px;
    background: var(--or);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s
}

    .btn-download:hover {
        background: var(--or-d)
    }

/* ── DESCRIPTION ── */
.desc-text {
    font-size: .92rem;
    color: #374151;
    line-height: 1.75
}

.desc-more {
    color: var(--or);
    cursor: pointer;
    font-weight: 600;
    font-size: .82rem;
    margin-top: 8px;
    display: inline-block
}

/* ── SIDEBAR ── */
.lead-card {
    background: linear-gradient(135deg,#fff4ee,#fff);
    border: 1.5px solid rgba(232,87,42,.2);
    border-radius: var(--radius);
    padding: 20px
}

.lead-title {
    font-size: .95rem;
    font-weight: 800;
    margin-bottom: 14px
}

.lead-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: .88rem;
    margin-bottom: 10px;
    outline: none;
    transition: border-color .18s;
    background: #fafaf8
}

    .lead-input:focus {
        border-color: var(--or);
        background: var(--white)
    }

.lead-btn {
    width: 100%;
    padding: 13px;
    background: var(--or);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s;
    margin-bottom: 8px
}

    .lead-btn:hover {
        background: var(--or-d)
    }

.lead-btn-wa {
    width: 100%;
    padding: 12px;
    background: #16a34a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s
}

    .lead-btn-wa:hover {
        background: #15803d
    }

.lead-disclaimer {
    font-size: .7rem;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.5
}

/* ── MAP ── */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    height: 260px;
    margin-top: 14px
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        border: none
    }

/* ── LOCATION NEARBY ── */
.nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    gap: 10px;
    margin-bottom: 14px
}

.nearby-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--cream);
    border-radius: 8px
}

.nearby-icon {
    font-size: 1.1rem;
    flex-shrink: 0
}

.nearby-name {
    font-size: .82rem;
    font-weight: 600
}

.nearby-dist {
    font-size: .72rem;
    color: var(--muted)
}

/* ── MODAL ── */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 600;
    background: rgba(0,0,0,.48);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px)
}

    .modal-backdrop.open {
        display: flex
    }

.modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    margin: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.22);
    animation: modalIn .22s ease
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(.97) translateY(8px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.85);
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer
}

.modal-body {
    padding: 20px 24px 24px
}

.modal-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px
}

.modal-sub {
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: 16px
}

.field-label {
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 7px
}

.phone-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px
}

.country-sel {
    width: 90px;
    padding: 11px 8px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: .84rem;
    background: #fafaf8;
    font-family: inherit
}

.phone-inp {
    flex: 1;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: .88rem;
    background: #fafaf8
}

    .phone-inp:focus, .country-sel:focus {
        outline: none;
        border-color: var(--or)
    }

.modal-btn {
    width: 100%;
    padding: 13px;
    background: var(--or);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit
}

.otp-row {
    display: flex;
    gap: 8px
}

.otp-inp {
    flex: 1;
    padding: 13px 10px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    font-family: inherit;
    background: #fafaf8
}

    .otp-inp:focus {
        outline: none;
        border-color: var(--or)
    }

.resend-btn {
    font-size: .78rem;
    color: var(--or);
    cursor: pointer;
    font-weight: 600;
    background: none;
    border: none;
    font-family: inherit;
    margin-top: 6px
}

/* ── USER CARD (logged in) ── */
.lead-user-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    margin-bottom: 14px
}

.lead-user-av {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--or);
    color: #fff;
    font-size: .96rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.lead-user-name {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text)
}

.lead-user-phone {
    font-size: .76rem;
    color: var(--muted);
    margin-top: 2px
}

.lead-verified-badge {
    margin-left: auto;
    font-size: .66rem;
    font-weight: 700;
    background: #dcfce7;
    color: #15803d;
    padding: 2px 8px;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0
}
/* Owner preview card */
.owner-preview-card {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 13px;
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-radius: 11px;
    margin-bottom: 14px
}

.owner-preview-av {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--or);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px var(--or-glow)
}

.owner-preview-name {
    font-size: .9rem;
    font-weight: 700;
    color: var(--text)
}

.owner-preview-label {
    font-size: .68rem;
    color: var(--muted);
    margin-top: 2px
}

.owner-preview-info {
    flex: 1;
    min-width: 0
}

.owner-verified {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}
/* Contact detail popup */
.contact-popup-bg {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 800;
    background: rgba(0,0,0,.5);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    padding: 16px
}

    .contact-popup-bg.open {
        display: flex
    }

.contact-popup {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 380px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.22);
    animation: popIn .22s ease
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(.95) translateY(10px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.cp-header {
    background: linear-gradient(135deg,var(--or),#ff6b3d);
    padding: 20px 22px;
    position: relative
}

.cp-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(255,255,255,.2);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: .88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center
}

    .cp-close:hover {
        background: rgba(255,255,255,.35)
    }

.cp-owner-av {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border: 3px solid rgba(255,255,255,.5)
}

.cp-owner-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff
}

.cp-owner-label {
    font-size: .72rem;
    color: rgba(255,255,255,.75);
    margin-top: 2px
}

.cp-body {
    padding: 20px 22px
}

.cp-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #f3f4f6
}

    .cp-field:last-child {
        border-bottom: none
    }

.cp-field-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: .9rem
}

.cp-field-label {
    font-size: .7rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em
}

.cp-field-val {
    font-size: .92rem;
    font-weight: 700;
    color: var(--text)
}

.cp-actions {
    padding: 14px 22px 20px;
    display: flex;
    gap: 10px
}

.cp-btn-call {
    flex: 1;
    padding: 11px;
    background: var(--or);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px
}

    .cp-btn-call:hover {
        background: var(--or-d)
    }

.cp-btn-wa {
    flex: 1;
    padding: 11px;
    background: #16a34a;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px
}

/* ══════════════════════════════════════
                                                                   RESPONSIVE — Full mobile fix
                                                                ══════════════════════════════════════ */

/* Tablet (≤900px) */
@media(max-width:900px) {
    /* Layout */
    .page-body {
        flex-direction: column;
        padding: 10px;
        gap: 14px
    }

    .content-col {
        gap: 14px
    }

    .sidebar-col {
        width: 100%;
        position: static
    }
    /* Gallery */
    .gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 260px;
        height: 260px
    }

    .gallery-thumb {
        display: none
    }
    /* Prop header */
    .prop-header {
        padding: 14px 16px 10px
    }

    .prop-quick-stats {
        gap: 12px;
        flex-wrap: wrap
    }

    .quick-stat {
        min-width: 0
    }
    /* Overview */
    .overview-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .ov-item {
        padding: 10px 12px
    }
    /* Amenities */
    .amenities-grid {
        grid-template-columns: repeat(2,1fr)
    }
    /* Cards */
    .sec-card {
        padding: 16px 14px
    }

    .sec-heading {
        font-size: .92rem;
        margin-bottom: 14px
    }
}

.detail-nav-actions-mobile {
    display: none !important;
}
/* Mobile (≤600px) */
@media(max-width:600px) {

    .detail-nav-actions {
        display: none;
    }

    .detail-nav-actions-mobile {
        padding: 12px !important;
        display: flex !important;
    }

    /* Body + wrap */
    .page-body {
        padding: 8px;
        gap: 10px
    }

    .gallery-wrap {
        padding: 0 8px
    }

    .breadcrumb {
        padding: 8px 12px;
        font-size: .72rem
    }
    /* Gallery */
    .gallery {
        grid-template-rows: 200px;
        height: 200px;
        border-radius: 10px
    }
    /* Property header */
    .prop-header {
        padding: 12px 12px 8px
    }

    .prop-title {
        font-size: 1.1rem;
        line-height: 1.25
    }

    .prop-loc {
        font-size: .8rem
    }

    .prop-price-tag {
        font-size: 1.05rem
    }

    .prop-quick-stats {
        gap: 10px 16px;
        padding-top: 10px;
        margin-top: 10px
    }

    .quick-stat .qs-label {
        font-size: .62rem
    }

    .quick-stat .qs-val {
        font-size: .82rem
    }
    /* Sticky nav */
    .detail-nav {
        padding: 0 10px;
        flex-wrap: nowrap;
        overflow-x: auto
    }

    .detail-nav-left {
        gap: 0;
        padding: 6px 0
    }

    .nav-tab {
        padding: 7px 10px;
        font-size: .76rem;
        flex-shrink: 0
    }

    .detail-nav-actions {
        gap: 6px;
        padding: 6px 0;
        flex-shrink: 0
    }

        .detail-nav-actions .btn-view-contact {
            padding: 7px 11px;
            font-size: .74rem
        }

        .detail-nav-actions .btn-wa {
            padding: 7px 11px;
            font-size: .74rem
        }

        .detail-nav-actions .btn-brochure {
            display: none
        }
    /* Cards */
    .sec-card {
        padding: 14px 12px;
        border-radius: 10px
    }

    .sec-heading {
        font-size: .88rem;
        margin-bottom: 12px
    }

        .sec-heading .sec-icon {
            font-size: 1rem
        }
    /* Overview grid — 2 cols fixed on mobile */
    .overview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }

    .ov-item {
        padding: 9px 10px;
        border-radius: 8px
    }

    .ov-label {
        font-size: .62rem
    }

    .ov-val {
        font-size: .84rem
    }
    /* Description */
    .desc-text {
        font-size: .86rem
    }
    /* Photo tabs */
    .photo-tabs {
        gap: 4px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px
    }

    .photo-tab {
        padding: 7px 13px;
        font-size: .78rem;
        flex-shrink: 0
    }

    .carousel-slide img {
        height: 240px
    }
    /* Amenities */
    .amenities-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }

    .amenity-item {
        font-size: .78rem;
        padding: 8px 10px
    }
    /* Sidebar cards */
    .lead-card {
        padding: 16px 14px
    }

    .lead-title {
        font-size: .88rem
    }

    .lead-input {
        padding: 10px 12px;
        font-size: .84rem
    }

    .lead-btn, .lead-btn-wa {
        padding: 11px;
        font-size: .86rem
    }
    /* Owner preview */
    .owner-preview-card {
        padding: 10px 11px
    }

    .owner-preview-av {
        width: 38px;
        height: 38px;
        font-size: .96rem
    }

    .owner-preview-name {
        font-size: .84rem
    }
}

/* Small phones (≤400px) */
@media(max-width:400px) {
    .gallery {
        grid-template-rows: 180px;
        height: 180px
    }

    .prop-title {
        font-size: 1rem
    }

    .overview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px
    }

    .ov-item {
        padding: 8px
    }

    .ov-label {
        font-size: .6rem
    }

    .ov-val {
        font-size: .8rem
    }

    .nav-tab {
        padding: 6px 8px;
        font-size: .72rem
    }

    .detail-nav {
        padding: 0 8px
    }

    .sec-card {
        padding: 12px 10px
    }
    /* Contact popup on small phones */
    .contact-popup {
        border-radius: 16px
    }

    .cp-body {
        padding: 16px
    }

    .cp-actions {
        padding: 12px 16px 16px;
        flex-direction: column
    }

    .cp-btn-call, .cp-btn-wa {
        padding: 13px
    }
}

.detail-nav-actions-mobile {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 30px;
    border-radius: 45px;
    border: none;
    text-decoration: none;
    font-size: 14px !important;
    font-weight: 600;
    cursor: pointer;
    transition: .3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    min-width: 180px;
}

    .btn-action:hover {
        transform: translateY(-2px);
    }

    .btn-action .icon {
        font-size: 20px;
    }

/* Orange Contact */
.btn-contact {
    background: linear-gradient(180deg,#ff8d42,#ff6b00);
    color: white;
}

/* WhatsApp */
.btn-wa {
    background: #d9f3e5;
    border: 1px solid #32b968;
    color: #000;
}

/* Brochure */
.btn-brochure {
    background: #0d3472;
    color: #fff;
}

/* Mobile */
@media(max-width:768px) {
    .detail-nav-actions-mobile {
        flex-direction: column;
    }

    .btn-action {
        width: 100%;
        min-width: unset;
    }
}
