/* VARIABLES */

:root {
    --navbar-height: 90px;
    --page-top-gap: 10px;
    --property-content-width: 1280px;
    --color-primary: #018d71;
    --color-secondary: #feef10;
    --color-third: #3dc7ab;
    --color-raspberry: #b8325f;
    --color-text: #111111;
    --color-muted: rgba(17, 17, 17, .58);
    --color-surface: #ffffff;
    --color-background-soft: #f7f9f8;
    --color-border-soft: rgba(61, 199, 171, .16);
    --color-border-primary: rgba(1, 141, 113, .16);
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 14px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 46px rgba(1, 141, 113, .08);
    --shadow-card: 0 10px 30px rgba(17, 17, 17, .045);
    --shadow-card-hover: 0 16px 34px rgba(1, 141, 113, .18);
    --transition-fast: .18s ease;
    --transition-medium: .3s ease;
    --font-main: "Inter", Arial, sans-serif;
    --font-accent: "Bodoni Moda", Georgia, serif;
}



/* PAGE LAYOUT */

.property-page {
    padding: calc(var(--navbar-height) + var(--page-top-gap)) 0 42px;
    background: radial-gradient(circle at 12% 0%, rgba(61, 199, 171, .12), transparent 28rem), radial-gradient(circle at 88% 12%, rgba(238, 218, 6, .10), transparent 24rem), linear-gradient(180deg, #ffffff 0%, #f7f9f8 48%, #ffffff 100%);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: var(--fs-body);
}

.property-page *::after {
    box-sizing: border-box;
}

.property-page *::before {
    box-sizing: border-box;
}

.property-page * {
    box-sizing: border-box;
}

.property-detail {
    width: min(80vw, var(--property-content-width));
    margin-inline: auto;
}



/* NAVIGATION & FAVORITES */

.property-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 38px;
    margin: 0 0 14px;
    padding: 0 14px;
    border: 1px solid rgba(1, 141, 113, .18);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .88);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(17, 17, 17, .045);
    transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}

.property-back-link span {
    font-size: 18px;
    line-height: 1;
    transform: translateY(-1px);
}

.property-back-link:hover {
    color: var(--color-primary);
    text-decoration: none;
    border-color: rgba(1, 141, 113, .38);
    background: #ffffff;
    transform: translateX(-2px);
}

.property-favorite-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 8;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: transform .18s ease, opacity .18s ease;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.property-favorite-btn img {
    display: block;
    width: 20px;
    height: 20px;
    background: transparent;
    object-fit: contain;
    pointer-events: none;
}

.property-favorite-btn:hover {
    transform: scale(1.08);
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.property-favorite-btn:focus {
    transform: scale(1.08);
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.property-favorite-btn:active {
    transform: scale(.95);
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.property-favorite-btn.active {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.property-favorite-btn.active:hover {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.property-favorite-btn.active:focus {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}



/* GALLERY */

.property-media-shell {
    margin-bottom: 18px;
}

.property-media-grid {
    display: grid;
    grid-template-areas: "main thumb1 thumb2" "main thumb3 thumb4";
    grid-template-columns: 55% repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: 430px;
}

.property-media-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    background: #eef5f3;
    border: 1px solid rgba(1, 141, 113, .08);
    min-height: 209px;
    border-radius: 4px;
}

.property-media-main {
    position: relative;
    display: block;
    overflow: hidden;
    background: #eef5f3;
    border: 1px solid rgba(1, 141, 113, .08);
    grid-area: main;
    min-height: 430px;
    border-radius: 14px 4px 4px 14px;
}

.property-media-thumb:nth-of-type(2) {
    grid-area: thumb1;
}

.property-media-thumb:nth-of-type(3) {
    grid-area: thumb2;
    border-radius: 4px 14px 4px 4px;
}

.property-media-thumb:nth-of-type(4) {
    grid-area: thumb3;
}

.property-media-thumb:nth-of-type(5) {
    grid-area: thumb4;
    border-radius: 4px 4px 14px 4px;
}

.property-media-thumb img {
    width: 100%;
    height: 100%;
    transition: transform .45s ease, filter .45s ease;
}

.property-media-main img {
    width: 100%;
    height: 100%;
    transition: transform .45s ease, filter .45s ease;
}

.property-media-more {
    position: absolute;
    inset: auto 16px 16px auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 15px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .94);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 750;
}

.property-hidden-gallery {
    display: none;
}



/* HERO & PRICE */

.property-hero-row {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: start;
    gap: 32px;
    padding: 30px;
    margin-bottom: 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-xl);
}

.property-identity-card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--color-border-soft);
    backdrop-filter: blur(10px);
    min-height: 210px;
    padding: 26px 30px;
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.property-price-card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--color-border-soft);
    backdrop-filter: blur(10px);
    position: relative;
    min-height: 210px;
    padding: 24px;
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
}

.property-title {
    order: 1;
    margin: 0;
    max-width: 850px;
    font-family: var(--font-accent);
    font-size: var(--fs-title);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.045em;
    color: var(--color-text);
}

.titre {
    order: 1;
    margin: 0;
    max-width: 850px;
    font-family: var(--font-accent);
    font-size: var(--fs-title);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.045em;
    color: var(--color-text);
}

