.property-detail {
    --detail-ink: var(--site-ink);
    --detail-muted: var(--site-muted);
    --detail-link: var(--site-blue);
    --detail-line: var(--site-line);
    --detail-surface: var(--site-surface);
    --detail-radius: var(--site-radius);
    padding: 28px 0 44px;
    background: var(--detail-surface);
    color: var(--detail-ink);
}

.property-detail h1,
.property-detail h2,
.property-detail h3 {
    color: var(--detail-ink);
}

.property-detail a:focus-visible,
.property-detail button:focus-visible,
.property-detail summary:focus-visible {
    outline: 2px solid #216499;
    outline-offset: 3px;
}

.property-detail-heading {
    margin-bottom: 22px;
}

.property-detail-heading-actions,
.property-detail-heading-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.property-detail-heading-actions {
    justify-content: space-between;
}

.property-detail-heading-tools {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
}

.property-detail-heading-location {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--detail-link);
    font-size: 14px;
}

.property-detail-heading-location:hover,
.property-detail-agent a:hover,
.property-detail-location a:hover {
    color: var(--detail-link);
    text-decoration: underline;
}

.property-detail-labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: var(--detail-muted);
    font-size: 13px;
    line-height: 1.4;
}

.property-detail-labels .property-card-badge {
    background: var(--detail-link);
    color: #fff;
    box-shadow: none;
}

.property-detail-heading h1 {
    margin: 9px 0 7px;
    font-size: clamp(26px, 3.4vw, 39px);
    font-weight: 700;
    line-height: 1.17;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

.property-detail-heading-location {
    color: var(--detail-muted);
    line-height: 1.45;
}

.property-detail-heading-location .fa {
    color: #216499;
}

.property-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 34%);
    grid-template-rows: min-content minmax(0, 1fr);
    align-items: start;
    gap: 16px 22px;
}

.property-detail-gallery,
.property-detail-panel {
    min-width: 0;
    border: 1px solid var(--detail-line);
    border-radius: var(--detail-radius);
    background: #fff;
    box-shadow: 0 4px 12px rgba(20, 40, 62, .06);
}

.property-detail-gallery {
    grid-area: 1 / 1 / 2 / 2;
    overflow: hidden;
}

.property-detail-gallery .property-slider {
    margin: 0;
    background: #e5ecf3;
}

.property-detail-gallery .property-slider a.item {
    display: block;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0;
}

.property-detail-gallery .property-slider:not(.slick-initialized) a.item:not(:first-child) {
    display: none;
}

.property-detail-gallery .property-slider img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.property-detail-gallery .property-slider a.item:focus-visible {
    outline-offset: -4px;
    outline-color: #fff;
}

.property-detail-gallery .property-slider .slick-arrow {
    width: 38px;
    height: 38px;
    background: #fff;
    opacity: 1;
    border: 1px solid var(--detail-line);
    border-radius: 50%;
}

.property-detail-gallery .slick-arrow.slick-hidden {
    display: none;
}

.property-detail-gallery .property-slider .slick-prev {
    left: 13px;
}

.property-detail-gallery .property-slider .slick-next {
    right: 13px;
}

.property-detail-gallery .property-slider .slick-arrow::before {
    color: var(--detail-ink);
    line-height: 38px;
}

.property-detail-gallery .property-slider .slick-arrow::after {
    display: none;
}

.property-detail-gallery-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
}

.property-detail-gallery .property-slider-nav {
    left: auto;
    width: min(84%, 470px);
    min-width: 0;
    margin: 0;
}

.property-detail-gallery .property-slider-nav .item {
    display: block;
    height: 58px;
    padding: 0;
    margin: 0 6px 0 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 8px;
    background: var(--detail-surface);
}

.property-detail-gallery .property-slider-nav .item:focus-visible,
.property-detail-gallery .property-slider-nav .item.slick-current {
    border-color: #216499;
    outline: none;
}

