﻿:root {
    --white: #ffffff;
    --brand-primary: #0f7ad8;
    --brand-light: #eaf3fa;
    --text-muted: #64748b;
    --border: #dbe8f4;
    --shadow: 0 8px 24px rgba(15, 122, 216, 0.09);
}

/* â€”â€” Property details (property-details.php) pd2-* â€”â€” */
body.prop-detail-page .pd2-page {
    max-width: 1280px;
    margin: 0 auto 48px;
    padding: 20px 16px 32px;
}

.pd2-empty-card {
    max-width: 520px;
    margin: 48px auto 0;
    padding: 40px 32px;
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.pd2-empty-visual {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(145deg, #f1f7fd, #e8f2fb);
}

.pd2-empty-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #062a55;
}

.pd2-empty-text {
    margin: 0 0 26px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
}

.pd2-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.pd2-bc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.pd2-bc a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
}

.pd2-bc a:hover {
    text-decoration: underline;
}

.pd2-bc-sep {
    color: #cbd5e1;
    user-select: none;
}

.pd2-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 28px;
    padding: 24px;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.pd2-hero__visual {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.pd2-hero__frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(160deg, #e1e8f2, #f4f9fd);
    aspect-ratio: 16 / 10;
    min-height: 200px;
}

.pd2-hero__frame img#pd2MainImg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pd2-hero__ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
}

.pd2-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pd2-thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #e8f0f8;
    width: 72px;
    height: 56px;
    flex-shrink: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.pd2-thumb:hover {
    border-color: #9ec5ef;
}

.pd2-thumb.is-active {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 2px rgba(15, 122, 216, 0.2);
}

.pd2-hero__panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.pd2-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pd2-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #f1f5f9;
    color: #475569;
}

.pd2-chip--purpose {
    background: linear-gradient(135deg, #eaf3fa, #dbeafe);
    color: #0b4a8a;
    border: 1px solid #bdd7ee;
}

.pd2-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pd2-badge--ok {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.pd2-badge--wait {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.pd2-badge--no {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.pd2-hero__title {
    margin: 0;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: #062a55;
    line-height: 1.25;
}

.pd2-hero__loc {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
    color: #23486b;
    line-height: 1.45;
}

.pd2-hero__loc svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--brand-primary);
}

.pd2-hero__type {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.pd2-price-block {
    margin-top: 4px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fbff, #eef5fc);
    border: 1px solid #d4e5f7;
}

.pd2-price-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.pd2-price-value {
    font-size: 22px;
    font-weight: 700;
    color: #062a55;
    letter-spacing: -0.02em;
}

.pd2-price-words,
.pd2-price-metric__words,
.pd2-value-words {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    color: #64748b;
}

.pd2-dl .pd2-value-words {
    margin-top: 4px;
}

.pd2-stat-tile__body .pd2-value-words {
    margin-top: 4px;
}

.pd2-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin: 4px 0 0;
    padding: 0;
}

.pd2-meta-line > div {
    display: grid;
    gap: 2px;
}

.pd2-meta-line dt {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.pd2-meta-line dd {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #23486b;
}

.pd2-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-primary);
    background: #f0f7fd;
    padding: 2px 8px;
    border-radius: 6px;
}

.pd2-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}

.pd2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pd2-btn--primary {
    background: linear-gradient(135deg, #0f7ad8, #0a67bb);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(15, 122, 216, 0.28);
}

.pd2-btn--primary:hover {
    transform: translateY(-1px);
}

.pd2-btn--ghost {
    background: var(--white);
    color: #23486b !important;
    border-color: #cfe2f5;
}

.pd2-btn--ghost:hover {
    background: var(--brand-light);
    border-color: var(--brand-primary);
}

.pd2-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.pd2-main-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.pd2-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(15, 55, 95, 0.05);
    padding: 22px 24px;
}