.localisation {
    order: 2;
    margin: 14px 0 0;
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--color-muted);
}

.property-location {
    order: 2;
    margin: 14px 0 0;
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--color-muted);
}

.property-badges {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 0;
}

.property-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 13px;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 800;
    letter-spacing: .45px;
    text-transform: uppercase;
}

.property-badge--luxury {
    background: rgba(238, 218, 6, .20);
    color: #7d7100;
}

.property-badge--exclusive {
    background: rgba(1, 141, 113, .11);
    color: var(--color-primary);
}

.reference {
    order: 4;
    margin: 8px 0 0;
    font-family: var(--font-main);
    font-size: var(--fs-small);
    color: var(--color-muted);
}

.property-reference {
    order: 4;
    margin: 8px 0 0;
    font-family: var(--font-main);
    font-size: var(--fs-small);
    color: var(--color-muted);
}

.reference strong {
    color: var(--color-text);
}

.property-reference strong {
    color: var(--color-text);
}

.property-summary-facts {
    order: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    color: var(--color-text);
}

.property-summary-facts span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    background: rgba(61, 199, 171, .11);
    color: var(--color-primary);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 700;
}

.favorite-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(1, 141, 113, .16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-body);
    color: var(--color-primary);
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.favorite-btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
    border-color: rgba(1, 141, 113, .34);
    box-shadow: 0 10px 24px rgba(1, 141, 113, .14);
}

.property-price-content {
    padding-right: 56px;
}

.property-price {
    margin: 0;
    font-family: var(--font-main);
    font-size: var(--fs-title);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--color-text);
}

.property-price-note {
    margin: 8px 0 0;
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--color-muted);
}

.property-fees-card {
    margin-top: 16px;
    padding: 14px 15px;
    border-radius: var(--radius-md);
    background: rgba(61, 199, 171, .08);
    border: 1px solid rgba(61, 199, 171, .13);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    color: rgba(17, 17, 17, .72);
}

.property-fees-card p {
    margin: 0 0 7px;
}

.property-fees-card p:last-child {
    margin-bottom: 0;
}

.property-hero-row .property-price-card {
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding-left: 28px;
    border-left: 1px solid var(--color-border-soft);
}

.property-hero-row .property-identity-card {
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: block;
}

.property-hero-row .property-favorite-btn {
    right: 0;
    top: 0;
}

.property-hero-row .property-price {
    overflow-wrap: anywhere;
}

.property-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    margin: 10px 0 0;
    color: var(--color-muted);
    font-size: var(--fs-body, 14px);
    line-height: 1.6;
}

.property-meta-line span {
    display: inline;
    min-height: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    color: inherit;
    font-size: inherit;
    font-weight: 500;
}

.property-meta-line span + span::before {
    content: "·";
    padding: 0 9px;
}

.property-summary-assets {
    color: var(--color-primary);
}

.property-meta-line:not(:has(span)) {
    display: none;
}

.property-hero-row .property-reference {
    margin-top: 16px;
}



/* BUTTONS */

.property-actions {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.property-actions--inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px 52px;
    align-items: stretch;
    gap: 10px;
}

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

.modern-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.modern-btn:hover {
    text-decoration: none;
}

.modern-btn--primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 12px 26px rgba(1, 141, 113, .22);
}

.modern-btn--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(1, 141, 113, .30);
}

.property-visit-btn {
    width: 100%;
    white-space: nowrap;
}

.modern-btn--secondary {
    background: rgba(255, 255, 255, .86);
    color: var(--color-text);
    border-color: rgba(1, 141, 113, .14);
}

.modern-btn--secondary:hover {
    color: var(--color-primary);
    border-color: rgba(1, 141, 113, .38);
    transform: translateY(-1px);
}

.modern-btn--icon {
    width: 52px;
    min-width: 52px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    font-size: var(--fs-body);
    font-weight: 900;
    color: var(--color-text);
    box-shadow: none;
}

.modern-btn--icon span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modern-btn--share {
    background: var(--white);
    border-color: var(--color-secondary);
    border-width: 3px;
    color: var(--color-secondary);
}

.modern-btn--share:hover {
    background: var(--color-secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.modern-btn--print {
    background: var(--white);
    border-color: var(--color-raspberry);
    border-width: 3px;
    color: var(--color-raspberry);
}

.modern-btn--print:hover {
    background: var(--color-raspberry);
    color: var(--white);
    transform: translateY(-2px);
}



/* GENERIC SECTIONS */

.property-section-card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--color-border-soft);
    backdrop-filter: blur(10px);
    margin-bottom: 18px;
    padding: 28px;
    border-radius: var(--radius-xl);
}

.property-section-heading {
    margin-bottom: 20px;
}

.property-section-kicker {
    margin: 0 0 8px;
    color: var(--color-primary);
    font-family: var(--font-accent);
    font-size: var(--fs-small);
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.property-section-heading h2 {
    margin: 0;
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    font-weight: 600;
    letter-spacing: -.035em;
    color: var(--color-text);
}

.property-section-heading h3 {
    margin: 0;
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    font-weight: 600;
    letter-spacing: -.035em;
    color: var(--color-text);
}



/* DESCRIPTION & CONTACT */

.property-description-layout {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 2.15fr) minmax(285px, .85fr);
    align-items: start;
    gap: 30px;
    margin-bottom: 22px;
}

