/* =========================================================
   ZENITH LUXURY HOMES
   PROPERTY DETAILS — PREMIUM EDITORIAL SYSTEM
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=DM+Sans:wght@400;500;600;700&display=swap');

.property-page {
    --zl-black: #151512;
    --zl-black-2: #1e1e1a;
    --zl-cream: #f6f3ec;
    --zl-cream-2: #eeeadf;
    --zl-white: #fff;
    --zl-gold: #c6a45c;
    --zl-gold-light: #dfc88f;
    --zl-gold-dark: #9c7934;
    --zl-text: #1b1b18;
    --zl-muted: #767269;
    --zl-border: #dfd9ce;
    --zl-display: "Cormorant Garamond", Georgia, serif;
    --zl-body: "DM Sans", Arial, sans-serif;

    color: var(--zl-text);
    background: var(--zl-cream);
    font-family: var(--zl-body);
}

.property-page *,
.property-page *::before,
.property-page *::after {
    box-sizing: border-box;
}

.property-page img {
    display: block;
    max-width: 100%;
}

.property-page a,
.property-page button {
    -webkit-tap-highlight-color: transparent;
}

.property-page .container {
    width: min(1240px, calc(100% - 64px));
    margin-inline: auto;
}


/* =========================================================
   01. BREADCRUMB / BACK NAV
   ========================================================= */

.property-breadcrumb {
    padding: 24px 0 18px;
    background: var(--zl-cream);
}

.property-breadcrumb .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.back-to-properties {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--zl-text);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .25s ease, transform .25s ease;
}

.back-to-properties span {
    color: var(--zl-gold-dark);
    font-size: 17px;
}

.back-to-properties:hover {
    color: var(--zl-gold-dark);
    transform: translateX(-3px);
}

.breadcrumb-trail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
    min-width: 0;
}

.breadcrumb-trail a,
.breadcrumb-trail strong,
.breadcrumb-trail span {
    font-size: 10px;
}

.breadcrumb-trail a {
    color: var(--zl-muted);
    text-decoration: none;
}

.breadcrumb-trail a:hover {
    color: var(--zl-gold-dark);
}

.breadcrumb-trail span {
    color: #b5aea1;
}

.breadcrumb-trail strong {
    max-width: 300px;
    overflow: hidden;
    color: var(--zl-gold-dark);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   02. CINEMATIC GALLERY
   ========================================================= */

.property-gallery-section {
    padding: 0 0 34px;
    background: var(--zl-cream);
}

.property-gallery {
    position: relative;
}

.gallery-main {
    position: relative;
    height: min(690px, 62vw);
    min-height: 500px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 40%, #32312c 0%, #1d1d19 50%, #10100e 100%);
    isolation: isolate;
}

.gallery-main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8,8,7,.34), transparent 35%, rgba(8,8,7,.12)),
        linear-gradient(0deg, rgba(8,8,7,.62), transparent 36%);
}

.gallery-main::after {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: 4;
    border: 1px solid rgba(255,255,255,.14);
    pointer-events: none;
}

.gallery-main img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: center;
    cursor: zoom-in;
    transition: opacity .28s ease, transform 1s cubic-bezier(.2,.7,.2,1);
}

.gallery-main:hover img {
    transform: scale(1.012);
}


/* Gallery brand stamp */

.gallery-caption {
    position: absolute;
    left: 42px;
    bottom: 38px;
    z-index: 5;
    max-width: min(60%, 620px);
    color: #fff;
}