.pd2-h2 {
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f8;
    font-size: 17px;
    font-weight: 700;
    color: #062a55;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd2-sec-ico {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #0f7ad8;
    border: 1px solid #cfe1f7;
    background: #eff6ff;
    flex: 0 0 auto;
    text-transform: uppercase;
}

.pd2-sec-ico--sm {
    width: 20px;
    height: 20px;
    font-size: 10px;
}

.pd2-dl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px 20px;
}

.pd2-dl {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pd2-dl span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pd2-mini-ico {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1px solid #d6e3f3;
    background: #f8fbff;
    color: #0f7ad8;
    font-size: 9px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.pd2-dl strong {
    font-size: 15px;
    font-weight: 600;
    color: #23486b;
    line-height: 1.35;
}

.pd2-sub-h3 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin: 22px 0 12px;
    padding-top: 18px;
    border-top: 1px dashed #e2e8f0;
}

.pd2-dl-note {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.45;
}

.pd2-card--plot {
    padding: 24px 26px;
}

.pd2-sec-ico--plot {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 0;
    border-color: #cfe1f7;
    background: linear-gradient(145deg, #eff6ff 0%, #f8fbff 100%);
}

.pd2-sec-ico--plot svg {
    width: 16px;
    height: 16px;
    stroke: #0f7ad8;
}

.pd2-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.pd2-stat-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.pd2-stat-tile {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e6eef7;
    background: linear-gradient(160deg, #fbfdff 0%, #ffffff 100%);
    box-shadow: 0 1px 0 rgba(15, 55, 95, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pd2-stat-tile:hover {
    border-color: #cfe1f7;
    box-shadow: 0 8px 22px rgba(15, 74, 138, 0.08);
    transform: translateY(-1px);
}

.pd2-stat-tile--inline {
    height: 100%;
}

.pd2-stat-tile__ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #0f7ad8;
    background: linear-gradient(145deg, #eff6ff 0%, #f8fbff 100%);
    border: 1px solid #cfe1f7;
}

.pd2-stat-tile__ico svg {
    width: 20px;
    height: 20px;
}

.pd2-stat-tile__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pd2-stat-tile__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    line-height: 1.35;
}

.pd2-stat-tile__value {
    font-size: 15px;
    font-weight: 600;
    color: #062a55;
    line-height: 1.45;
    word-break: break-word;
}

.pd2-stat-tile__value.is-empty {
    color: #94a3b8;
    font-weight: 500;
}

.pd2-stat-tile__note {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.4;
}

.pd2-stat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.pd2-stat-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #1e4a72;
    background: #eef5ff;
    border: 1px solid #d6e6fb;
    line-height: 1.3;
}

.pd2-plot-section {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #eef2f8;
}

.pd2-plot-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: #062a55;
}

.pd2-plot-section__ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f7ad8;
    background: #eff6ff;
    border: 1px solid #cfe1f7;
}

.pd2-plot-section__ico svg {
    width: 15px;
    height: 15px;
}

.pd2-price-strip {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 4px;
    border-radius: 16px;
    border: 1px solid #d4e5f7;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 55%, #f3f8ff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.pd2-price-metric {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
}

.pd2-price-metric--primary {
    flex: 1.35 1 0;
}

.pd2-price-metric__divider {
    width: 1px;
    align-self: stretch;
    margin: 14px 0;
    background: linear-gradient(180deg, transparent, #cfe1f7 18%, #cfe1f7 82%, transparent);
}

.pd2-price-metric__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd2-price-metric__ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #0f7ad8;
    background: #ffffff;
    border: 1px solid #cfe1f7;
    box-shadow: 0 2px 8px rgba(15, 74, 138, 0.06);
}

.pd2-price-metric__ico svg {
    width: 17px;
    height: 17px;
}

.pd2-price-metric__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    line-height: 1.35;
}

.pd2-price-metric__value {
    display: block;
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 700;
    color: #062a55;
    letter-spacing: -0.02em;
    line-height: 1.15;
    word-break: break-word;
}