.property-contact-card {
    min-width: 0;
    margin: 0;
    border-radius: var(--radius-md);
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color-primary);
    color: var(--color-surface);
    border: 1px solid rgba(1, 141, 113, .18);
    box-shadow: 0 14px 34px rgba(1, 141, 113, .12);
}

.property-description-card {
    min-width: 0;
    margin: 0;
    flex-direction: column;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    align-self: start;
    padding-top: 2px;
}

.property-description-card .property-section-heading {
    align-items: center;
    gap: 20px;
    display: block;
    margin-bottom: 12px;
}

.property-description-card .property-section-heading::after {
    flex: 1;
    height: 1px;
    margin-left: 8px;
    background: linear-gradient( to right, rgba(1, 141, 113, .22), rgba(1, 141, 113, 0) );
    content: none;
}

.property-description-card .property-section-heading h2 {
    flex: 0 0 auto;
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-accent);
    font-weight: 600;
    letter-spacing: -.03em;
    font-size: clamp(24px, 1.7vw, 30px);
    line-height: 1.08;
}

.property-description-toggle {
    flex: 1;
    flex-direction: column;
    min-width: 0;
    display: block;
}

.property-description-short {
    margin: 0;
    color: rgba(17, 17, 17, .72);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.72;
    white-space: pre-line;
}

.property-description-full p {
    margin: 0;
    color: rgba(17, 17, 17, .72);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.72;
    white-space: pre-line;
}

.property-description-full {
    display: none;
}

.property-description-toggle.is-expanded .property-description-short {
    display: none;
}

.property-description-toggle.is-expanded .property-description-full {
    display: block;
}

.property-toggle-btn {
    align-self: flex-start;
    margin: 24px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-primary);
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.3;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    cursor: pointer;
    transition: color var(--transition-fast), transform var(--transition-fast);
    margin-top: 13px;
    font-size: 12px;
}

.property-toggle-btn:focus-visible {
    color: var(--color-raspberry);
    transform: translateX(2px);
    outline-offset: 5px;
    outline: 2px solid var(--color-primary);
}

.property-toggle-btn:hover {
    color: var(--color-raspberry);
    transform: translateX(2px);
    outline: none;
}

.property-contact-main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    padding: 18px 20px 20px;
}

.property-contact-kicker {
    color: var(--color-secondary);
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 600;
    margin: 0 0 5px;
    font-size: 13px;
    line-height: 1.25;
}

.property-contact-card h2 {
    color: var(--color-surface);
    font-family: var(--font-accent);
    font-weight: 600;
    letter-spacing: -.03em;
    margin: 0 0 7px;
    font-size: clamp(22px, 1.55vw, 28px);
    line-height: 1.05;
}

.property-contact-text {
    color: rgba(255, 255, 255, .82);
    font-family: var(--font-main);
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.45;
}

.property-contact-phone {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .10);
    color: var(--color-surface);
    text-decoration: none;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
    min-height: 40px;
    margin-bottom: 0;
    padding: 8px 11px;
    gap: 10px;
}

.property-contact-phone:focus-visible {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .48);
    color: var(--color-surface);
    text-decoration: none;
    transform: translateY(-1px);
    outline: none;
}

.property-contact-phone:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .48);
    color: var(--color-surface);
    text-decoration: none;
    transform: translateY(-1px);
    outline: none;
}

.property-contact-phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-primary);
    font-family: var(--font-main);
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    font-size: .85rem;
}

.property-contact-phone-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.property-contact-phone-content > span {
    margin-bottom: 2px;
    color: rgba(255, 255, 255, .68);
    font-family: var(--font-main);
    font-size: .78rem;
    font-weight: 500;
}

.property-contact-phone-content strong {
    overflow: hidden;
    color: var(--color-surface);
    font-family: var(--font-main);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.property-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    margin-top: auto;
    padding: 11px 18px;
    border: 1px solid var(--color-surface);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    color: var(--color-primary);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(17, 17, 17, .08);
    transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.property-contact-button span {
    transition: transform var(--transition-fast);
}

.property-contact-button:focus-visible {
    border-color: var(--color-secondary);
    background: var(--color-secondary);
    color: var(--color-text);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(17, 17, 17, .12);
    outline: none;
}

.property-contact-button:hover {
    border-color: var(--color-secondary);
    background: var(--color-secondary);
    color: var(--color-text);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(17, 17, 17, .12);
    outline: none;
}

.property-contact-button:focus-visible span {
    transform: translateX(3px);
}

.property-contact-button:hover span {
    transform: translateX(3px);
}

.property-partners-disclaimer {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    background: rgba(0, 0, 0, .09);
    padding: 12px 20px 14px;
}

.property-partners-disclaimer p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-family: var(--font-main);
    font-size: 11px;
    line-height: 1.4;
}

.property-partners-disclaimer strong {
    color: rgba(255, 255, 255, .90);
    font-weight: 600;
}

.property-description-text {
    margin: 0;
    color: rgba(17, 17, 17, .72);
    font-family: var(--font-main);
    white-space: pre-line;
    overflow-wrap: anywhere;
    max-width: 100%;
    font-size: 13px;
    line-height: 1.72;
}