.gallery-caption span {
    display: block;
    margin-bottom: 8px;
    color: var(--zl-gold-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.gallery-caption strong {
    display: block;
    font-family: var(--zl-display);
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.025em;
}


/* Gallery controls */

.gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    background: rgba(15,15,13,.58);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.gallery-arrow:hover {
    border-color: var(--zl-gold-light);
    background: var(--zl-gold);
    color: var(--zl-black);
    transform: translateY(-50%) scale(1.05);
}

.gallery-prev { left: 28px; }
.gallery-next { right: 28px; }

.gallery-expand {
    position: absolute;
    top: 28px;
    right: 28px;
    z-index: 6;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    background: rgba(15,15,13,.58);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.gallery-expand:hover {
    border-color: var(--zl-gold-light);
    background: var(--zl-gold);
    color: var(--zl-black);
    transform: rotate(8deg);
}

.gallery-counter {
    position: absolute;
    right: 28px;
    bottom: 28px;
    z-index: 6;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 30px;
    background: rgba(15,15,13,.64);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.gallery-counter-divider {
    color: rgba(255,255,255,.4);
}

.gallery-counter-label {
    margin-left: 3px;
    color: rgba(255,255,255,.52);
    font-size: 8px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.gallery-empty {
    min-height: 500px;
    display: grid;
    place-items: center;
    background: var(--zl-black);
    color: #aaa79e;
    font-family: var(--zl-display);
    font-size: 25px;
}


/* =========================================================
   03. THUMBNAILS
   ========================================================= */

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding: 0 2px 5px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #c9c1b4 transparent;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: #c9c1b4;
}

.gallery-thumbnail {
    position: relative;
    flex: 0 0 116px;
    width: 116px;
    height: 76px;
    overflow: hidden;
    padding: 0;
    border: 1px solid #d6cfc2;
    border-radius: 0;
    background: #ddd8cf;
    cursor: pointer;
    opacity: .68;
    transition: opacity .25s ease, transform .25s ease, border-color .25s ease;
}

.gallery-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.28));
    pointer-events: none;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.gallery-thumbnail:hover {
    opacity: 1;
    border-color: var(--zl-gold);
    transform: translateY(-2px);
}

.gallery-thumbnail:hover img {
    transform: scale(1.06);
}

.gallery-thumbnail.active {
    opacity: 1;
    border: 2px solid var(--zl-gold);
    box-shadow: 0 5px 16px rgba(40,32,17,.12);
}


/* =========================================================
   04. PROPERTY INTRO / TITLE
   ========================================================= */

.property-intro {
    padding: 64px 0 58px;
    background: var(--zl-cream);
    border-top: 1px solid rgba(23,23,20,.06);
}

.property-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: end;
    gap: 80px;
}

.property-status-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.property-status,
.property-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    border: 1px solid #dcd4c6;
    border-radius: 30px;
    background: #fff;
    color: #666158;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.property-status {
    border-color: rgba(201,164,92,.3);
    background: rgba(201,164,92,.10);
    color: var(--zl-gold-dark);
}

.status-dot {
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: #8e8a80;
}

.status-available .status-dot {
    background: #7d9b70;
    box-shadow: 0 0 0 3px rgba(125,155,112,.12);
}

.status-reserved .status-dot {
    background: #c89c42;
    box-shadow: 0 0 0 3px rgba(200,156,66,.12);
}

.status-sold .status-dot {
    background: #9b6b64;
    box-shadow: 0 0 0 3px rgba(155,107,100,.12);
}

.property-badge.hot {
    border-color: #39362f;
    background: var(--zl-black-2);
    color: var(--zl-gold-light);
}

.property-eyebrow {
    margin: 0 0 13px;
    color: var(--zl-gold-dark);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.property-main-info h1 {
    max-width: 900px;
    margin: 0;
    color: var(--zl-black);
    font-family: var(--zl-display);
    font-size: clamp(48px, 5.3vw, 82px);
    font-weight: 500;
    line-height: .91;
    letter-spacing: -.045em;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 20px 0 0;
    color: var(--zl-muted);
    font-size: 13px;
    font-weight: 500;
}

.location-pin {
    color: var(--zl-gold-dark);
    font-size: 17px;
}


/* Quick stats */

.property-quick-stats {
    display: flex;
    flex-wrap: wrap;
    margin-top: 34px;
    border-top: 1px solid var(--zl-border);
    border-bottom: 1px solid var(--zl-border);
}

.quick-stat {
    min-width: 150px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 16px 0;
    border-right: 1px solid var(--zl-border);
}

.quick-stat + .quick-stat {
    padding-left: 18px;
}

.quick-stat:last-child {
    border-right: 0;
}

.quick-stat-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    border: 1px solid #e3dccc;
    border-radius: 50%;
    color: var(--zl-gold-dark);
    background: #fbf8f1;
    font-size: 14px;
}

.quick-stat small {
    display: block;
    margin-bottom: 3px;
    color: #979187;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.quick-stat strong {
    display: block;
    color: var(--zl-black);
    font-size: 12px;
    font-weight: 600;
}