.pd2-price-metric__value--secondary {
    font-size: clamp(18px, 2.2vw, 22px);
}

.pd2-price-metric__value.is-empty {
    color: #94a3b8;
    font-size: 20px;
    font-weight: 600;
}

.pd2-price-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.pd2-price-flag {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: #0f5f46;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

.pd2-video-embed--plot {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e6eef7;
    box-shadow: 0 8px 24px rgba(15, 55, 95, 0.08);
}

.pd2-video--plot {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e6eef7;
    background: #f8fbff;
}

.pd2-video--plot a {
    color: #0f7ad8;
    font-weight: 600;
    word-break: break-all;
}

.pd2-media-count {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #0f7ad8;
    background: #eff6ff;
    border: 1px solid #cfe1f7;
}

.pd2-mosaic--plot {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e6eef7;
}

.pd2-prose--plot {
    margin: 0;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #e6eef7;
    background: linear-gradient(160deg, #fbfdff 0%, #ffffff 100%);
}

.pd2-prose--plot p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #23486b;
}

.pd2-card--location {
    overflow: hidden;
}

.pd2-loc-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #cfe1f7;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
}

.pd2-loc-banner__ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #0f7ad8;
    background: #ffffff;
    border: 1px solid #cfe1f7;
    box-shadow: 0 2px 8px rgba(15, 74, 138, 0.08);
}

.pd2-loc-banner__ico svg {
    width: 20px;
    height: 20px;
}

.pd2-loc-banner__text {
    margin: 0;
    padding-top: 2px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    color: #062a55;
}

.pd2-loc-trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.pd2-loc-trail__pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #1e4a72;
    background: #ffffff;
    border: 1px solid #d6e6fb;
    box-shadow: 0 1px 0 rgba(15, 55, 95, 0.03);
}

.pd2-loc-trail__sep {
    display: inline-flex;
    align-items: center;
    color: #94a3b8;
}

.pd2-loc-trail__sep svg {
    width: 14px;
    height: 14px;
}

.pd2-loc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.pd2-loc-address {
    margin-top: 12px;
}

.pd2-stat-tile--wide {
    width: 100%;
}

.pd2-loc-highlights {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #eef2f8;
}

.pd2-loc-highlights__title {
    margin-bottom: 12px;
}

.pd2-tag-block {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
}

.pd2-tag-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.pd2-tag-cloud {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.pd2-prose {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed #e2e8f0;
}

.pd2-prose h3 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #062a55;
}

.pd2-prose p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #374151;
}

.pd2-muted {
    color: var(--text-muted) !important;
    font-style: normal;
}

.pd2-small {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-muted);
}

.pd2-media-subtitle {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}
.pd2-media-subtitle--spaced {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}
.pd2-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.pd2-mosaic__cell {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
}

.pd2-mosaic__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.pd2-mosaic__cell:hover img {
    transform: scale(1.03);
}

.pd2-video {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 13px;
    word-break: break-all;
}

.pd2-video-embed {
    margin-top: 16px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #dbe6f3;
    background: #000;
    aspect-ratio: 16 / 9;
}

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

.pd2-no-scroll {
    overflow: hidden;
}

.pd2-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.pd2-lightbox.is-open {
    display: block;
}

.pd2-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 23, 0.82);
}

.pd2-lightbox__dialog {
    position: relative;
    z-index: 2;
    width: min(94vw, 1100px);
    height: min(88vh, 760px);
    margin: 5vh auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd2-lightbox__dialog img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
    background: #0b1220;
}

.pd2-lightbox__btn {
    position: absolute;
    z-index: 3;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    color: #fff;
    width: 42px;
    height: 42px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pd2-lightbox__close {
    top: 10px;
    right: 10px;
    font-size: 24px;
    line-height: 1;
}

.pd2-lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
}

.pd2-lightbox__prev {
    left: 10px;
}

.pd2-lightbox__next {
    right: 10px;
}

.pd2-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 72px;
}