.property-description-text.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 11;
    max-height: calc(11 * 1.72em);
}

.property-toggle-btn[hidden] {
    display: none !important;
}

.property-contact-card .property-contact-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px 36px;
    align-items: stretch;

    gap: 6px;
    margin-top: 8px;
    padding-top: 0;
}

.property-contact-card .property-contact-actions > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    height: 36px;
    min-height: 36px;

    margin: 0;
    padding: 0;

    border-radius: 7px;
    box-shadow: none;

    cursor: pointer;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.property-contact-card .property-contact-actions .property-contact-button {
    padding-inline: 8px;

    border: 1px solid #fff;
    background: #fff;
    color: var(--color-primary);

    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
}

.property-contact-card .property-contact-actions .property-contact-button:hover {
    background: #edf7f4;
    border-color: #edf7f4;
}

.property-contact-card .property-contact-actions .modern-btn--icon {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, .4);
    background: transparent;
    color: #fff;

    font-size: 16px;
    line-height: 1;
}

.property-contact-card .property-contact-actions .modern-btn--icon:hover {
    background: rgba(255, 255, 255, .14);
    border-color: #fff;
}

.property-contact-card .property-contact-actions > button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.property-team-photo {
    display: block;
    width: 100%;
    height: 128px;

    object-fit: cover;
    object-position: center top;
}



/* ENVIRONMENT & NEIGHBORHOOD */

.property-neighborhood-card {
    overflow: hidden;
}

.property-neighborhood-intro {
    max-width: 820px;
    margin: 0;
    color: rgba(17, 17, 17, .66);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.65;
}

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

.property-neighborhood-item {
    display: flex;
    gap: 14px;
    min-width: 0;
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(61, 199, 171, .14);
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 249, 248, .94));
    box-shadow: 0 10px 24px rgba(17, 17, 17, .035);
    overflow-wrap: anywhere;
}

.property-neighborhood-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(1, 141, 113, .10);
    color: var(--color-primary);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 900;
    line-height: 1;
}

.property-neighborhood-item h3 {
    margin: 0 0 7px;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 850;
    line-height: 1.25;
}

.property-neighborhood-item p {
    margin: 0;
    color: rgba(17, 17, 17, .62);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 650;
    line-height: 1.45;
}

.property-neighborhood-item.is-found p {
    color: var(--color-primary);
}

.property-neighborhood-item.is-empty p {
    color: rgba(17, 17, 17, .48);
}

.property-neighborhood-note {
    margin: 18px 0 0;
    color: rgba(17, 17, 17, .52);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    line-height: 1.55;
}


.property-neighborhood-more {
    display: inline-flex;
    align-items: center;
    width: fit-content;

    margin-top: 18px;

    color: var(--color-primary);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 750;
    text-decoration: none;

    transition:
        color var(--transition-fast),
        transform var(--transition-fast);
}

.property-neighborhood-more span {
    display: inline-block;
    transition: transform var(--transition-fast);
}

.property-neighborhood-more:hover {
    color: var(--color-raspberry);
    text-decoration: none;
    transform: translateX(2px);
    outline: none;
}

.property-neighborhood-more:focus-visible {
    color: var(--color-raspberry);
    text-decoration: none;
    transform: translateX(2px);
    outline: none;
}

.property-neighborhood-more:focus-visible span {
    transform: translateX(4px);
}

.property-neighborhood-more:hover span {
    transform: translateX(4px);
}

.property-environment-card .property-map-card {
    width: 100%;
}

.property-environment-card .property-map-card #map {
    width: 100%;
    height: 340px;
    min-height: 0;
}

.property-neighborhood-heading {
    margin-top: 32px;
}

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

.property-neighborhood-intro-layout:has(.property-neighborhood-intro-image) {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.property-neighborhood-intro-layout:has(.property-neighborhood-intro-image) .property-neighborhood-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-neighborhood-intro-layout > * {
    min-width: 0;
}

.property-neighborhood-intro-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.property-neighborhood-intro-image img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 640px) {
    .property-neighborhood-intro-layout:has(.property-neighborhood-intro-image) {
        grid-template-columns: minmax(0, 1fr);
    }

    .property-neighborhood-intro-layout:has(.property-neighborhood-intro-image) .property-neighborhood-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.property-environment-card .property-neighborhood-intro {
    max-width: none;
    white-space: pre-line;
}

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

.property-neighborhood-layout.has-photo {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.property-neighborhood-layout > * {
    min-width: 0;
}

.property-neighborhood-layout.has-photo .property-neighborhood-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-neighborhood-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0;
}

.property-neighborhood-photo img {
    object-fit: cover;
    width: 100%;
    height: 300px;
    display: block;
}

.property-neighborhood-heading h2 {
    text-transform: none;
}

.property-environment-card {
    margin-top: 0;
}

.property-neighborhood-layout:not(:has(.property-neighborhood-photo)) {
    grid-template-columns: minmax(0, 1fr);
}



/* PROPERTY INFORMATION */

.property-information-section {
    width: 100%;
    margin: 30px 0 18px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.property-energy-section {
    margin-bottom: 34px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

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

.property-energy-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
}

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

.property-energy-item h3 {
    margin: 0 0 14px;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 750;
    line-height: 1.35;
}

.property-energy-item img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: 230px;
    object-fit: contain;
    object-position: left center;
}

.property-energy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    margin-top: 18px;
}

