.property-page {
    max-width: none;
    padding: 20px 0 0;
    background: var(--color-white);
}

.property-hero {
    margin: 0 0 26px;
    padding: 0;
}

.property-breadcrumb {
    position: sticky;
    top: var(--site-header-height, 65px);
    z-index: 700;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: -8px -8px 16px;
    padding: 8px;
    background: var(--color-white);
    font-size: 13px;
    color: var(--color-muted);
}

.admin-bar .property-breadcrumb {
    top: calc(var(--site-header-height, 65px) + 32px);
}

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

@media (max-width: 782px) {
    .admin-bar .property-breadcrumb {
        top: calc(var(--site-header-height, 65px) + 46px);
    }
}

.property-breadcrumb a:hover {
    color: var(--color-text);
    text-decoration: underline;
}

.property-hero-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-lg);
    align-items: start;
}

.property-hero h1 {
    font-family: "Cinzel", Georgia, serif;
    font-weight: 400;
    margin: 0;
    color: var(--color-text);
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.04;
    letter-spacing: 0;
}

.property-favorite-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    overflow: hidden;
    border: 1px solid rgba(45, 28, 15, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 8px 20px rgba(45, 28, 15, .08);
    color: var(--color-text);
    font-size: 0;
    font-weight: 850;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.property-favorite-toggle:hover {
    background: var(--color-white);
    box-shadow: 0 10px 24px rgba(45, 28, 15, .13);
    color: #c84a3f;
    transform: scale(1.04);
}

.property-favorite-toggle span {
    color: #9b2f24;
    font-size: 17px;
    line-height: 1;
}

.property-favorite-toggle strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.property-favorite-toggle.is-active span {
    color: #c84a3f;
}

.property-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.interest-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 8px 4px;
    border: 0;
    border-bottom: 2px solid var(--color-text);
    background: transparent;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.2;
}

.property-content-layout {
    max-width: var(--container);
    margin: 36px auto 0;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 52px;
    align-items: start;
}

.property-main-info {
    min-width: 0;
}

.property-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 30px;
    padding: 18px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding-right: 16px;
    color: var(--color-text);
    font-size: 15px;
}

.summary-item svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    stroke: var(--color-primary);
}

.summary-item div {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.summary-item small {
    color: var(--color-muted);
    font-size: 12px;
}

.property-description {
    max-width: 760px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 17px;
    line-height: 1.72;
}

.property-description h2,
.property-section h2,
.property-map h2,
.nearby-places h2 {
    font-family: "Cinzel", Georgia, serif;
    font-weight: 400;
    margin: 0;
    color: var(--color-text);
    font-size: 24px;
    line-height: 1.2;
}

.desc-short {
    margin: 14px 0 0;
    font-size: 17px;
}

.desc-full {
    margin-top: var(--space-sm);
}

.desc-toggle {
    display: inline-flex;
    margin-top: 15px;
    padding: 0;
    border: none;
    background: none;
    color: var(--color-text);
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline;
}

.property-section {
    max-width: 820px;
    margin-top: 34px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--color-border);
}

.property-section-heading {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    align-items: end;
    margin-bottom: 18px;
}

.property-section-heading span {
    color: var(--color-muted);
    font-size: 14px;
    white-space: nowrap;
}

.property-tour-section {
    margin: 0 0 34px;
    padding: 0 0 34px;
    border-bottom: 1px solid var(--color-border);
}

.property-tour-section summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0;
    color: var(--color-text);
    cursor: pointer;
    font-family: "Cinzel", Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    list-style: none;
}

.property-tour-section summary::-webkit-details-marker {
    display: none;
}

.property-tour-section summary:hover > span:first-child {
    text-decoration: underline;
}

.property-tour-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-end;
}

.property-tour-filter {
    padding: 8px 4px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--color-muted);
    cursor: pointer;
    font-size: 14px;
}

.property-tour-filter:hover,
.property-tour-filter.active {
    border-bottom-color: var(--color-text);
    color: var(--color-text);
}

.property-tour-grid {
    display: grid;
    margin-top: 18px;
}

.property-tour-grid.has-one-item {
    max-width: 100%;
}

.property-tour-item {
    min-width: 0;
}

.property-tour-frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 8px;
    background: var(--color-soft);
}

.amenities-grid,
.allowed-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.amenity-item,
.allowed-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    color: var(--color-text);
    font-size: 15px;
}

.amenity-item svg,
.allowed-item svg {
    flex: 0 0 auto;
    width: 21px;
    height: 21px;
    stroke: var(--color-primary);
}

.is-allowed svg {
    stroke: #16803c;
}