.property-detail-gallery .property-slider-nav .item::before {
    display: none;
}

.property-detail-gallery .property-slider-nav img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.property-detail-gallery-meta {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.property-detail-plan-download {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--detail-line);
    border-radius: 8px;
    color: var(--detail-link);
    text-decoration: none;
}

.property-detail-plan-download:hover {
    background: var(--detail-surface);
    text-decoration: none;
}

.property-detail-photo-count {
    flex: none;
    color: var(--detail-muted);
    font-size: 13px;
    white-space: nowrap;
}

.property-detail-photo-count .fa {
    margin-right: 3px;
}

.property-detail-panel {
    padding: 22px;
    overflow-wrap: anywhere;
}

.property-detail-panel h2,
.property-detail-related h2,
.property-detail-points summary {
    margin: 0 0 15px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.property-detail-price {
    display: grid;
    gap: 5px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--detail-line);
}

.property-detail-sidebar {
    grid-area: 1 / 2 / 3 / 3;
    display: grid;
    min-width: 0;
    gap: 16px;
}

.property-detail-price-comparison {
    border-color: #c9dcee;
    background: linear-gradient(145deg, #edf5fc, #fff 72%);
}

.property-detail-price-comparison h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    font-size: 18px;
}

.property-detail-price-comparison h2 .fa {
    display: grid;
    flex: none;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #dceafa;
    color: var(--detail-link);
    font-size: 15px;
}

.property-detail-price-comparison-result {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    background: #e4eff9;
    color: var(--detail-link);
    font-size: 13px;
}

.property-detail-price-comparison dl {
    display: grid;
    margin: 12px 0 10px;
    border: 1px solid var(--detail-line);
    border-radius: 9px;
    background: #fff;
}

.property-detail-price-comparison dl div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px 12px;
    padding: 8px 10px;
}

.property-detail-price-comparison dl div + div {
    border-top: 1px solid var(--detail-line);
}

.property-detail-price-comparison dt,
.property-detail-price-comparison p {
    color: var(--detail-muted);
    font-size: 13px;
    line-height: 1.5;
}

.property-detail-price-comparison dd {
    margin: 0;
    font-weight: 700;
}

.property-detail-price-comparison p {
    margin: 6px 0 0;
}

.property-detail-price-comparison details {
    margin-top: 10px;
    color: var(--detail-link);
    font-size: 13px;
}

.property-detail-price-comparison summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
}

.property-detail-price-comparison summary::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.property-detail-price-comparison details[open] summary::after {
    transform: rotate(225deg);
}

.property-detail-price strong {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.property-detail-price span,
.property-detail-agent a {
    font-size: 14px;
    line-height: 1.4;
}

.property-detail-price span {
    color: var(--detail-muted);
}

.property-detail-expenses {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
}

.property-detail-expenses .property-detail-unreported {
    display: flex;
}

.property-detail-agent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
}

.property-detail-agent img {
    width: 52px;
    height: 52px;
    flex: none;
    border: 1px solid var(--detail-line);
    border-radius: 10px;
    object-fit: cover;
}

.property-detail-agent strong,
.property-detail-agent-location,
.property-detail-agent a {
    display: block;
}

.property-detail-agent strong {
    font-size: 16px;
    line-height: 1.35;
}

.property-detail-agent-location {
    margin: 3px 0;
    color: var(--detail-muted);
    font-size: 13px;
}

.property-detail-agent a,
.property-detail-location a {
    color: var(--detail-link);
}

.property-detail-actions {
    display: grid;
    gap: 8px;
}

.property-detail-contact-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.property-detail-price-alert {
    margin: 0;
}

.property-detail .property-detail-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #b9cddd;
    border-radius: 9px;
    background: #fff;
    color: var(--detail-link);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
}

.property-detail .property-detail-button:hover {
    border-color: #216499;
    background: var(--detail-surface);
}