.property-energy-meta p {
    margin: 0;
    color: rgba(17, 17, 17, .62);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.55;
}

.property-energy-meta strong {
    color: var(--color-text);
    font-weight: 750;
}

.property-details-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(61, 199, 171, .13);
    border-radius: var(--radius-lg);
    background: linear-gradient( 180deg, rgba(255, 255, 255, .94), rgba(247, 249, 248, .94) );
}

.property-rooms-column {
    min-width: 0;
    padding: 24px;
}

.property-features-column {
    min-width: 0;
    padding: 24px;
    border-left: 1px solid rgba(1, 141, 113, .16);
}

.property-features-column h3 {
    margin: 0 0 16px;
    color: var(--color-text);
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    font-weight: 600;
}

.property-rooms-column h3 {
    margin: 0 0 16px;
    color: var(--color-text);
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    font-weight: 600;
}

.property-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.property-room-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.property-room-building {
    min-width: 0;
}

.property-room-building h4,
.property-room-floor h5 {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-main);
    font-weight: 800;
    line-height: 1.25;
}

.property-room-building h4 {
    padding-bottom: 12px;
    font-size: var(--fs-body);
}

.property-room-floor {
    min-width: 0;
}

.property-room-floor + .property-room-floor {
    margin-top: 16px;
}

.property-room-floor h5 {
    padding: 0 0 6px;
    font-size: var(--fs-small);
}

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

.property-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    min-width: 0;
    padding: 11px 0;
    border-bottom: 1px solid rgba(1, 141, 113, .09);
    color: rgba(17, 17, 17, .62);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.42;
}

.property-list li:last-child {
    border-bottom: 0;
}

.property-list li > span {
    min-width: 0;
}

.property-list strong {
    min-width: 0;
    color: var(--color-text);
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
}

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

.property-features-grid li:nth-last-child(2):nth-child(odd) {
    border-bottom: 0;
}

.property-details-box--rooms-wide {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.property-details-box--rooms-wide .property-rooms-column .property-room-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 24px !important;
}

.property-details-box--rooms-wide .property-features-grid {
    grid-template-columns: minmax(0, 1fr);
}

.property-details-box--rooms-wide .property-features-grid li:nth-last-child(2):nth-child(odd) {
    border-bottom: 1px solid rgba(1, 141, 113, .09);
}

/* TAGS & NOTES */

.property-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.property-info-tag {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    background: rgba(61, 199, 171, .10);
    color: var(--color-primary);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 750;
}

.property-info-note {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 750;
    width: 100%;
    justify-content: flex-start;
    min-height: auto;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: rgba(238, 218, 6, .12);
    color: rgba(17, 17, 17, .72);
}

.property-risk-note .property-link {
    display: inline !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0;
    white-space: nowrap;
    color: var(--color-primary);
    font-family: var(--font-main);
    font-size: inherit;
    font-weight: 800;
    text-decoration: none;
}

.property-link:hover {
    color: var(--color-raspberry);
    text-decoration: none;
}

.property-risk-note {
    margin: 12px 0 0;
    color: rgba(17, 17, 17, .60);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    line-height: 1.55;
}



/* LOCATION */

.property-location-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
    gap: 18px;
    align-items: stretch;
}

.property-map-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.property-map-card {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(61, 199, 171, .14);
    box-shadow: 0 12px 30px rgba(17, 17, 17, .05);
}

.property-map-card #map {
    width: 100%;
    height: 100%;
    max-height: 250px;
}

.property-district-card {
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(61, 199, 171, .14);
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 249, 248, .94));
    box-shadow: 0 12px 30px rgba(17, 17, 17, .045);
}

.property-district-card__image {
    width: 100%;
    height: 46%;
    min-height: 170px;
    overflow: hidden;
    background: rgba(61, 199, 171, .10);
}

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

.property-district-card__content {
    padding: 18px;
}

.property-district-card__label {
    margin: 0 0 8px;
    color: var(--color-primary);
    font-family: var(--font-accent);
    font-size: var(--fs-small);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.property-district-card__content h3 {
    margin: 0 0 12px;
    color: var(--color-text);
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.property-district-card__content p {
    margin: 0;
    color: rgba(17, 17, 17, .66);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.65;
}

.property-local-area {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(61, 199, 171, .07);
    border: 1px solid rgba(61, 199, 171, .13);
}

.property-local-area__image img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    display: block;
}

.property-local-area__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.property-local-area__content h3 {
    margin: 0 0 12px;
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    font-weight: 600;
    color: var(--color-text);
}

.property-local-area__content h4 {
    margin: 0 0 12px;
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    font-weight: 600;
    color: var(--color-text);
}

.property-local-area__content p {
    margin: 0;
    color: rgba(17, 17, 17, .68);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.7;
}



/* AUTH POPUP */

.auth-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-popup.is-open {
    display: flex;
}

.auth-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, .42);
    backdrop-filter: blur(5px);
}

.auth-popup__card {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 24px;
    border-radius: var(--radius-xl);
    background: #ffffff;
    border: 1px solid rgba(1, 141, 113, .16);
    box-shadow: 0 24px 70px rgba(17, 17, 17, .20);
}