/* Price */

.property-price-box {
    position: relative;
    padding: 8px 0 12px 38px;
    border-left: 1px solid #d8d1c5;
}

.price-label {
    display: block;
    margin-bottom: 8px;
    color: #8a857b;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.property-price-box strong {
    display: block;
    color: var(--zl-black);
    font-family: var(--zl-display);
    font-size: clamp(32px, 3.2vw, 50px);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.03em;
}

.price-note {
    display: block;
    margin-top: 11px;
    color: #99938a;
    font-size: 9px;
    line-height: 1.55;
}

.intro-enquiry-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--zl-gold);
    color: var(--zl-black);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .25s ease, gap .25s ease;
}

.intro-enquiry-link span {
    color: var(--zl-gold-dark);
    font-size: 14px;
}

.intro-enquiry-link:hover {
    color: var(--zl-gold-dark);
    gap: 17px;
}


/* =========================================================
   05. MAIN CONTENT
   ========================================================= */

.property-content-section {
    padding: 0 0 110px;
    background: var(--zl-cream);
}

.property-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 355px;
    align-items: start;
    gap: 44px;
}

.property-content {
    min-width: 0;
}

.property-card {
    position: relative;
    margin-bottom: 22px;
    padding: 39px 42px 42px;
    border: 1px solid var(--zl-border);
    background: var(--zl-white);
    box-shadow: 0 12px 34px rgba(30,27,20,.035);
}

.property-card:last-child {
    margin-bottom: 0;
}

.property-card h2 {
    position: relative;
    margin: 0 0 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e0d7;
    color: var(--zl-black);
    font-family: var(--zl-display);
    font-size: 34px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.property-card h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 52px;
    height: 2px;
    background: var(--zl-gold);
}


/* =========================================================
   06. SPECIFICATIONS
   ========================================================= */

.property-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    border: 1px solid var(--zl-border);
}

.property-spec {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 22px;
    border-right: 1px solid var(--zl-border);
    border-bottom: 1px solid var(--zl-border);
    background: #fff;
}

.property-spec:nth-child(2n) {
    border-right: 0;
}

.property-spec:nth-last-child(-n+2) {
    border-bottom: 0;
}

.spec-icon {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    flex: 0 0 49px;
    border: 1px solid #e6dfd1;
    border-radius: 50%;
    background: #faf7f0;
    color: var(--zl-gold-dark);
    font-size: 18px;
}

.property-spec small {
    display: block;
    margin-bottom: 5px;
    color: #979188;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.property-spec strong {
    display: block;
    color: var(--zl-black);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}


/* =========================================================
   07. DESCRIPTION
   ========================================================= */

.property-description {
    color: #625f58;
    font-size: 15px;
    line-height: 1.95;
}

.property-description p {
    margin: 0 0 18px;
}

.property-description p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   08. FEATURES
   ========================================================= */

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #ece7de;
    color: #5d5952;
    font-size: 13px;
    line-height: 1.55;
}

.feature-check {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    flex: 0 0 22px;
    border-radius: 50%;
    background: rgba(198,164,92,.13);
    color: var(--zl-gold-dark);
    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   09. VIDEO
   ========================================================= */

.property-video {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--zl-black);
}

.property-video::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.08);
    pointer-events: none;
}

.property-video iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}


/* =========================================================
   10. SIDEBAR
   ========================================================= */

.property-sidebar {
    position: sticky;
    top: 25px;
    align-self: start;
}


/* Enquiry card */

.enquiry-card {
    position: relative;
    overflow: hidden;
    padding: 40px 36px 28px;
    border: 1px solid #2e2d27;
    background:
        radial-gradient(circle at 100% 0%, rgba(198,164,92,.16), transparent 34%),
        linear-gradient(145deg, #23231e 0%, #151512 72%);
    color: #fff;
    box-shadow: 0 24px 55px rgba(20,19,15,.16);
}

.enquiry-card::before,
.enquiry-card::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(213,191,139,.15);
    border-radius: 50%;
    pointer-events: none;
}

.enquiry-card::before {
    width: 180px;
    height: 180px;
    top: -108px;
    right: -70px;
}

.enquiry-card::after {
    width: 280px;
    height: 280px;
    top: -160px;
    right: -115px;
}