.property-detail .property-detail-contact-icon {
    width: 44px;
    min-height: 44px;
    padding: 0;
    font-size: 18px;
    text-decoration: none;
}

.property-detail .property-detail-heading-actions .property-detail-button,
.property-detail .property-detail-map-link {
    display: inline-flex;
    width: auto;
    text-decoration: none;
}

.property-detail .property-detail-heading-tools .property-detail-button {
    min-height: 38px;
    padding: 7px 10px;
    gap: 6px;
    font-size: 13px;
    white-space: nowrap;
}

.property-detail-heading-actions .fa,
.property-detail-map-link .fa {
    font-size: 13px;
}

.property-detail .property-detail-button-primary,
.property-detail .property-detail-contact-icons .property-detail-button {
    border-color: var(--detail-link);
    background: var(--detail-link);
    color: #fff;
}

.property-detail .property-detail-button-primary:hover,
.property-detail .property-detail-contact-icons .property-detail-button:hover,
.property-detail .property-detail-contact-icons .property-detail-button:focus-visible {
    border-color: #103b62;
    background: #103b62;
    color: #fff;
}

.property-detail .property-detail-contact-icons .property-detail-button:focus-visible {
    outline: 2px solid var(--detail-link);
    outline-offset: 2px;
}

.property-detail .property-detail-button:disabled {
    cursor: wait;
    opacity: .7;
}

.property-detail .property-detail-edit {
    margin-top: 12px;
    text-decoration: none;
}

.property-detail-information {
    grid-area: 2 / 1 / 3 / 2;
    display: grid;
    min-width: 0;
    gap: 16px;
}

.property-detail-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    margin: 0;
}

.property-detail-metrics > div {
    padding: 10px 12px;
    border-radius: 9px;
    background: var(--detail-surface);
}

.property-detail-metrics > .property-detail-field-empty {
    background: #f8fafc;
    box-shadow: inset 0 0 0 1px var(--detail-line);
}

.property-detail-metrics dt,
.property-detail-location dt {
    color: var(--detail-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.property-detail-metrics dd {
    margin: 3px 0 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.property-detail .property-detail-missing {
    color: var(--detail-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.property-detail .property-detail-unreported-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--detail-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    white-space: normal;
}

.property-detail-unreported-label::before {
    content: "";
    flex: 0 0 8px;
    height: 1px;
    background: #697d90;
}

.property-detail-location.property-detail-description-fields {
    grid-template-columns: minmax(0, 1fr);
}

.property-detail-description-fields .property-detail-field-value {
    line-height: 1.7;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.property-detail-block-title {
    margin: 16px 0 7px;
    font-size: 14px;
    font-weight: 700;
}

.property-detail-video {
    margin-bottom: 16px;
}

.property-detail-video .property-detail-block-title {
    margin-top: 0;
}

.property-detail-feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 152px), 1fr));
}

.property-detail-feature-grid dd {
    font-size: 14px;
}

.property-detail-placeholder {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 8px;
    width: min(100%, 320px);
    aspect-ratio: 1;
    padding: 14px;
    border: 1px dashed var(--detail-line);
    border-radius: 10px;
    background: var(--detail-surface);
    color: var(--detail-muted);
    text-align: center;
    font-size: 14px;
}

.property-detail-placeholder .fa {
    font-size: 27px;
}

.property-detail-gallery-empty {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    padding: 14px;
    background: #e5ecf3;
}

.property-detail-gallery-empty .property-detail-placeholder {
    width: min(100%, 180px, 35vw);
}

.property-detail-map-empty {
    margin: 14px 0 0;
    padding: 13px;
    border-radius: 8px;
    background: var(--detail-surface);
}

.property-detail-amenities {
    display: grid;
    gap: 12px;
}

.property-detail-amenities h3 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.property-detail-amenity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.property-detail-amenity {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1px 5px;
    max-width: 100%;
    padding: 3px 8px;
    border: 1px solid var(--detail-line);
    border-radius: 6px;
    background: #f8fafc;
    color: var(--detail-muted);
    font-size: 13px;
    line-height: 1.4;
}

.property-detail-amenity-reported {
    background: var(--detail-surface);
    color: var(--detail-ink);
    font-weight: 600;
}

.property-detail-amenity-reported .fa {
    color: var(--detail-link);
    font-size: 11px;
}

.property-detail #location {
    scroll-margin-top: 100px;
}