.auth-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: var(--radius-pill);
    background: rgba(1, 141, 113, .08);
    color: #111111;
    font-family: var(--font-main);
    font-size: var(--fs-subtitle);
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.auth-popup__close:hover {
    background: rgba(184, 50, 95, .10);
    transform: rotate(4deg);
}

.auth-popup__kicker {
    margin: 0 0 8px;
    color: var(--color-raspberry);
    font-family: var(--font-accent);
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.auth-popup__card h3 {
    margin: 0 0 10px;
    color: #111111;
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    line-height: 1.2;
    font-weight: 900;
}

.auth-popup__text {
    margin: 0;
    color: rgba(17, 17, 17, .68);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.55;
    font-weight: 500;
}

.auth-popup__actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.auth-popup__btn {
    min-height: 42px;
    padding: 0 16px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid transparent;
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 850;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.auth-popup__btn:hover {
    transform: translateY(-1px);
}

.auth-popup__btn-primary {
    flex: 1;
    background: var(--color-raspberry);
    border-color: var(--color-raspberry);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(184, 50, 95, .18);
}

.auth-popup__btn-primary:hover {
    background: #9f294f;
    border-color: #9f294f;
    color: #ffffff;
}

.auth-popup__btn-secondary {
    flex: 1;
    background: #ffffff;
    border-color: rgba(17, 17, 17, .14);
    color: #111111;
}

.auth-popup__btn-secondary:hover {
    border-color: rgba(1, 141, 113, .24);
    background: rgba(61, 199, 171, .08);
}

body.auth-popup-open {
    overflow: hidden;
}



/* LIGHTBOX */

#lightbox {
    z-index: 2000000;
}



/* RESPONSIVE */





















@media print {

    .property-favorite-btn {
        display: none !important;
    }
    .property-toggle-btn {
        display: none !important;
    }
    .property-description-text.is-collapsed {
        max-height: none;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }
    .property-contact-actions {
        display: none !important;
    }

}

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 641px) and (max-width: 1200px) {
.property-detail {
        width: min(92vw, 1180px);
    }

    .property-media-grid {
        min-height: 410px;
    }

    .property-media-main {
        min-height: 410px;
    }

    .property-media-thumb {
        min-height: 199px;
    }

    .property-map-card #map {
        min-height: 360px;
    }

