/* Property sales extension. The existing site's stylesheet is preserved. */
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 5px;
}
.skip-link {
  position: fixed; top: -90px; left: 16px; z-index: 200;
  padding: 12px 20px; background: var(--text); color: #fff; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
#property-sourcing-sales { scroll-margin-top: 110px; }
.card h3 a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.sales-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: stretch; }
.sales-hero .panel { display: flex; flex-direction: column; justify-content: center; }
.sales-hero .panel h1 { max-width: 680px; }
.sales-location {
  margin: 0; min-height: 360px; border-radius: var(--radius); overflow: hidden;
  position: relative; background: #79766c;
}
.sales-location img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.sales-location figcaption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 48px 28px 24px;
  background: linear-gradient(transparent, rgba(20,18,15,.8)); color: white;
}
.sales-location figcaption strong { display: block; font-family: Georgia, serif; font-size: 1.75rem; }
.sales-location figcaption span { font-size: .95rem; }
.catalogue-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.catalogue-heading p, .catalogue-heading h2 { margin-bottom: 0; }
.property-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; align-items: end; margin-bottom: 28px; }
.property-filters label { font-size: .87rem; }
.property-filters .btn { min-height: 50px; padding: 0 18px; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.property-card { border-radius: var(--radius); overflow: hidden; background: var(--surface-strong); box-shadow: var(--shadow); border: 1px solid var(--line); }
.property-card-media { display: block; aspect-ratio: 4/3; position: relative; overflow: hidden; }
.property-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.property-card-media:hover img { transform: scale(1.035); }
.property-status { display: inline-block; background: #f9f6f0; color: #3e4936; border: 1px solid rgba(0,0,0,.08); border-radius: 99px; padding: 6px 12px; font-size: .78rem; font-weight: 700; }
.property-card-media .property-status { position: absolute; top: 14px; left: 14px; }
.status-reserved { color: #715021; background: #fff2d9; }
.status-sold { color: #514c47; background: #eeeae5; }
.property-card-copy { padding: 24px; }
.property-location { text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; margin-bottom: 10px; color: var(--accent-dark); font-weight: 700; }
.property-card-copy h3 { font-family: Georgia, serif; font-size: 1.5rem; line-height: 1.22; }
.property-price { display: block; font-size: 1.25rem; color: var(--text); margin: 14px 0; font-weight: 650; }
.property-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .9rem; }
.property-card-link { display: inline-block; margin-top: 20px; text-decoration: underline; text-underline-offset: 5px; font-weight: 600; }
.property-empty { padding: 50px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); max-width: 800px; }
.property-empty h3 { font-family: Georgia, serif; font-size: 1.8rem; }
.property-empty p { max-width: 610px; }
.sales-notice { margin-top: 24px; max-width: 800px; font-size: .9rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .87rem; padding: 25px 0; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.property-title { max-width: 900px; margin-top: 16px; }
.property-title h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.property-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr); gap: 32px; align-items: start; margin-top: 32px; }
.property-gallery { min-width: 0; }
.property-gallery figure { margin: 0 0 18px; }
.property-gallery figure img { width: 100%; aspect-ratio: 4/3; height: auto; object-fit: cover; border-radius: var(--radius); background: #eee9e0; }
.property-gallery figcaption { padding-top: 8px; color: var(--muted); font-size: .87rem; }
.gallery-thumbnails { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.gallery-thumbnails button { border: 2px solid transparent; border-radius: 10px; padding: 3px; background: transparent; cursor: pointer; }
.gallery-thumbnails button[aria-pressed="true"] { border-color: var(--accent-dark); }
.gallery-thumbnails img { width: 86px; height: 62px; object-fit: cover; border-radius: 6px; }
.property-summary { padding: 28px; background: var(--surface-strong); border: 1px solid var(--line); border-radius: var(--radius); }
.property-summary .property-price { font-size: 2rem; margin-top: 0; }
.property-summary dl { margin: 20px 0 26px; }
.property-summary dl div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.property-summary dt { color: var(--muted); }
.property-summary dd { margin: 0; text-align: right; font-weight: 600; }
.property-summary .btn { width: 100%; text-align: center; }
.property-ref { font-size: .84rem; margin: 14px 0 0; }
.property-description { margin-top: 36px; }
.property-description h2 { font-size: 2rem; }
.property-description ul { padding-left: 20px; color: var(--muted); }
.property-description li { margin-bottom: 8px; }
.enquiry-reference { padding: 15px 18px; background: rgba(176,138,99,.12); border-radius: 12px; }
.enquiry-reference p { margin: 0; color: var(--text); }
@media (max-width: 1180px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-nav, .header-cta-wrap { display: none; }
  .site-header.is-open .site-nav, .site-header.is-open .header-cta-wrap { display: flex; width: 100%; }
  .site-header.is-open .header-inner { align-items: flex-start; flex-wrap: wrap; padding: 14px 0 18px; }
  .site-header.is-open .site-nav { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 10px; }
  .site-header.is-open .site-nav a.active::after, .site-header.is-open .site-nav a:hover::after { bottom: -4px; }
  .property-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-filters .btn { justify-self: start; }
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .sales-hero, .property-layout { grid-template-columns: 1fr; }
  .sales-location { min-height: 260px; }
  .property-summary { position: static; }
}
@media (max-width: 640px) {
  .catalogue-heading { align-items: flex-start; flex-direction: column; }
  .property-grid, .property-filters { grid-template-columns: 1fr; }
  .property-empty { padding: 24px; }
  .property-empty h3 { font-size: 1.5rem; }
  .property-card-copy { padding: 22px; }
  .property-summary { padding: 22px; }
  .sales-location { min-height: 220px; }
  .sales-location figcaption { padding-left: 22px; }
  .property-title h1 { font-size: 2rem; }
  .property-filters .btn { justify-self: stretch; }
  .property-empty .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