.property-detail-location-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 15px;
}

.property-detail-location-header h2 {
    margin: 0;
}

.property-detail-location {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px 20px;
    margin: 0;
}

.property-detail-location dd {
    margin: 2px 0 0;
    line-height: 1.45;
}

.property-detail #propertyMap-container {
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid var(--detail-line);
    border-radius: 10px;
}

.property-detail .property-detail-map-link {
    margin-left: auto;
}

.property-detail .responsive-iframe {
    overflow: hidden;
    border-radius: 10px;
}

.property-detail-points summary {
    margin: 0;
    cursor: pointer;
}

.property-detail-points-note {
    margin: 6px 0 0;
    color: var(--detail-muted);
    font-size: 13px;
}

.property-detail-points ul {
    max-height: 320px;
    overflow: auto;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.property-detail-points li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--detail-line);
    font-size: 14px;
    line-height: 1.5;
}

.property-detail-points li span:last-child {
    flex: none;
    color: var(--detail-muted);
}

.property-detail-enquiry {
    position: relative;
    box-sizing: border-box;
    width: min(100%, 450px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    margin: 12px auto;
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    text-align: left;
}

.property-detail-enquiry h2 {
    margin-bottom: 10px;
    padding-right: 38px;
    font-size: 20px;
}

.property-detail-enquiry-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--detail-line);
    border-radius: 8px;
    background: var(--detail-surface);
    color: var(--detail-link);
    cursor: pointer;
}

.property-detail-enquiry-close:hover {
    background: #e4edf5;
}

.property-detail #formConsulta {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 8px 10px;
    margin: 0;
}

.property-detail-form-wide {
    grid-column: 1 / -1;
}

.property-detail-form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px 12px;
}

.property-detail .property-detail-form-footer .property-detail-button {
    flex: 1 1 136px;
    width: auto;
    min-height: 38px;
    padding: 7px 10px;
}

.property-detail-form-field label {
    display: block;
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.property-detail .property-detail-form-field input,
.property-detail .property-detail-form-field textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 7px 9px;
    border: 1px solid #b9cddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    color: var(--detail-ink);
    font-size: 15px;
}

.property-detail .property-detail-form-field input {
    height: 38px;
}

.property-detail .property-detail-form-field textarea {
    min-height: 64px;
    resize: vertical;
}

.property-detail .property-detail-form-field input:focus,
.property-detail .property-detail-form-field textarea:focus {
    border-color: #216499;
    outline: 2px solid #216499;
    outline-offset: 1px;
}

.property-detail-form-field .field-validation-error {
    color: #a33b3b;
    font-size: 13px;
    line-height: 1.4;
}

.property-detail-form-field .field-validation-valid {
    display: none;
}

.property-detail-related {
    margin-top: 28px;
}

@media (max-width: 767px) {
    .property-detail {
        padding: 18px 0 28px;
    }

    .property-detail-heading {
        margin-bottom: 16px;
    }

    .property-detail-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        gap: 14px;
    }

    .property-detail-grid > * {
        grid-area: auto;
    }

    .property-detail-panel {
        padding: 16px;
    }

    .property-detail-information,
    .property-detail-sidebar {
        gap: 14px;
    }

    .property-detail-gallery .property-slider-nav .item {
        height: 45px;
    }

    .property-detail-metrics {
        grid-template-columns: repeat(auto-fit, minmax(103px, 1fr));
    }
}
