:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #172c28;
  background: #f3f6f3;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
.property-page { --office-accent: #16665b; max-width: 1140px; margin: auto; padding: 0 24px 48px; }
.property-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 750; }
.property-nav-section { font-weight: 500; color: #526862; margin-inline-start: 8px; }
.property-languages { position: relative; flex: none; }
.property-languages summary { cursor: pointer; }
.property-languages ul { position: absolute; inset-inline-end: 0; z-index: 5; margin: 8px 0; padding: 4px; width: max-content; max-height: min(60vh, 360px); overflow-y: auto; list-style: none; background: #fff; border: 1px solid #dce5df; border-radius: 8px; }
.property-languages a { display: block; padding: 8px 12px; text-decoration: none; }
.property-languages a[aria-current="page"] { background: #e1e9e3; }
.property-office { background: #fff; border-radius: 18px; border: 1px solid #dce5df; overflow: hidden; }
.property-cover { width: 100%; height: clamp(150px, 27vw, 330px); object-fit: cover; display: block; }
.property-office-info { display: flex; gap: 18px; align-items: center; padding: clamp(18px, 4vw, 34px); border-block-start: 5px solid var(--office-accent); }
.property-logo { width: 76px; height: 76px; object-fit: cover; border-radius: 14px; }
h1 { font-size: clamp(1.65rem, 4.2vw, 3rem); margin: 4px 0 14px; line-height: 1.1; overflow-wrap: anywhere; }
h2 { font-size: 1.12rem; margin: 5px 0; overflow-wrap: anywhere; }
p { margin: 6px 0; }
.property-kind, .property-location { color: #526862; font-size: .91rem; }
.property-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 15px; border-radius: 8px; border: 1px solid #176054; color: #fff; background: #176054; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.property-button.secondary { color: #164c42; background: #fff; }
.property-button[aria-pressed="true"] { color: #fff; background: #176054; }
.property-contact, .property-views { display: flex; flex-wrap: wrap; gap: 8px; }
.property-views { margin: 14px 0; }
.property-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.property-filters label, .property-filters select { flex: 1 1 115px; }
.property-filters label { display: grid; gap: 3px; font-size: .85rem; }
.property-page input, .property-page select, .property-page textarea { width: 100%; min-width: 0; min-height: 44px; padding: 8px; border: 1px solid #a8b9b0; border-radius: 8px; background: #fff; color: inherit; font: inherit; }
.property-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 240px),1fr)); gap: 16px; margin-bottom: 16px; }
.property-card { overflow: hidden; background: #fff; border: 1px solid #dce5df; border-radius: 14px; }
.property-card-link { display: block; height: 100%; text-decoration: none; }
.property-card-image { display: block; width: 100%; aspect-ratio: 1.62; object-fit: cover; background: #dce5df; }
.property-card-body { padding: 14px; }
.property-price { font-size: 1.25rem; font-weight: 750; text-align: start; }
[dir="rtl"] .property-price { text-align: right; }
.property-map { height: clamp(320px, 55vh, 560px); background: #e1e9e3; border-radius: 12px; margin-bottom: 16px; }
.property-pin { width: 38px; height: 38px; border-radius: 50%; background: #176054; border: 2px solid white; color: white; display: grid; place-items: center; font: 700 1.1rem system-ui, sans-serif; cursor: pointer; }
.property-back { display: inline-block; margin-block: 4px 14px; color: #164c42; }
.property-detail { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(235px,1fr); gap: 20px; }
.property-gallery { display: grid; gap: 9px; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 16px; }
.property-gallery img { display: block; border-radius: 10px; width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.property-gallery img:first-child { grid-column: 1 / -1; }
.property-description { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 18px; }
.property-inquiry { align-self: start; background: #fff; border: 1px solid #dce5df; border-radius: 14px; padding: 20px; }
.property-inquiry .property-contact { margin-top: 14px; }
.property-viewing-form, [data-viewing-actions] { display: grid; gap: 10px; margin-top: 16px; }
.property-viewing-form label { display: grid; gap: 3px; font-size: .9rem; }
.property-feedback, [data-viewing-feedback] { color: #164c42; overflow-wrap: anywhere; }
.property-empty { background: #fff; padding: 24px; border-radius: 12px; }
@media (max-width: 690px) {
  .property-page { padding-inline: 14px; }
  .property-detail { grid-template-columns: 1fr; }
  .property-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%, 200px),1fr)); }
}
