/* Property detail pages (/properties/<slug>), 19 Nov 2026. Uses the site's existing tokens only. */
.pd { padding: 1.25rem 0 3.5rem; }
.pd-crumbs { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.pd-crumbs a { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-color: var(--chrome); }
.pd-top { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .pd-top { grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 1fr); gap: 1.75rem; } }
.pd-lead { position: relative; border-radius: 0.5rem; overflow: hidden; background: var(--soft); aspect-ratio: 16 / 10; border: 1px solid rgba(28, 32, 32, 0.12); }
.pd-lead__link { display: block; width: 100%; height: 100%; }
.pd-lead__img, .pd-lead picture img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-lead picture { display: block; width: 100%; height: 100%; }
.pd-lead__count { position: absolute; right: 0.75rem; bottom: 0.75rem; background: rgba(28, 32, 32, 0.78); color: var(--white); font-size: 0.75rem; letter-spacing: 0.04em; padding: 0.3rem 0.6rem; border-radius: 0.3rem; pointer-events: none; }
.pd-panel { background: var(--white); border: 1px solid rgba(28, 32, 32, 0.16); border-radius: 0.5rem; padding: 1.25rem 1.2rem 1.3rem; box-shadow: 0 6px 20px rgba(28, 32, 32, 0.06); }
@media (min-width: 900px) { .pd-panel { position: sticky; top: 5rem; } }
.pd-badge { display: inline-block; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 0.3rem; background: var(--charcoal); color: var(--white); margin-bottom: 0.8rem; }
.pd-badge--agreed { background: var(--yellow); color: var(--charcoal); }
.pd-title { font-size: clamp(1.5rem, 3.6vw, 2rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; max-width: none; }
.pd-sub { color: var(--muted); margin-top: 0.4rem; }
.pd-price { font-size: clamp(1.25rem, 3vw, 1.5rem); font-weight: 550; margin-top: 0.75rem; letter-spacing: -0.01em; }
.pd-cta { display: grid; gap: 0.6rem; margin-top: 1.1rem; }
.pd-cta .btn { width: 100%; text-align: center; }
.pd-note, .pd-street { font-size: 0.9rem; color: var(--muted); margin-top: 0.9rem; }
.pd-note a, .pd-street a, .pd-desc p a, .pd-small a { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-color: var(--chrome); color: var(--charcoal); }
.pd-body { margin-top: 2rem; }
.pd-main { max-width: 46rem; }
.pd-section + .pd-section { margin-top: 2.25rem; }
.pd-section h2 { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 0.85rem; }
.pd-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.6rem; }
.pd-facts div { background: var(--white); border: 1px solid rgba(196, 202, 210, 0.8); border-radius: 0.4rem; padding: 0.7rem 0.85rem; }
.pd-facts dt { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pd-facts dd { font-weight: 550; margin-top: 0.15rem; }
.pd-desc p { color: var(--charcoal); line-height: 1.6; }
.pd-desc p + p { margin-top: 0.85rem; }
.pd-media-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.pd-rooms { list-style: none; display: grid; gap: 0; border-top: 1px solid rgba(196, 202, 210, 0.7); }
.pd-rooms li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(196, 202, 210, 0.7); }
.pd-room__name { font-weight: 550; }
.pd-room__dim { color: var(--muted); font-size: 0.92rem; }
.pd-room__desc { flex-basis: 100%; color: var(--muted); font-size: 0.92rem; }
.pd-plans { list-style: none; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.pd-plans img, .pd-plans picture img { width: 100%; height: auto; background: var(--white); border: 1px solid rgba(196, 202, 210, 0.8); border-radius: 0.4rem; }
.pd-gallery { list-style: none; display: grid; gap: 0.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .pd-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pd-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0.35rem; background: var(--soft); }
.pd-thumb img, .pd-thumb picture { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s ease; }
.pd-thumb:hover img { transform: scale(1.03); }
.pd-thumb:focus-visible, .pd-lead__link:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.pd-small { margin-top: 2rem; font-size: 0.82rem; color: var(--muted); }
.pd-related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(196, 202, 210, 0.45); max-width: none; }
.pd-all { margin-top: 1.25rem; }
.pd-lightbox { border: 0; padding: 0; max-width: none; max-height: none; width: 100vw; height: 100vh; background: rgba(12, 14, 14, 0.95); color: var(--white); }
.pd-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.pd-lightbox::backdrop { background: rgba(12, 14, 14, 0.95); }
.pd-lightbox__img { max-width: min(96vw, 1600px); max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.pd-lightbox button { position: absolute; z-index: 2; background: rgba(0, 0, 0, 0.55); color: var(--white); border: 0; border-radius: 0.35rem; width: 2.75rem; height: 2.75rem; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.pd-lightbox button:hover, .pd-lightbox button:focus-visible { background: rgba(255, 255, 255, 0.25); outline: none; }
.pd-lightbox__close { top: 1rem; right: 1rem; }
.pd-lightbox__prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.pd-lightbox__next { right: 0.75rem; top: 50%; transform: translateY(-50%); }
.pd-lightbox__count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; font-size: 0.85rem; letter-spacing: 0.06em; }
.prop-box__media picture { display: block; width: 100%; height: 100%; }