.pd2-aside-spotlight {
    padding: 22px 20px;
    border-radius: 18px;
    background: linear-gradient(145deg, #062a55 0%, #0f4c8a 58%, #1565b8 100%);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(6, 42, 85, 0.22);
    overflow: hidden;
    position: relative;
}

.pd2-aside-spotlight::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -70px;
    right: -50px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.pd2-aside-spotlight__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.pd2-aside-spotlight__eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.72);
}

.pd2-aside-spotlight__badge {
    font-size: 10px;
    padding: 4px 10px;
}

.pd2-aside-spotlight__price {
    display: block;
    font-size: clamp(24px, 2.8vw, 30px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.pd2-aside-spotlight__price-words {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
    position: relative;
    z-index: 1;
}

.pd2-aside-spotlight__price-label {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.65);
    position: relative;
    z-index: 1;
}

.pd2-aside-spotlight__loc {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 16px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    position: relative;
    z-index: 1;
}

.pd2-aside-spotlight__loc svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.pd2-aside-kicker {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.pd2-aside-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 18px 20px;
    box-shadow: 0 2px 12px rgba(15, 55, 95, 0.05);
}

.pd2-aside-card--highlights {
    padding: 18px 18px 16px;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.07), transparent 38%),
        linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
    border-color: #fde68a;
}

.pd2-hl-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.pd2-hl-head__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b45309;
    background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fdba74;
    flex: 0 0 auto;
}

.pd2-hl-head__icon svg {
    width: 18px;
    height: 18px;
}

.pd2-hl-head__copy {
    min-width: 0;
    flex: 1 1 auto;
}

.pd2-hl-head__title {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 800;
    color: #062a55;
}

.pd2-hl-head__sub {
    margin: 0;
    font-size: 12px;
    color: #64748b;
}

.pd2-hl-head__count {
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #9a3412;
    background: #fff7ed;
    border: 1px solid #fdba74;
    flex: 0 0 auto;
}

.pd2-hl-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    margin-bottom: 10px;
    border-radius: 16px;
    border: 1px solid #e6eef7;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 24px rgba(15, 55, 95, 0.07);
    position: relative;
    overflow: hidden;
}

.pd2-hl-feature::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--pd2-hl-accent, #0f7ad8);
}