.enquiry-label,
.enquiry-card h3,
.enquiry-card p,
.enquiry-btn,
.enquiry-phone {
    position: relative;
    z-index: 1;
}

.enquiry-label {
    display: block;
    margin-bottom: 13px;
    color: var(--zl-gold-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.enquiry-card h3 {
    margin: 0 0 14px;
    color: #f7f4ed;
    font-family: var(--zl-display);
    font-size: 39px;
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.025em;
}

.enquiry-card p {
    margin: 0 0 28px;
    color: #aaa79e;
    font-size: 12px;
    line-height: 1.75;
}

.enquiry-btn {
    width: 100%;
    min-height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--zl-gold);
    background: var(--zl-gold);
    color: var(--zl-black);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.enquiry-btn:hover {
    border-color: var(--zl-gold-light);
    background: var(--zl-gold-light);
    color: var(--zl-black);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(198,164,92,.22);
}

.enquiry-phone {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 9px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: #aaa79e;
    font-size: 11px;
    text-decoration: none;
    transition: color .25s ease;
}

.enquiry-phone:hover {
    color: var(--zl-gold-light);
}


/* Sidebar actions */

.sidebar-actions {
    margin-top: 13px;
    padding: 7px;
    border: 1px solid var(--zl-border);
    background: #fff;
}

.sidebar-action {
    width: 100%;
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: var(--zl-text);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

.sidebar-action + .sidebar-action {
    border-top: 1px solid #ece7de;
}

.sidebar-action:hover {
    background: var(--zl-cream);
}

.sidebar-action.primary {
    background: var(--zl-black);
    color: #fff;
}

.sidebar-action.primary:hover {
    background: var(--zl-gold);
    color: var(--zl-black);
}

.sidebar-action span:last-child {
    color: var(--zl-gold-dark);
    font-size: 15px;
}

.sidebar-action.primary span:last-child {
    color: var(--zl-gold-light);
}

.share-status {
    display: block;
    min-height: 17px;
    padding: 0 14px 5px;
    color: var(--zl-gold-dark);
    font-size: 9px;
}


/* Advisor */

.advisor-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 13px;
    padding: 18px;
    border: 1px solid var(--zl-border);
    background: #fff;
}

.advisor-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    flex: 0 0 50px;
    border: 1px solid rgba(198,164,92,.42);
    border-radius: 50%;
    background: var(--zl-black);
    color: var(--zl-gold-light);
    font-family: var(--zl-display);
    font-size: 25px;
}

.advisor-card strong {
    display: block;
    margin-bottom: 4px;
    color: var(--zl-black);
    font-size: 13px;
    font-weight: 700;
}

.advisor-card span {
    display: block;
    color: #8d887f;
    font-size: 10px;
}


/* =========================================================
   11. RELATED PROPERTIES
   ========================================================= */

.related-properties {
    padding: 105px 0 120px;
    background: #ebe7de;
    border-top: 1px solid #ddd7cb;
}

.related-properties .section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 38px;
}

.related-properties .section-heading > span {
    display: block;
    margin-bottom: 7px;
    color: var(--zl-gold-dark);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .20em;
    text-transform: uppercase;
}

.related-properties .section-heading h2 {
    margin: 0;
    color: var(--zl-black);
    font-family: var(--zl-display);
    font-size: 50px;
    font-weight: 500;
    line-height: .95;
    letter-spacing: -.035em;
}

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

.related-property {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid #d8d1c4;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.related-property:hover {
    border-color: #c5a35d;
    box-shadow: 0 22px 40px rgba(32,29,22,.11);
    transform: translateY(-6px);
}

.related-image {
    position: relative;
    height: 270px;
    overflow: hidden;
    background: var(--zl-black);
}

.related-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.32), transparent 50%);
    pointer-events: none;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.related-property:hover .related-image img {
    transform: scale(1.055);
}

.related-image-empty {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #aaa79f;
    font-family: var(--zl-display);
    font-size: 22px;
}

.related-info {
    padding: 22px 22px 25px;
}