.is-not-allowed {
    color: var(--color-muted);
}

.is-not-allowed svg {
    stroke: #b3261e;
}

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

.property-review-card {
    display: grid;
    gap: 9px;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-soft);
}

.property-review-card strong {
    display: block;
    color: #9a5a18;
    letter-spacing: 1px;
}

.property-review-card span {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

.property-review-card p,
.property-review-empty {
    margin: 0;
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.55;
}

.property-review-empty {
    color: var(--color-muted);
}

.property-booking-box {
    position: sticky;
    top: 72px;
    max-height: calc(100vh - 72px);
    overflow: hidden;
}

.nearby-places {
    margin-top: 18px;
    display: flex;
    min-height: 0;
    max-height: max(260px, calc(100vh - 348px));
    flex-direction: column;
}

.nearby-places-head {
    margin-bottom: 12px;
}

.nearby-places h2 {
    margin: 0;
    font-size: 20px;
}

.nearby-distance-filter {
    display: grid;
    gap: 6px;
}

.nearby-distance-filter label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.nearby-distance-filter span {
    color: var(--color-muted);
    font-size: 12px;
}

.nearby-distance-filter strong {
    color: var(--color-text);
    font-size: 13px;
    font-weight: 850;
}

.nearby-distance-filter input[type="range"] {
    width: 100%;
    accent-color: var(--color-primary);
}

.nearby-place-list {
    display: grid;
    gap: 10px;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    padding-right: 4px;
    overscroll-behavior: contain;
}

.nearby-place-card {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    align-items: center;
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-text);
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nearby-place-card:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-soft);
    transform: translateY(-1px);
}

.nearby-place-card[hidden],
.nearby-empty-message[hidden] {
    display: none;
}

.nearby-empty-message {
    margin: 0;
    padding: 12px;
    border: 1px dashed var(--color-border);
    border-radius: 8px;
    color: var(--color-muted);
    font-size: 13px;
}

.nearby-place-image {
    width: 82px;
    height: 66px;
    border-radius: 7px;
    overflow: hidden;
    background: var(--color-soft);
}

.nearby-place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nearby-place-info strong {
    display: block;
    font-size: 14px;
    line-height: 1.25;
}

.nearby-place-info span {
    display: block;
    margin-top: 4px;
    color: var(--color-muted);
    font-size: 12px;
}

.property-map {
    max-width: 100%;
    position: relative;
    z-index: 1;
    margin: 42px 0 0;
    padding: 0;
}

.property-map-radius-control {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 450;
    width: min(240px, calc(100% - 24px));
    padding: 10px 12px;
    border: 1px solid rgba(45, 28, 15, .12);
    border-radius: 8px;
    background: rgba(255, 243, 233, .94);
    box-shadow: 0 10px 26px rgba(45, 28, 15, .12);
}

#map {
    width: 100%;
    height: 468px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-soft);
}

.property-map-marker {
    display: grid;
    place-items: center;
}

.property-map-marker span {
    display: block;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(45, 28, 15, .22);
}

.property-map-marker.is-stay span {
    width: 24px;
    height: 24px;
    border: 3px solid var(--color-white);
    background: #2D1C0F;
}

.property-map-marker.is-place span {
    width: 14px;
    height: 14px;
    border: 2px solid var(--color-white);
    background: #BB845D;
}

.property-map-marker.is-place.is-outside-radius span {
    background: rgba(124, 102, 84, .46);
    box-shadow: none;
}

.property-map-placeholder {
    display: grid;
    width: 100%;
    height: 324px;
    place-items: center;
    background: var(--color-soft);
    color: var(--color-muted);
    font-size: 15px;
    font-weight: 800;
}

.single-place .property-content-layout {
    margin-top: var(--space-xl);
}

.single-place .property-media {
    margin-bottom: var(--space-xl);
}

@media (max-width: 1020px) {
    .property-content-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .property-booking-box {
        position: static;
    }
}

@media (max-width: 760px) {
    .property-hero {
        padding: 0;
    }

    .property-hero-main {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .property-tour-section summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .property-tour-filters {
        justify-content: flex-start;
    }

    .property-content-layout {
        padding-right: var(--space-md);
        padding-left: var(--space-md);
    }

    .property-summary,
    .amenities-grid,
    .allowed-grid,
    .property-review-grid {
        grid-template-columns: 1fr;
    }

    .property-summary {
        gap: 14px;
    }

    .summary-item {
        padding-right: 0;
    }

    .property-section-heading {
        display: block;
    }

    .property-section-heading span {
        display: block;
        margin-top: 5px;
    }

    #map,
    .property-map-placeholder {
        height: 288px;
    }
}
