.property-page {
    --property-space: clamp(48px, 6.25vw, 108px);
}

.property-hero {
    height: clamp(300px, 45vw, 760px);
    background: #eee9e0;
}

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

.property-wrap {
    width: min(90%, 1590px);
    margin-inline: auto;
}

.property-summary {
    padding-block: clamp(28px, 4vw, 68px) var(--property-space);
}

.property-back,
.property-jump {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--home-gold);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-back {
    margin-bottom: clamp(16px, 2vw, 30px);
}

.property-back:hover,
.property-jump:hover {
    text-decoration: underline;
}

.property-jump {
    margin-top: 8px;
}

.property-summary__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 32%);
    align-items: start;
    gap: 24px clamp(28px, 5vw, 82px);
}

.property-location {
    margin-bottom: 10px;
    color: var(--home-gold);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.045em;
    line-height: 1.55;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.property-summary h1,
.property-page h2 {
    font-family: var(--magno-display-font, Georgia, serif);
    font-weight: 500;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
}

.property-summary h1 {
    font-size: clamp(2.55rem, 4.2vw, 4.7rem);
    line-height: 1.01;
    text-wrap: balance;
}

.property-code {
    margin-top: 16px;
    color: var(--home-muted);
    font-size: 0.8rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.property-price-list {
    padding: clamp(16px, 2vw, 32px);
    border: 1px solid var(--home-line);
    background: #fff;
}

.property-price-entry + .property-price-entry {
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid var(--home-line);
}

.property-price-entry dt,
.property-feature dt {
    color: var(--home-muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.045em;
    line-height: 1.4;
    text-transform: uppercase;
}

.property-price-entry dd,
.property-feature dd {
    margin-top: 4px;
    font-family: var(--magno-display-font, Georgia, serif);
    font-weight: 600;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.property-price-entry dd {
    font-size: clamp(1.7rem, 2.55vw, 2.75rem);
}

.property-price-entry small {
    font-size: 0.68em;
}

.property-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(142px, 100%), 1fr));
    gap: 10px;
    margin-top: clamp(28px, 4vw, 62px);
}

.property-feature {
    min-width: 0;
    padding: clamp(12px, 1.45vw, 22px);
    border: 1px solid var(--home-line);
    background: #fff;
}

.property-feature dd {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.property-detail,
.property-section,
.property-contact {
    padding-block: var(--property-space);
    border-top: 1px solid var(--home-line);
}

.property-detail,
.property-videos {
    background: #f5f1ea;
}

.property-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
    align-items: start;
    gap: clamp(20px, 5.2vw, 88px);
}

.property-page h2 {
    font-size: clamp(2.3rem, 3.5vw, 3.9rem);
    line-height: 1.02;
}

.property-section h2 {
    margin-bottom: clamp(24px, 3.2vw, 48px);
}

.property-copy {
    min-width: 0;
    color: var(--home-muted);
    font-size: clamp(0.94rem, 1.15vw, 1.07rem);
    line-height: 1.8;
    overflow-wrap: anywhere;
    overflow-x: auto;
}

.property-copy > * + * {
    margin-top: 1em;
}

.property-copy ul,
.property-copy ol {
    padding-inline-start: 1.45em;
}

.property-copy ul {
    list-style: disc;
}

.property-copy a {
    color: var(--home-gold);
}

.property-copy img {
    max-width: 100%;
    height: auto;
}

.property-video {
    width: min(100%, 980px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--home-line);
    background: #242321;
}

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

.property-gallery__viewport {
    position: relative;
}

.property-gallery__track {
    display: flex;
    gap: clamp(12px, 1.6vw, 24px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #b1a495 #eee9e0;
}

.property-photo {
    position: relative;
    display: block;
    flex: 0 0 min(78%, 980px);
    overflow: hidden;
    border: 1px solid var(--home-line);
    background: #eee9e0;
    scroll-snap-align: start;
}

.property-gallery__track--single .property-photo {
    flex-basis: min(100%, 980px);
}

.property-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 250ms ease;
}

.property-photo:hover img {
    transform: scale(1.025);
}

.property-photo span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    background: #fff;
    color: var(--home-ink);
    font-size: 0.7rem;
    font-weight: 600;
}

.property-gallery__arrow {
    position: absolute;
    z-index: 1;
    top: 50%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid var(--home-line);
    background: #fbfaf7;
    color: var(--home-ink);
    cursor: pointer;
    font-size: 1.7rem;
    line-height: 1;
}

.property-gallery__arrow--prev {
    left: 12px;
}

.property-gallery__arrow--next {
    right: 12px;
}

.property-gallery__arrow:hover {
    background: #eee9e0;
}

.property-contact {
    background: #f5f1ea;
}

.property-contact__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.property-contact h2 {
    margin-bottom: 12px;
}

.property-contact p {
    margin-top: 5px;
    color: var(--home-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.property-contact__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 20px;
    border: 1px solid var(--home-gold);
    background: var(--home-gold);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.property-contact__link:hover {
    background: #694415;
}

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

.property-photo:focus-visible {
    outline-offset: -3px;
}

.wc_property_page .not_found .section_header :is(h1, p) {
    color: var(--home-ink);
}

@media (max-width: 48em) {
    .property-hero {
        height: clamp(245px, 62vw, 410px);
    }

    .property-summary__top,
    .property-detail__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .property-photo {
        flex-basis: 90%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .property-photo img {
        transition: none;
    }
}