.property-media-grid {
        grid-template-areas: "main main" "thumb1 thumb2" "thumb3 thumb4";
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: auto;
    }

    .property-media-main {
        min-height: 360px;
        border-radius: 12px 12px 4px 4px;
    }

    .property-media-thumb {
        min-height: 160px;
    }

    .property-media-thumb:nth-of-type(3) {
        border-radius: 4px;
    }

    .property-media-thumb:nth-of-type(5) {
        border-radius: 4px 4px 12px 4px;
    }

    .property-hero-row {
        gap: 24px;
        padding: 24px;
    }

    .property-description-layout {
        grid-template-columns: minmax(0, 1.65fr) minmax(270px, .85fr);
    }

    .property-description-toggle {
        max-width: 100%;
    }

    .property-contact-main {
        padding: 17px 18px 18px;
    }

    .property-neighborhood-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-energy-layout {
        gap: 28px;
    }

    .property-energy-item img {
        height: 205px;
    }

    .property-rooms-column {
        padding: 22px;
    }

    .property-features-column {
        padding: 22px;
    }

    .property-features-grid {
        column-gap: 24px;
    }

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

    .property-map-card #map {
        min-height: 340px;
    }

    .property-district-card {
        display: grid;
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .property-district-card__image {
        height: 100%;
        min-height: 220px;
    }

    .property-local-area {
        grid-template-columns: 1fr;
    }

    .property-local-area__image img {
        height: 250px;
    }

    .property-hero-row .property-price-card {
        padding-left: 20px;
    }

    .property-description-text {
        font-size: 12.5px;
    }

    .property-neighborhood-layout.has-photo {
        grid-template-columns: minmax(0, 1fr);
    }

    .property-neighborhood-photo img {
        height: 320px;
    }

    .property-team-photo {
        height: 84px;
    }

.property-page {
        padding: 14px 0 34px;
    }

    .property-detail {
        width: min(100% - 28px, 720px);
    }

    .property-back-link {
        margin-bottom: 12px;
    }

    .property-media-shell {
        margin-bottom: 16px;
    }

    .property-media-grid {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        scroll-snap-type: x mandatory;
        padding-bottom: 4px;
    }

    .property-media-main {
        flex: 0 0 84%;
        min-height: 260px;
        border-radius: var(--radius-lg);
        scroll-snap-align: start;
    }

    .property-media-thumb {
        flex: 0 0 84%;
        min-height: 260px;
        border-radius: var(--radius-lg);
        scroll-snap-align: start;
    }

    .property-hero-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding: 20px;
    }

    .property-price-card {
        padding: 18px;
        border-radius: var(--radius-lg);
        min-height: auto;
    }

    .property-section-card {
        padding: 18px;
        border-radius: var(--radius-lg);
    }

    .property-identity-card {
        padding: 18px;
        border-radius: var(--radius-lg);
        min-height: auto;
    }

    .property-title {
        line-height: 1.08;
    }

    .titre {
        line-height: 1.08;
    }

    .property-price-content {
        padding-right: 52px;
    }

    .property-actions--inline {
        grid-template-columns: minmax(0, 1fr) 48px 48px;
    }

    .modern-btn--icon {
        width: 48px;
        min-width: 48px;
    }

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

    .property-contact-card {
        width: 100%;
    }

    .property-description-short {
        line-height: 1.68;
    }

    .property-description-full p {
        line-height: 1.68;
    }

    .property-contact-main {
        padding: 20px;
    }

    .property-contact-kicker {
        font-size: 14px;
    }

    .property-contact-card h2 {
        font-size: 27px;
    }

    .property-contact-text {
        font-size: 13px;
    }

    .property-contact-button {
        margin-top: 8px;
    }

    .property-neighborhood-grid {
        grid-template-columns: 1fr;
    }

    .property-neighborhood-item {
        padding: 16px;
    }

    .property-energy-section {
        margin-bottom: 28px;
    }

    .property-energy-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .property-energy-item img {
        max-width: 460px;
        height: auto;
        max-height: 220px;
    }

    .property-energy-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .property-energy-item img {
        width: 100%;
        max-width: 460px;
        height: 205px;
        max-height: none;
    }

    .property-energy-meta {
        flex-direction: column;
        gap: 7px;
    }

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

    .property-details-box.property-details-box--rooms-wide {
        grid-template-columns: minmax(0, 1fr);
    }

    .property-features-column {
        border-left: 0;
        border-top: 1px solid rgba(1, 141, 113, .16);
    }

    .property-list li {
        display: block;
    }

    .property-list strong {
        display: block;
        margin-top: 4px;
        text-align: left;
    }

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

    .property-features-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 18px;
    }

    .property-features-grid li:nth-last-child(2):nth-child(odd) {
        border-bottom: 1px solid rgba(1, 141, 113, .09);
    }

    .property-info-note {
        border-radius: var(--radius-sm);
        padding: 12px 14px;
    }

    .property-info-tag {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px;
    }

    .property-map-card #map {
        min-height: 300px;
    }

    .property-district-card {
        display: block;
    }

    .property-district-card__image {
        height: 210px;
        min-height: 210px;
    }

    .property-district-card__content {
        padding: 16px;
    }

    .property-hero-row .property-price-card {
        padding: 22px 0 0;
        border-top: 1px solid var(--color-border-soft);
        border-left: 0;
    }

    .property-hero-row .property-favorite-btn {
        top: 22px;
    }

    .property-description-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .property-description-text.is-collapsed {
        -webkit-line-clamp: 8;
        max-height: calc(8 * 1.7em);
    }

    .property-environment-card .property-map-card #map {
        height: 260px;
    }

    .property-neighborhood-layout.has-photo .property-neighborhood-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .property-team-photo {
        height: 144px;
        object-position: center top;
    }
}

@media (max-width: 640px) {
.property-detail {
        width: min(92vw, 1180px);
    }

    .property-media-grid {
        min-height: 410px;
    }

    .property-media-main {
        min-height: 410px;
    }

    .property-media-thumb {
        min-height: 199px;
    }

    .property-map-card #map {
        min-height: 360px;
    }