.related-info > span {
    display: block;
    margin-bottom: 8px;
    color: var(--zl-gold-dark);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.related-info h3 {
    margin: 0 0 7px;
    color: var(--zl-black);
    font-family: var(--zl-display);
    font-size: 27px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.02em;
}

.related-info p {
    margin: 0 0 16px;
    color: #89847b;
    font-size: 11px;
}

.related-info strong {
    color: var(--zl-black);
    font-family: var(--zl-display);
    font-size: 22px;
    font-weight: 600;
}


/* =========================================================
   12. LIGHTBOX
   ========================================================= */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
    background: rgba(7,7,6,.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.gallery-lightbox[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    width: min(1180px, 86vw);
    height: min(82vh, 800px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 30px 90px rgba(0,0,0,.5);
}

.lightbox-close,
.lightbox-arrow {
    position: fixed;
    z-index: 10;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.lightbox-close {
    top: 25px;
    right: 28px;
    width: 48px;
    height: 48px;
    font-family: Arial, sans-serif;
    font-size: 29px;
    font-weight: 300;
}

.lightbox-close:hover {
    border-color: var(--zl-gold);
    background: var(--zl-gold);
    color: var(--zl-black);
    transform: rotate(90deg);
}

.lightbox-arrow {
    top: 50%;
    width: 58px;
    height: 58px;
    font-family: Arial, sans-serif;
    font-size: 35px;
    font-weight: 300;
    transform: translateY(-50%);
}

.lightbox-arrow:hover {
    border-color: var(--zl-gold);
    background: var(--zl-gold);
    color: var(--zl-black);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }

.lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: -35px;
    transform: translateX(-50%);
    color: #aaa79f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
}

body.lightbox-open {
    overflow: hidden;
}


/* =========================================================
   13. 404
   ========================================================= */

.property-not-found {
    min-height: 75vh;
    display: grid;
    place-items: center;
    padding: 70px 20px;
    background:
        radial-gradient(circle at center, #25251f, #12120f 70%);
    color: #fff;
    text-align: center;
}

.not-found-content {
    max-width: 620px;
}

.not-found-number {
    display: block;
    color: var(--zl-gold-light);
    font-family: var(--zl-display);
    font-size: clamp(100px, 18vw, 190px);
    font-weight: 500;
    line-height: .7;
    letter-spacing: -.06em;
}

.not-found-content h1 {
    margin: 38px 0 10px;
    font-family: var(--zl-display);
    font-size: 48px;
    font-weight: 500;
}

.not-found-content p {
    margin: 0 auto 28px;
    max-width: 470px;
    color: rgba(255,255,255,.62);
    font-size: 13px;
    line-height: 1.8;
}

.not-found-content .btn-primary {
    display: inline-flex;
    padding: 15px 22px;
    background: var(--zl-gold);
    color: var(--zl-black);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
}


/* =========================================================
   14. RESPONSIVE — 1100
   ========================================================= */

@media (max-width: 1100px) {

    .property-page .container {
        width: min(1180px, calc(100% - 48px));
    }

    .property-intro-grid {
        grid-template-columns: minmax(0,1fr) 300px;
        gap: 45px;
    }

    .property-content-grid {
        grid-template-columns: minmax(0,1fr) 320px;
        gap: 28px;
    }

    .property-card {
        padding: 34px;
    }

    .gallery-main {
        min-height: 470px;
    }

    .quick-stat {
        min-width: 130px;
    }
}


/* =========================================================
   RESPONSIVE — 900
   ========================================================= */

@media (max-width: 900px) {

    .property-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: start;
    }

    .property-price-box {
        padding: 25px 0 0;
        border-top: 1px solid #d8d1c5;
        border-left: 0;
    }

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

    .property-sidebar {
        position: static;
        display: grid;
        grid-template-columns: minmax(0,1fr) minmax(240px,.7fr);
        gap: 14px;
    }

    .sidebar-actions {
        margin-top: 0;
    }

    .advisor-card {
        grid-column: 1 / -1;
        margin-top: 0;
    }

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

    .related-property:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 10px);
    }
}


/* =========================================================
   RESPONSIVE — 700
   ========================================================= */

@media (max-width: 700px) {

    .property-page .container {
        width: calc(100% - 32px);
    }

    .property-breadcrumb {
        padding: 17px 0 14px;
    }

    .property-breadcrumb .container {
        display: block;
    }

    .breadcrumb-trail {
        display: none;
    }

    .property-gallery-section {
        padding-bottom: 20px;
    }

    .gallery-main {
        height: 520px;
        min-height: 0;
    }

    .gallery-main::after {
        inset: 10px;
    }

    .gallery-caption {
        left: 25px;
        bottom: 27px;
        max-width: 70%;
    }

    .gallery-caption span {
        font-size: 7px;
    }

    .gallery-caption strong {
        font-size: 27px;
    }

    .gallery-arrow {
        width: 43px;
        height: 43px;
        font-size: 27px;
    }

    .gallery-prev { left: 14px; }
    .gallery-next { right: 14px; }

    .gallery-expand {
        top: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .gallery-counter {
        right: 15px;
        bottom: 16px;
        min-height: 34px;
        font-size: 9px;
    }

    .gallery-thumbnails {
        gap: 7px;
        margin-top: 8px;
    }

    .gallery-thumbnail {
        flex-basis: 88px;
        width: 88px;
        height: 61px;
    }

    .property-intro {
        padding: 45px 0 48px;
    }

    .property-main-info h1 {
        font-size: clamp(43px, 12vw, 62px);
        line-height: .92;
    }

    .property-location {
        margin-top: 15px;
        font-size: 12px;
    }

    .property-quick-stats {
        margin-top: 27px;
    }

    .quick-stat {
        min-width: 50%;
        flex: 1 0 50%;
        padding: 13px 10px 13px 0;
        border-bottom: 1px solid var(--zl-border);
    }

    .quick-stat + .quick-stat {
        padding-left: 10px;
    }

    .quick-stat:nth-child(2n) {
        border-right: 0;
    }

    .quick-stat:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .property-price-box strong {
        font-size: 36px;
    }

    .property-content-section {
        padding-bottom: 70px;
    }

    .property-card {
        padding: 27px 20px 29px;
        margin-bottom: 14px;
    }

    .property-card h2 {
        margin-bottom: 23px;
        font-size: 30px;
    }

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

    .property-spec {
        min-height: 83px;
        padding: 16px;
        border-right: 0;
        border-bottom: 1px solid var(--zl-border);
    }

    .property-spec:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--zl-border);
    }

    .property-spec:last-child {
        border-bottom: 0;
    }

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

    .property-description {
        font-size: 14px;
        line-height: 1.85;
    }

    .property-sidebar {
        display: block;
    }

    .sidebar-actions {
        margin-top: 12px;
    }

    .advisor-card {
        margin-top: 12px;
    }

    .related-properties {
        padding: 72px 0 80px;
    }

    .related-properties .section-heading {
        display: block;
        margin-bottom: 27px;
    }

    .related-properties .section-heading h2 {
        font-size: 42px;
    }

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

    .related-property:last-child {
        grid-column: auto;
        max-width: none;
    }

    .related-image {
        height: 230px;
    }

    .gallery-lightbox {
        padding: 15px;
    }

    .lightbox-content {
        width: 94vw;
        height: 75vh;
    }

    .lightbox-arrow {
        width: 43px;
        height: 43px;
        font-size: 27px;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
    }
}


/* =========================================================
   RESPONSIVE — 430
   ========================================================= */

@media (max-width: 430px) {

    .property-page .container {
        width: calc(100% - 24px);
    }

    .gallery-main {
        height: 430px;
    }

    .gallery-caption {
        left: 20px;
        bottom: 23px;
    }

    .gallery-caption strong {
        font-size: 24px;
    }

    .property-main-info h1 {
        font-size: 40px;
    }

    .property-price-box strong {
        font-size: 31px;
    }

    .property-card {
        padding: 24px 16px;
    }

    .property-card h2 {
        font-size: 27px;
    }

    .quick-stat {
        gap: 9px;
    }

    .quick-stat-icon {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
        font-size: 12px;
    }

    .quick-stat strong {
        font-size: 11px;
    }

    .enquiry-card {
        padding: 31px 22px 23px;
    }

    .enquiry-card h3 {
        font-size: 34px;
    }

    .related-properties .section-heading h2 {
        font-size: 37px;
    }
}


/* =========================================================
   ACCESSIBILITY / MOTION
   ========================================================= */

.property-page a:focus-visible,
.property-page button:focus-visible {
    outline: 2px solid var(--zl-gold);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .property-page *,
    .property-page *::before,
    .property-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