.pd2-hl-feature__icon .pd2-stat-tile__ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: var(--pd2-hl-accent, #0f7ad8);
    background: var(--pd2-hl-accent-soft, #eff6ff);
    border-color: var(--pd2-hl-accent-border, #cfe1f7);
}

.pd2-hl-feature__icon .pd2-stat-tile__ico svg {
    width: 22px;
    height: 22px;
}

.pd2-hl-feature__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pd2-hl-item__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.pd2-hl-feature__value {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 800;
    color: #062a55;
    line-height: 1.2;
    word-break: break-word;
}

.pd2-hl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pd2-hl-tile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e6eef7;
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.pd2-hl-tile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pd2-hl-accent, #0f7ad8);
}

.pd2-hl-tile__top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pd2-hl-tile__icon .pd2-stat-tile__ico {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    color: var(--pd2-hl-accent, #0f7ad8);
    background: var(--pd2-hl-accent-soft, #eff6ff);
    border-color: var(--pd2-hl-accent-border, #cfe1f7);
}

.pd2-hl-tile__icon .pd2-stat-tile__ico svg {
    width: 15px;
    height: 15px;
}

.pd2-hl-tile__value {
    font-size: 14px;
    font-weight: 800;
    color: #062a55;
    line-height: 1.35;
    word-break: break-word;
}

.pd2-hl-item--area {
    --pd2-hl-accent: #0f7ad8;
    --pd2-hl-accent-soft: #eff6ff;
    --pd2-hl-accent-border: #cfe1f7;
}

.pd2-hl-item--facing {
    --pd2-hl-accent: #7c3aed;
    --pd2-hl-accent-soft: #f5f3ff;
    --pd2-hl-accent-border: #ddd6fe;
}

.pd2-hl-item--possession {
    --pd2-hl-accent: #059669;
    --pd2-hl-accent-soft: #ecfdf5;
    --pd2-hl-accent-border: #bbf7d0;
}

.pd2-hl-item--road {
    --pd2-hl-accent: #d97706;
    --pd2-hl-accent-soft: #fff7ed;
    --pd2-hl-accent-border: #fdba74;
}

.pd2-hl-item--photos {
    --pd2-hl-accent: #db2777;
    --pd2-hl-accent-soft: #fdf2f8;
    --pd2-hl-accent-border: #fbcfe8;
}

.pd2-hl-item--bed {
    --pd2-hl-accent: #2563eb;
    --pd2-hl-accent-soft: #eff6ff;
    --pd2-hl-accent-border: #bfdbfe;
}

.pd2-hl-item--bath {
    --pd2-hl-accent: #0891b2;
    --pd2-hl-accent-soft: #ecfeff;
    --pd2-hl-accent-border: #a5f3fc;
}

.pd2-hl-item--house,
.pd2-hl-item--floors {
    --pd2-hl-accent: #4f46e5;
    --pd2-hl-accent-soft: #eef2ff;
    --pd2-hl-accent-border: #c7d2fe;
}

.pd2-hl-item--ownership {
    --pd2-hl-accent: #0f766e;
    --pd2-hl-accent-soft: #f0fdfa;
    --pd2-hl-accent-border: #99f6e4;
}

.pd2-hl-item--locality {
    --pd2-hl-accent: #ea580c;
    --pd2-hl-accent-soft: #fff7ed;
    --pd2-hl-accent-border: #fed7aa;
}

.pd2-aside-card--gallery {
    padding-bottom: 14px;
}

.pd2-aside-card--pulse {
    padding: 18px 18px 16px;
    background:
        radial-gradient(circle at top right, rgba(15, 122, 216, 0.08), transparent 42%),
        linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
    border-color: #d4e5f7;
}

.pd2-pulse-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.pd2-pulse-head__dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    flex: 0 0 auto;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
    animation: pd2PulseDot 2s ease-out infinite;
}

.pd2-aside-card--pulse-wait .pd2-pulse-head__dot {
    background: #f59e0b;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45);
}

.pd2-aside-card--pulse-no .pd2-pulse-head__dot {
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.42);
    animation: none;
}

.pd2-pulse-head__copy {
    min-width: 0;
}

.pd2-pulse-head__title {
    margin-bottom: 2px;
}

.pd2-pulse-head__sub {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

@keyframes pd2PulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.pd2-pulse-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 14px;
    border: 1px solid transparent;
}

.pd2-pulse-status--ok {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border-color: #bbf7d0;
}

.pd2-pulse-status--wait {
    background: linear-gradient(135deg, #fffbeb 0%, #fefce8 100%);
    border-color: #fde68a;
}

.pd2-pulse-status--no {
    background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
    border-color: #fecaca;
}

.pd2-pulse-status__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.pd2-pulse-status--ok .pd2-pulse-status__icon {
    color: #15803d;
}

.pd2-pulse-status--wait .pd2-pulse-status__icon {
    color: #b45309;
}

.pd2-pulse-status--no .pd2-pulse-status__icon {
    color: #b42318;
}

.pd2-pulse-status__icon svg {
    width: 18px;
    height: 18px;
}

.pd2-pulse-status__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pd2-pulse-status__label {
    font-size: 14px;
    font-weight: 800;
    color: #062a55;
    line-height: 1.2;
}

.pd2-pulse-status__note {
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
}

.pd2-pulse-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.pd2-pulse-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 12px 8px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e6eef7;
    box-shadow: 0 2px 8px rgba(15, 55, 95, 0.04);
}

.pd2-pulse-stat__icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f7ad8;
    background: linear-gradient(145deg, #eff6ff 0%, #f8fbff 100%);
    border: 1px solid #cfe1f7;
}

.pd2-pulse-stat__icon svg {
    width: 16px;
    height: 16px;
}

.pd2-pulse-stat__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.pd2-pulse-stat__value {
    font-size: 14px;
    font-weight: 800;
    color: #062a55;
    line-height: 1.25;
    word-break: break-word;
}

.pd2-pulse-id {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    background: #f8fbff;
    border: 1px dashed #cfe1f7;
}

.pd2-pulse-id__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    flex: 0 0 auto;
}

.pd2-pulse-id__code {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    font-size: 12px;
    font-weight: 700;
    color: #0f4c8a;
    text-align: right;
    word-break: break-all;
}

.pd2-aside-code {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 8px;
    background: #eff6ff;
    border: 1px solid #cfe1f7;
    font-size: 12px;
    color: #0f4c8a;
    word-break: break-all;
}

.pd2-aside-card--muted {
    background: linear-gradient(180deg, #f8fbff, #f1f6fb);
    border-color: #d4e5f7;
}

.pd2-aside-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pd2-aside-perk {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #1e4a72;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
    border: 1px solid #cfe1f7;
}

.pd2-aside-gallery-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.pd2-aside-gallery-head .pd2-aside-kicker {
    margin-bottom: 0;
}

.pd2-aside-gallery-more {
    font-size: 12px;
    font-weight: 700;
    color: #0f7ad8;
    text-decoration: none;
}

.pd2-aside-gallery-more:hover {
    text-decoration: underline;
}

.pd2-aside-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.pd2-aside-gallery__cell {
    display: block;
    aspect-ratio: 1.15;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e6eef7;
    box-shadow: 0 4px 14px rgba(15, 55, 95, 0.08);
}

.pd2-aside-gallery__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.pd2-aside-gallery__cell:hover img {
    transform: scale(1.05);
}

.pd2-aside-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd2-aside-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid #d4e5f7;
    background: #ffffff;
    color: #062a55;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pd2-aside-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 74, 138, 0.1);
}

.pd2-aside-action--primary {
    background: linear-gradient(135deg, #062a55 0%, #0f4c8a 100%);
    border-color: #062a55;
    color: #ffffff;
}

.pd2-aside-action--accent {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-color: #fdba74;
    color: #9a3412;
}

.pd2-aside-title {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: #062a55;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pd2-aside-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd2-aside-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 13px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.pd2-aside-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.pd2-aside-list span {
    color: var(--text-muted);
    font-weight: 600;
}

.pd2-aside-list strong {
    text-align: right;
    color: #23486b;
    font-weight: 700;
    font-size: 13px;
}

.pd2-aside-note {
    padding: 14px 16px;
    border-radius: 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    font-size: 13px;
}

.pd2-aside-note strong {
    display: block;
    margin-bottom: 6px;
    color: #92400e;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pd2-aside-note p {
    margin: 0;
    color: #78350f;
    line-height: 1.45;
}

@media (max-width: 992px) {
    .pd2-hero {
        grid-template-columns: 1fr;
    }

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

    .pd2-aside {
        position: static;
    }
}

@media (max-width: 600px) {
    body.prop-detail-page .pd2-page {
        padding: 16px 12px 28px;
    }

    .pd2-hero {
        padding: 18px 16px;
    }

    .pd2-card {
        padding: 18px 16px;
    }

    .pd2-dl-grid {
        grid-template-columns: 1fr;
    }

    .pd2-stat-grid,
    .pd2-stat-grid--compact {
        grid-template-columns: 1fr;
    }

    .pd2-loc-grid {
        grid-template-columns: 1fr;
    }

    .pd2-price-strip {
        flex-direction: column;
    }

    .pd2-price-metric__divider {
        width: auto;
        height: 1px;
        margin: 0 14px;
        background: linear-gradient(90deg, transparent, #cfe1f7 18%, #cfe1f7 82%, transparent);
    }
}