.property-media-grid {
        grid-template-areas: "main main" "thumb1 thumb2" "thumb3 thumb4";
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: auto;
    }

    .property-media-main {
        min-height: 360px;
        border-radius: 12px 12px 4px 4px;
    }

    .property-media-thumb {
        min-height: 160px;
    }

    .property-media-thumb:nth-of-type(3) {
        border-radius: 4px;
    }

    .property-media-thumb:nth-of-type(5) {
        border-radius: 4px 4px 12px 4px;
    }

    .property-hero-row {
        gap: 24px;
        padding: 24px;
    }

    .property-description-layout {
        grid-template-columns: minmax(0, 1.65fr) minmax(270px, .85fr);
    }

    .property-description-toggle {
        max-width: 100%;
    }

    .property-contact-main {
        padding: 17px 18px 18px;
    }

    .property-neighborhood-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-energy-layout {
        gap: 28px;
    }

    .property-energy-item img {
        height: 205px;
    }

    .property-rooms-column {
        padding: 22px;
    }

    .property-features-column {
        padding: 22px;
    }

    .property-features-grid {
        column-gap: 24px;
    }

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

    .property-map-card #map {
        min-height: 340px;
    }

    .property-district-card {
        display: grid;
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .property-district-card__image {
        height: 100%;
        min-height: 220px;
    }

    .property-local-area {
        grid-template-columns: 1fr;
    }

    .property-local-area__image img {
        height: 250px;
    }

    .property-hero-row .property-price-card {
        padding-left: 20px;
    }

    .property-description-text {
        font-size: 12.5px;
    }

    .property-neighborhood-layout.has-photo {
        grid-template-columns: minmax(0, 1fr);
    }

    .property-neighborhood-photo img {
        height: 320px;
    }

    .property-team-photo {
        height: 84px;
    }

.property-page {
        padding: 14px 0 34px;
    }

    .property-detail {
        width: min(100% - 28px, 720px);
    }

    .property-back-link {
        margin-bottom: 12px;
    }

    .property-media-shell {
        margin-bottom: 16px;
    }

    .property-media-grid {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        scroll-snap-type: x mandatory;
        padding-bottom: 4px;
    }

    .property-media-main {
        flex: 0 0 84%;
        min-height: 260px;
        border-radius: var(--radius-lg);
        scroll-snap-align: start;
    }

    .property-media-thumb {
        flex: 0 0 84%;
        min-height: 260px;
        border-radius: var(--radius-lg);
        scroll-snap-align: start;
    }

    .property-hero-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding: 20px;
    }

    .property-price-card {
        padding: 18px;
        border-radius: var(--radius-lg);
        min-height: auto;
    }

    .property-section-card {
        padding: 18px;
        border-radius: var(--radius-lg);
    }

    .property-identity-card {
        padding: 18px;
        border-radius: var(--radius-lg);
        min-height: auto;
    }

    .property-title {
        line-height: 1.08;
    }

    .titre {
        line-height: 1.08;
    }

    .property-price-content {
        padding-right: 52px;
    }

    .property-actions--inline {
        grid-template-columns: minmax(0, 1fr) 48px 48px;
    }

    .modern-btn--icon {
        width: 48px;
        min-width: 48px;
    }

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

    .property-contact-card {
        width: 100%;
    }

    .property-description-short {
        line-height: 1.68;
    }

    .property-description-full p {
        line-height: 1.68;
    }

    .property-contact-main {
        padding: 20px;
    }

    .property-contact-kicker {
        font-size: 14px;
    }

    .property-contact-card h2 {
        font-size: 27px;
    }

    .property-contact-text {
        font-size: 13px;
    }

    .property-contact-button {
        margin-top: 8px;
    }

    .property-neighborhood-grid {
        grid-template-columns: 1fr;
    }

    .property-neighborhood-item {
        padding: 16px;
    }

    .property-energy-section {
        margin-bottom: 28px;
    }

    .property-energy-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .property-energy-item img {
        max-width: 460px;
        height: auto;
        max-height: 220px;
    }

    .property-energy-meta {
        flex-direction: column;
        gap: 7px;
    }

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

    .property-details-box.property-details-box--rooms-wide {
        grid-template-columns: minmax(0, 1fr);
    }

    .property-features-column {
        border-left: 0;
        border-top: 1px solid rgba(1, 141, 113, .16);
    }

    .property-list li {
        display: block;
    }

    .property-list strong {
        display: block;
        margin-top: 4px;
        text-align: left;
    }

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

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

    .property-features-grid li:nth-last-child(2):nth-child(odd) {
        border-bottom: 1px solid rgba(1, 141, 113, .09);
    }

    .property-info-note {
        border-radius: var(--radius-sm);
        padding: 12px 14px;
    }

    .property-info-tag {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px;
    }

    .property-map-card #map {
        min-height: 300px;
    }

    .property-district-card {
        display: block;
    }

    .property-district-card__image {
        height: 210px;
        min-height: 210px;
    }

    .property-district-card__content {
        padding: 16px;
    }

    .property-hero-row .property-price-card {
        padding: 22px 0 0;
        border-top: 1px solid var(--color-border-soft);
        border-left: 0;
    }

    .property-hero-row .property-favorite-btn {
        top: 22px;
    }

    .property-description-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .property-description-text.is-collapsed {
        -webkit-line-clamp: 8;
        max-height: calc(8 * 1.7em);
    }

    .property-environment-card .property-map-card #map {
        height: 260px;
    }

    .property-neighborhood-layout.has-photo .property-neighborhood-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .property-team-photo {
        height: 144px;
        object-position: center top;
    }

.property-description-card .property-section-heading::after {
        display: none;
    }

    .property-contact-text {
        margin-bottom: 20px;
    }

    .property-contact-card::before {
        left: 20px;
    }

.property-media-main {
        flex-basis: 88%;
        min-height: 250px;
    }

    .property-media-thumb {
        flex-basis: 88%;
        min-height: 250px;
    }

    .property-price-card {
        padding: 17px;
    }

    .property-section-card {
        padding: 17px;
    }

    .property-identity-card {
        padding: 17px;
    }

    .favorite-btn {
        top: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
        border-radius: var(--radius-md);
    }

    .property-price-content {
        padding-right: 48px;
    }

    .property-actions--inline {
        grid-template-columns: 1fr 46px 46px;
        gap: 8px;
    }

    .modern-btn {
        min-height: 46px;
    }

    .modern-btn--icon {
        width: 46px;
        min-width: 46px;
        height: 46px;
        min-height: 46px;
    }

    .property-rooms-column {
        padding: 20px 18px;
    }

    .property-features-column {
        padding: 20px 18px;
    }

    .property-list li {
        gap: 12px;
    }

    .property-map-card #map {
        min-height: 280px;
    }

.property-contact-card .property-contact-actions {
        grid-template-columns: minmax(0, 1fr) 40px 40px;
        gap: 6px;
    }
    .property-contact-card .property-contact-actions > button {
        height: 40px;
        min-height: 40px;
    }
    .property-contact-card .property-contact-actions .modern-btn--icon {
        height: 40px;
        min-height: 40px;
    }
}
