:root {
  --sm-yellow: #ffd400;
  --sm-yellow-soft: #fff8cc;
  --sm-gold: #c9a227;
  --sm-dark: #141414;
  --sm-charcoal: #2a2a2a;
  --sm-muted: #5c5c5c;
  --sm-border: #e8e8e8;
  --sm-surface: #fafaf8;
  --sm-container: 1180px;
  --sm-radius: 12px;
  --sm-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body.admin-bar html { scroll-padding-top: 7rem; }

img, video { max-width: 100%; height: auto; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--sm-dark);
  line-height: 1.6;
  background: #fff;
}

.sm-site { min-height: 100vh; display: flex; flex-direction: column; }
.sm-main { flex: 1 0 auto; }

.sm-container { width: min(100% - 2rem, var(--sm-container)); margin: 0 auto; }

.sm-site-header { position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 16px rgba(0,0,0,.06); background: #fff; }
body.admin-bar .sm-site-header { top: 32px; }
@media (max-width:782px) { body.admin-bar .sm-site-header { top: 46px; } }

.sm-topbar { background: var(--sm-dark); color: #fff; font-size: .82rem; padding: .5rem 0; }
.sm-topbar-inner { display: flex; gap: 1rem 1.5rem; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.sm-topbar-inner > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(100%, 520px);
}
.sm-topbar-phone {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color .15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.sm-topbar-phone:hover { color: var(--sm-yellow); }

.sm-header { background: #fff; border-bottom: 1px solid var(--sm-border); }
.sm-header-inner { display: flex; align-items: center; justify-content: space-between; padding: .85rem 0; gap: .75rem 1rem; }
.sm-nav { align-items: center; gap: 1.25rem; }
.sm-header-phone {
  display: none;
  color: var(--sm-dark);
  font-weight: 700;
  font-size: .82rem;
  text-decoration: none;
  white-space: nowrap;
  margin-left: auto;
  margin-right: .35rem;
}
.sm-header-phone:hover { color: #000; }
.sm-header-cta {
  padding: .65rem 1rem;
  font-size: .72rem;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sm-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 1 1 auto;
  max-width: calc(100% - 7rem);
}
.sm-brand-name {
  font-weight: 800;
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.sm-brand-tag {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sm-muted);
  margin-top: .12rem;
}
.sm-brand:hover { opacity: 0.92; }

.sm-menu {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.sm-menu a {
  color: inherit;
  text-decoration: none;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  min-height: 44px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
}
.sm-menu a:hover,
.sm-menu .current-menu-item > a,
.sm-menu .current_page_item > a,
.sm-menu .current-menu-ancestor > a {
  color: var(--sm-dark);
  border-bottom-color: var(--sm-yellow);
}

/* Mobile nav — Sahil overrides shared sgone-nav */
@media (max-width: 991px) {
  .sm-header-phone { display: inline-flex; align-items: center; }

  .sm-nav:not(.is-open) {
    display: none !important;
  }

  body.sm-nav-open {
    overflow: hidden;
  }

  .sm-nav.is-open {
    display: flex !important;
    position: fixed;
    inset: 0;
    z-index: 9999;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: none;
    flex-basis: auto;
    margin: 0;
    padding: calc(5.5rem + env(safe-area-inset-top, 0px)) 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.admin-bar .sm-nav.is-open {
    padding-top: calc(6.75rem + env(safe-area-inset-top, 0px));
  }

  .sm-nav.is-open .sm-menu {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100%;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  .sm-nav.is-open .sm-menu li {
    width: 100%;
    border-bottom: 1px solid var(--sm-border);
  }

  .sm-nav.is-open .sm-menu a {
    display: flex !important;
    width: 100%;
    padding: .95rem 0;
    border-bottom-color: transparent;
    font-size: .8rem;
  }

  .sm-nav.is-open .sm-menu .current-menu-item > a,
  .sm-nav.is-open .sm-menu .current_page_item > a {
    border-bottom-color: transparent;
    box-shadow: inset 0 -3px 0 var(--sm-yellow);
  }

  .sm-nav.is-open .sm-header-cta {
    display: flex !important;
    width: 100%;
    margin-top: 1.25rem;
    padding: .85rem 1rem;
    justify-content: center;
    flex-shrink: 0;
    order: 99;
  }
}

@media (min-width: 992px) {
  .sm-nav {
    display: flex;
  }
  .sm-nav .sm-menu {
    margin-right: .25rem;
  }
}

.sm-eyebrow {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  color: var(--sm-muted);
  margin: 0 0 .35rem;
  font-weight: 700;
}
.sm-eyebrow--light { color: rgba(255,255,255,.75); }

.sm-pill {
  display: inline-block;
  background: var(--sm-yellow-soft);
  color: var(--sm-dark);
  border: 1px solid rgba(0,0,0,.06);
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}

/* Hero */
.sm-hero-premium {
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border-bottom: 1px solid var(--sm-border);
  padding: 2.25rem 0 2.5rem;
}

.sm-hero-premium-head {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--sm-border);
}

.sm-hero-premium-inner {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) minmax(260px, 320px);
  gap: 2.5rem;
  align-items: start;
}

.sm-agent-page-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.sm-agent-page-lead {
  margin: .65rem 0 0;
  color: var(--sm-muted);
  font-size: .95rem;
  max-width: 52ch;
}

.sm-hero-story { padding-top: .15rem; }

.sm-hero-profile { display: flex; flex-direction: column; gap: 1rem; }

.sm-agent-photo-wrap { position: relative; }
.sm-agent-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg,#ececec,#cfcfcf);
  border-radius: var(--sm-radius);
  background-size: cover;
  background-position: center top;
  box-shadow: var(--sm-shadow);
  border: 3px solid #fff;
  outline: 1px solid var(--sm-border);
}

.sm-contact-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  padding: 1.15rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.sm-contact-link {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: inherit;
  text-decoration: none;
  margin-bottom: .85rem;
  transition: color .15s ease;
}
.sm-contact-link:last-of-type { margin-bottom: 1rem; }
.sm-contact-link:hover { color: #000; }
.sm-contact-link--phone .sm-contact-text { font-size: 1.05rem; font-weight: 700; }
.sm-contact-text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; word-break: break-word; }
.sm-contact-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sm-muted);
}
.sm-contact-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--sm-yellow-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.sm-contact-icon--email::before {
  content: "";
  width: .95rem;
  height: .65rem;
  border: 2px solid var(--sm-dark);
  border-radius: 2px;
  box-shadow: inset 0 -3px 0 -1px var(--sm-dark);
}
.sm-contact-icon--phone::before {
  content: "";
  width: .75rem;
  height: .75rem;
  border: 2px solid var(--sm-dark);
  border-radius: 4px;
  transform: rotate(15deg);
}

.sm-hero-story h1 {
  margin: 0 0 .65rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.sm-hero-lead {
  color: var(--sm-muted);
  font-size: 1.05rem;
  max-width: 54ch;
  margin: 0 0 1.25rem;
}

.sm-bio p { margin: 0 0 1rem; color: #333; font-size: 1.02rem; }
.sm-bio p:last-child { margin-bottom: 0; }
.sm-bio strong,
.sm-bio em { font-style: normal; font-weight: 600; color: var(--sm-dark); }
.sm-bio p:last-child strong {
  display: block;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--sm-yellow-soft);
  border-left: 4px solid var(--sm-yellow);
  border-radius: 0 8px 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.55;
  font-weight: 400;
}

.sm-office-card {
  background: var(--sm-dark);
  color: #fff;
  border-radius: var(--sm-radius);
  padding: 1.5rem 1.35rem 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.sm-office-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2.75rem;
  height: 100%;
  background: var(--sm-yellow);
  opacity: .95;
}
.sm-office-card > * {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 2.25rem);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.sm-office-card h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.3;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.sm-office-card p { margin: 0 0 .45rem; font-size: .92rem; opacity: .92; line-height: 1.45; }
.sm-office-licence {
  font-size: .78rem !important;
  line-height: 1.4 !important;
  opacity: .78 !important;
  max-width: calc(100% - 2.5rem);
}
.sm-office-desc { line-height: 1.55; margin-top: .75rem !important; }
.sm-office-areas { font-size: .82rem !important; opacity: .75 !important; margin-top: 1rem !important; }

/* Sections */
.sm-section { padding: 3rem 0; }
.sm-section-muted { background: #f7f7f7; }
.sg-home-blocks .sm-section:first-child { padding-top: 2.5rem; }
.sg-home-blocks .sm-section:last-child { padding-bottom: 3.25rem; }
.sm-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.sm-section-head h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2rem); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.sm-link {
  font-size: .9rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease, transform .15s ease;
}
.sm-link:hover { color: #000; text-decoration: none; transform: translateX(2px); }
.sm-lead { color: var(--sm-muted); max-width: 52ch; margin-top: -.5rem; margin-bottom: 1.5rem; }

/* Listings */
.sm-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
}
.sm-listing-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sm-listing-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sm-listing-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.sm-listing-card-photo-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}
.sm-listing-card-photo-link img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.sm-badge--overlay {
  position: absolute;
  left: 50%;
  bottom: .65rem;
  transform: translateX(-50%);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.sm-listing-tabs {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--sm-border);
}
.sm-listing-tab {
  padding: .85rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  color: var(--sm-muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.sm-listing-tab.is-active { color: var(--sm-dark); border-bottom-color: var(--sm-yellow); }

.sm-pagination { margin-top: 2rem; display: flex; justify-content: center; }
.sm-pagination ul { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0; align-items: center; }
.sm-pagination a, .sm-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 .5rem;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}
.sm-pagination .current { background: var(--sm-dark); color: #fff; }

.sg-page-widgets { display: grid; gap: 1.5rem; }
.sm-widget-lead { color: var(--sm-muted); margin: -.5rem 0 1.25rem; }

.sm-listing-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sm-listing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sm-shadow);
  border-color: rgba(0, 0, 0, 0.1);
}
.sm-listing-card--sold { opacity: .94; }

.sm-listing-card-media { overflow: hidden; }
.sm-listing-card-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.sm-listing-card:hover .sm-listing-card-thumb { transform: scale(1.03); }
.sm-listing-card-thumb--placeholder { background: linear-gradient(135deg,#ececec,#d5d5d5); }

.sm-listing-card-body { padding: 1rem 1.05rem 1.15rem; }
.sm-listing-card h3 { margin: .4rem 0 .35rem; font-size: 1.02rem; line-height: 1.3; }
.sm-listing-card h3 a { color: inherit; text-decoration: none; }
.sm-listing-address { margin: 0; color: var(--sm-muted); font-size: .9rem; }
.sm-listing-price { margin: .65rem 0 0; font-size: .95rem; }

.sm-listing-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .65rem;
  list-style: none;
  margin: .65rem 0 0;
  padding: 0;
}
.sm-listing-stats li {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .78rem;
  background: #f3f3f3;
  border-radius: 999px;
  padding: .2rem .55rem;
}
.sm-listing-stats span { color: var(--sm-muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-size: .66rem; }
.sm-listing-stats strong { font-weight: 700; }

.sm-badge {
  display: inline-block;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .22rem .5rem;
  border-radius: 999px;
}
.sm-badge--selling { background: var(--sm-yellow-soft); color: var(--sm-dark); }
.sm-badge--sold { background: #eee; color: #444; }

/* Sold slider */
.sm-sold-slider-wrap {
  background: var(--sm-dark);
  color: #fff;
  padding: 2.5rem 0 2.75rem;
  margin: 0;
}

.sm-sold-slider-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.sm-sold-slider-head h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2rem); }

.sm-slider-nav { display: flex; gap: .5rem; }
.sm-slider-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.sm-slider-btn:hover { background: rgba(255,255,255,.08); border-color: var(--sm-yellow); color: var(--sm-yellow); }

.sm-sold-slider { position: relative; }
.sm-slider-viewport { overflow: hidden; border-radius: var(--sm-radius); }
.sm-slider-track { display: flex; transition: transform .45s ease; }
.sm-slider-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 360px;
  background: #1a1a1a;
}
.sm-slider-photo {
  background-size: cover;
  background-position: center;
  min-height: 280px;
}
.sm-slider-copy {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
}
.sm-slider-copy h3 { margin: .25rem 0; font-size: 1.45rem; }
.sm-slider-copy p { margin: 0; color: rgba(255,255,255,.78); }
.sm-slider-copy .sm-listing-stats li { background: rgba(255,255,255,.08); }
.sm-slider-copy .sm-listing-stats span { color: rgba(255,255,255,.55); }
.sm-slider-copy .sm-btn { margin-top: .85rem; align-self: flex-start; }

.sm-slider-dots {
  display: flex;
  justify-content: center;
  gap: .45rem;
  margin-top: 1rem;
}
.sm-slider-dots button {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  padding: 0;
}
.sm-slider-dots button.is-active { background: var(--sm-yellow); transform: scale(1.15); }

.sm-btn--light {
  background: #fff;
  color: var(--sm-dark);
}
.sm-btn--light:hover { background: var(--sm-yellow); }

/* About strip */
.sm-about-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}
.sm-about-cta h2 { margin: 0 0 .5rem; }
.sm-about-cta p { color: var(--sm-muted); margin: 0 0 1rem; }

/* Buttons & forms */
.sm-btn {
  display: inline-block;
  background: var(--sm-dark);
  color: #fff;
  padding: .7rem 1.15rem;
  border-radius: 6px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: .92rem;
}
.sm-btn:hover { background: #000; color: #fff; }
.sm-btn--block { display: block; text-align: center; width: 100%; }
.sm-btn--compact { padding: .55rem .9rem; font-size: .82rem; margin-top: .75rem; }
.sm-btn--outline { background: transparent; color: var(--sm-dark); border: 2px solid var(--sm-dark); }
.sm-btn--outline:hover { background: var(--sm-dark); color: #fff; }

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

.sm-listing-detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }
.sm-listing-detail-photo { width: 100%; border-radius: var(--sm-radius); display: block; }
.sm-listing-price--large { font-size: 1.35rem; }
.sm-listing-content { margin: 1rem 0; }
.sm-listing-cta { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--sm-border); }
.sm-back a { color: var(--sm-muted); text-decoration: none; font-size: .9rem; }
.sm-page h1 { margin-top: 0; }

.sm-enquiry-form label { display: block; margin-bottom: .75rem; font-weight: 600; font-size: .9rem; }
.sm-enquiry-form input, .sm-enquiry-form textarea {
  width: 100%;
  padding: .55rem .65rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: .25rem;
  font: inherit;
}
.sm-form-note { color: var(--sm-muted); font-size: .88rem; }
.sm-form-success { background: #e8f5e9; padding: .75rem 1rem; border-radius: 6px; }

/* Selling hero + market stats */
.sm-selling-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 3rem 0 2.5rem;
}
.sm-selling-hero--bg {
  background:
    radial-gradient(circle at top right, rgba(255, 212, 0, 0.08), transparent 45%),
    linear-gradient(135deg, var(--sm-dark) 0%, var(--sm-charcoal) 100%);
}
.sm-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.sm-hero-bg--video .sm-hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.sm-hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s ease, transform 4s ease;
}
.sm-hero-bg-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.sm-hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.72) 42%, rgba(10, 10, 10, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}
.sm-selling-hero-content {
  position: relative;
  z-index: 2;
}
.sm-selling-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 2.5rem;
  align-items: start;
}
.sm-selling-hero-copy { padding-top: .35rem; }
.sm-selling-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; margin: 0 0 1rem; font-weight: 400; }
.sm-selling-hero h1 em { font-style: normal; color: var(--sm-yellow); }
.sm-selling-hero-lead { font-size: 1.05rem; max-width: 38rem; opacity: .92; margin: 0 0 1.25rem; line-height: 1.65; }
.sm-selling-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.sm-hero-form-card {
  background: #fff;
  color: var(--sm-dark);
  border-radius: var(--sm-radius);
  padding: 1.35rem 1.35rem 1.15rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.sm-hero-form-kicker {
  margin: 0 0 .35rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sm-muted);
}
.sm-hero-form-card h2 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
}
.sm-appraisal-form--hero .sm-form-field { margin-bottom: .75rem; }
.sm-appraisal-form--hero label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: .25rem;
  color: var(--sm-dark);
}
.sm-appraisal-form--hero input {
  width: 100%;
  padding: .72rem .75rem;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
  min-height: 48px;
}
.sm-appraisal-form--hero input:focus {
  outline: none;
  border-color: var(--sm-yellow);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.25);
}
.sm-appraisal-form--hero .sm-btn {
  margin-top: .35rem;
  min-height: 48px;
  width: 100%;
}
.sm-form-note--hero {
  margin: .65rem 0 0;
  font-size: .75rem;
  text-align: center;
  color: var(--sm-muted);
}

.sm-btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.35);
}
.sm-btn--ghost:hover { background: #fff; color: var(--sm-dark); border-color: #fff; }
.sm-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.sm-stats-grid--hero { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.12); }
.sm-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--sm-radius);
  padding: 1rem 1.05rem;
  backdrop-filter: blur(4px);
}
.sm-stat strong { display: block; font-size: 1.2rem; color: var(--sm-yellow); margin-bottom: .15rem; }
.sm-stat span { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; opacity: .82; line-height: 1.35; }

/* Appraisal section */
.sm-appraisal-section { background: #f7f7f7; border-top: 1px solid var(--sm-border); border-bottom: 1px solid var(--sm-border); }
.sm-appraisal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 2rem;
  align-items: start;
}
.sm-appraisal-copy h2 { margin-top: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.sm-checklist { list-style: none; padding: 0; margin: 1.25rem 0; }
.sm-checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .55rem;
}
.sm-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2e7d32;
  font-weight: 700;
}
.sm-appraisal-trust { display: flex; flex-wrap: wrap; gap: .75rem; font-size: .85rem; color: var(--sm-muted); margin-top: 1rem; }
.sm-appraisal-form-wrap {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  padding: 1.25rem;
  box-shadow: var(--sm-shadow);
}
.sm-appraisal-form-wrap h3 { margin: 0 0 .35rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.sm-appraisal-intro { color: var(--sm-muted); font-size: .92rem; margin: 0 0 1rem; line-height: 1.5; }
.sm-appraisal-step h3 { margin: 0 0 1.15rem; font-size: 1rem; font-weight: 600; letter-spacing: .01em; }
.sm-appraisal-options { display: grid; gap: .65rem; }
.sm-appraisal-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.sm-appraisal-option:hover { border-color: #bdbdbd; box-shadow: 0 4px 14px rgba(0,0,0,.04); }
.sm-appraisal-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}
.sm-appraisal-option__text { flex: 1; font-size: .95rem; color: var(--sm-dark); line-height: 1.35; }
.sm-appraisal-option__mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color .15s, background .15s, transform .15s;
  background: #fff;
}
.sm-appraisal-option:has(input:checked) {
  border-color: var(--sm-dark);
  background: var(--sm-yellow-soft);
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.08);
}
.sm-appraisal-option:has(input:checked) .sm-appraisal-option__mark {
  border-color: var(--sm-dark);
  background: var(--sm-yellow);
}
.sm-appraisal-option:has(input:checked) .sm-appraisal-option__mark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 0px;
  width: 6px;
  height: 11px;
  border: solid var(--sm-dark);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  background: transparent;
}
.sm-appraisal-progress { margin-bottom: 1.15rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sm-muted); }
.sm-appraisal-progress-bar {
  height: 3px;
  background: #ececec;
  border-radius: 999px;
  margin-top: .45rem;
  overflow: hidden;
}
.sm-appraisal-progress-bar span {
  display: block;
  height: 100%;
  width: 16.66%;
  background: var(--sm-yellow);
  transition: width .25s ease;
}
.sm-appraisal-actions { display: flex; gap: .65rem; margin-top: 1.15rem; flex-wrap: wrap; }
.sm-appraisal-actions [hidden] { display: none !important; }
.sm-appraisal-actions .sm-btn { min-width: 7rem; }
.sm-appraisal-form .sm-form-field label { font-size: .82rem; letter-spacing: .02em; text-transform: uppercase; color: #666; }
.sm-appraisal-form .sm-form-field input,
.sm-appraisal-form .sm-form-field textarea {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: .75rem .85rem;
}

/* Unified form system */
.sm-form .sm-form-field { margin-bottom: 1rem; }
.sm-form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; color: var(--sm-dark); }
.sm-form input, .sm-form textarea, .sm-form select {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  font: inherit;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.sm-form input:focus, .sm-form textarea:focus {
  outline: none;
  border-color: var(--sm-dark);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, .25);
}
.sm-form-row { display: grid; gap: .85rem; }
.sm-form-row--2 { grid-template-columns: 1fr 1fr; }
.sm-form-row--3 { grid-template-columns: repeat(3, 1fr); }

/* Aligned label column — matches shared sg-form--aligned */
.sm-form--aligned { --sm-form-label: minmax(7.5rem, 9.5rem); }
.sm-form--aligned .sm-form-item {
  display: grid;
  grid-template-columns: var(--sm-form-label) minmax(0, 1fr);
  gap: .65rem 1.25rem;
  align-items: center;
  margin-bottom: .85rem;
}
.sm-form--aligned .sm-form-label {
  margin: 0;
  font-weight: 600;
  font-size: .88rem;
  color: var(--sm-dark);
}
.sm-form--aligned .sm-form-item--top { align-items: start; }
.sm-form--aligned .sm-form-item--top .sm-form-label { padding-top: .7rem; }
.sm-form--aligned .sm-form-item--actions { align-items: start; }
.sm-form--aligned .sm-form-actions { min-width: 0; }
.sm-form--aligned input,
.sm-form--aligned textarea { margin-top: 0; }
.sm-req { color: #c62828; }
.sm-optional { font-weight: 400; color: var(--sm-muted); font-size: .8rem; }
.sm-form-panel {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  padding: 1.5rem;
  box-shadow: var(--sm-shadow);
}
.sm-form-panel h3 { margin: 0 0 1rem; font-size: 1.15rem; }
.sm-form-success {
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  border: 1px solid #a5d6a7;
  padding: 1rem 1.15rem;
  border-radius: var(--sm-radius);
}

/* Page heroes */
.sm-page-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: #fff;
  padding: 2.75rem 0;
}
.sm-page-hero h1 { margin: 0 0 .75rem; font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.15; }
.sm-page-hero-lead { max-width: 42rem; opacity: .9; margin: 0; font-size: 1.05rem; }

.sg-page-hero,
.sg-editable-page .sg-block-page-hero,
.sg-home-blocks .sg-block-page-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: #fff;
  padding: 2.75rem 0;
}
.sg-page-hero h1,
.sg-editable-page .sg-block-page-hero h1,
.sg-home-blocks .sg-block-page-hero h1 {
  margin: 0 0 .75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: #fff;
}
.sg-page-hero .sg-page-lead,
.sg-editable-page .sg-block-page-hero .sg-page-lead {
  max-width: 42rem;
  opacity: .9;
  margin: 0;
  font-size: 1.05rem;
  color: #fff;
}

.sm-page-body { max-width: 52rem; line-height: 1.75; }
.sm-page-body h2 { margin-top: 2rem; }
.sm-page-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--sm-border); }

/* Content blocks */
.sm-feature-grid, .sm-insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin: 1.5rem 0; }
.sm-feature-card, .sm-insight-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.sm-feature-card h3, .sm-insight-card h3 { margin: 0 0 .5rem; font-size: 1rem; }
.sm-insight-value { display: block; font-size: 1.5rem; font-weight: 800; color: var(--sm-dark); margin-bottom: .35rem; }
.sm-quote {
  border-left: 4px solid var(--sm-yellow);
  margin: 1.5rem 0;
  padding: .75rem 1rem;
  background: var(--sm-yellow-soft);
  font-style: italic;
}
.sm-process-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.sm-process-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.5rem 3rem;
  border-left: 2px solid var(--sm-border);
  margin-left: 1rem;
}
.sm-process-steps li::before {
  content: counter(step);
  position: absolute;
  left: -1.05rem;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--sm-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
}
.sm-process-steps li:last-child { border-left-color: transparent; }
.sm-stats-grid--light { margin: 1.5rem 0 2rem; }
.sm-stats-grid--light .sm-stat {
  background: #fff;
  border: 1px solid var(--sm-border);
  color: var(--sm-dark);
}
.sm-stats-grid--light .sm-stat strong { color: var(--sm-dark); }
.sm-stats-grid--light .sm-stat span { opacity: 1; color: var(--sm-muted); }

/* Contact page */
.sm-contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.sm-contact-agent-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--sm-radius);
  background-size: cover;
  background-position: center top;
  margin-bottom: 1rem;
  box-shadow: var(--sm-shadow);
}
.sm-contact-role { color: var(--sm-muted); margin: 0 0 1rem; }
.sm-contact-details { list-style: none; padding: 0; margin: 0; }
.sm-contact-details a { color: inherit; font-weight: 600; text-decoration: none; }
.sm-contact-details a:hover { text-decoration: underline; }

/* Listing cards + lightbox */
.sm-listing-card-media { position: relative; overflow: hidden; }
.sm-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
}
.sm-lightbox-icon {
  position: absolute;
  right: .65rem;
  bottom: .65rem;
  background: rgba(0,0,0,.55);
  color: #fff;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  opacity: 0;
  transition: opacity .2s;
}
.sm-lightbox-trigger:hover .sm-lightbox-icon { opacity: 1; }
.sm-listing-card-link {
  display: block;
  text-align: center;
  padding: .45rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--sm-dark);
  text-decoration: none;
  background: var(--sm-yellow-soft);
  border-top: 1px solid var(--sm-border);
}
.sm-listing-detail-photo-wrap {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
  border-radius: var(--sm-radius);
  overflow: hidden;
}
.sm-lightbox-hint {
  position: absolute;
  bottom: .75rem;
  right: .75rem;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: .75rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  opacity: 0;
  transition: opacity .2s;
}
.sm-listing-detail-photo-wrap:hover .sm-lightbox-hint { opacity: 1; }
.sm-slider-photo { border: 0; cursor: zoom-in; width: 100%; }

/* Lightbox overlay */
.sm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.sm-lightbox[hidden] { display: none !important; }
body.sm-lightbox-open { overflow: hidden; }
.sm-lightbox-stage { max-width: min(1100px, 92vw); max-height: 85vh; }
.sm-lightbox-stage img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  animation: smLightboxIn .25s ease;
}
@keyframes smLightboxIn {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}
.sm-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: .85;
}
.sm-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: 0;
  color: #fff;
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
}
.sm-lightbox-prev { left: 1rem; }
.sm-lightbox-next { right: 1rem; }

/* Hero profile polish */
.sm-agent-photo { cursor: default; }
.sm-hero-premium { padding: 3rem 0; }

.sm-footer {
  background: var(--sm-dark);
  color: #fff;
  padding: 0;
  font-size: .9rem;
  margin-top: auto;
}
.sm-footer-newsletter {
  background: #111;
  border-bottom: 3px solid var(--sm-yellow);
  padding: 1.75rem 0;
}
.sm-footer-newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.25rem 2rem;
  align-items: center;
}
.sm-footer-newsletter-inner h3 {
  margin: 0 0 .35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}
.sm-footer-newsletter-inner p { margin: 0; opacity: .82; }
.sm-footer-newsletter .sg-newsletter-form-inner input[type="email"] {
  border-radius: 0;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.sm-footer-newsletter .sg-newsletter-form-inner input[type="email"]::placeholder { color: rgba(255,255,255,.55); }
.sm-footer-newsletter .sg-newsletter-form-inner button {
  border-radius: 0;
  background: var(--sm-yellow);
  color: #111;
  font-weight: 700;
  min-height: 48px;
}
.sm-footer-newsletter .sg-newsletter-form-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  width: 100%;
}
.sm-footer-newsletter .sg-newsletter-form-inner input[type="email"] {
  flex: 1 1 180px;
  min-width: 0;
  min-height: 48px;
  font-size: 1rem;
}
.sm-footer-newsletter .sg-newsletter-form-inner button {
  flex: 0 0 auto;
}
.sm-footer-heading {
  margin: 0 0 .65rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .65;
}
.sm-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(220px, 280px);
  gap: 2rem 2.5rem;
  padding: 2.25rem 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.sm-footer-name {
  margin: 0 0 .35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}
.sm-footer-office,
.sm-footer-licence { margin: 0 0 .35rem; opacity: .82; line-height: 1.5; }
.sm-footer-nav ul,
.sm-footer-contact { list-style: none; margin: 0; padding: 0; }
.sm-footer-nav ul { display: grid; gap: .45rem; }
.sm-footer-nav a,
.sm-footer-contact a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  display: inline-block;
  transition: color .15s ease;
}
.sm-footer-nav a:hover,
.sm-footer-contact a:hover { color: var(--sm-yellow); }
.sm-footer-contact { display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }
.sm-footer-bottom { padding: 1rem 0 1.35rem; opacity: .65; font-size: .82rem; }
.sm-footer-bottom p { margin: 0; }
.sm-site { min-height: 100vh; display: flex; flex-direction: column; }
.sm-main { flex: 1; }

/* Icon stats (Ray White-style cards) */
.sm-listing-icon-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 .85rem;
}
.sm-listing-icon-stats li {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--sm-muted);
  font-size: .88rem;
}
.sm-listing-icon-stats strong { color: var(--sm-dark); font-size: .95rem; }
.sm-stat-icon {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background: currentColor;
  opacity: .55;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}
.sm-stat-icon--bed { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 11V7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4h2v2h-2v6h-2v-2H6v2H4v-6H2v-2h2zm2 0h12V7H6v4z'/%3E%3C/svg%3E"); }
.sm-stat-icon--bath { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 4a2 2 0 0 1 2 2v1h6V6a2 2 0 0 1 2-2h1v2h-1v3H6V6H5V4h2zm13 8H4v5a3 3 0 0 0 3 3h1v2h2v-2h4v2h2v-2h1a3 3 0 0 0 3-3v-5z'/%3E%3C/svg%3E"); }
.sm-stat-icon--car { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 11l1-4h12l1 4H5zm-1 2h16v4h-2v-2H6v2H4v-4z'/%3E%3C/svg%3E"); }
.sm-stat-icon--land { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 20h16v2H4v-2zm2-2h12l-4-8-3 6-2-4-3 6z'/%3E%3C/svg%3E"); }

/* Premium listing detail */
.sm-listing-detail--premium { padding-bottom: 3rem; }
.sm-listing-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.sm-listing-detail-place {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
}
.sm-listing-detail-street { margin: .35rem 0 0; color: var(--sm-muted); font-size: 1rem; }
.sm-listing-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 2rem;
  align-items: start;
}
.sm-listing-gallery { margin-bottom: 1.75rem; }
.sm-listing-gallery-main { position: relative; border-radius: var(--sm-radius); overflow: hidden; }
.sm-listing-gallery-hero {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #111;
  cursor: zoom-in;
}
.sm-listing-gallery-hero img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.sm-listing-gallery-count {
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .65rem;
  border-radius: 999px;
}
.sm-listing-gallery-nav {
  position: absolute;
  right: .85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.92);
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.sm-listing-gallery-thumbs {
  display: flex;
  gap: .55rem;
  margin-top: .65rem;
  overflow-x: auto;
  padding-bottom: .25rem;
}
.sm-listing-gallery-thumb {
  flex: 0 0 84px;
  height: 58px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #eee;
}
.sm-listing-gallery-thumb.is-active { border-color: var(--sm-dark); }
.sm-listing-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-listing-detail-body h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  margin: 0 0 1rem;
  font-weight: 400;
}
.sm-listing-content { line-height: 1.75; color: #333; margin-bottom: 1.5rem; }
.sm-listing-features h3 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sm-muted); margin: 0 0 .75rem; }
.sm-tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.sm-tag {
  display: inline-flex;
  align-items: center;
  padding: .45rem .85rem;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sm-dark);
}
.sm-tag--type { margin-bottom: 1rem; }
.sm-listing-sidebar {
  position: sticky;
  top: 1rem;
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  padding: 1.25rem;
  box-shadow: var(--sm-shadow);
}
.sm-listing-status-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sm-muted);
  margin: 0 0 .35rem;
}
.sm-listing-specs, .sm-listing-sidebar-links { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--sm-border); }
.sm-listing-specs h3, .sm-listing-sidebar-links h3 {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sm-muted);
  margin: 0 0 .75rem;
}
.sm-listing-specs ul, .sm-listing-sidebar-links { list-style: none; padding: 0; margin: 0; }
.sm-listing-specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  font-size: .9rem;
  border-bottom: 1px solid #f0f0f0;
}
.sm-listing-specs li span { color: var(--sm-muted); }
.sm-sidebar-link {
  display: block;
  padding: .55rem 0;
  color: var(--sm-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
}
.sm-sidebar-link:hover { text-decoration: underline; }
.sm-listing-agent-card {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--sm-yellow);
  border-radius: 8px;
  font-size: .85rem;
}
.sm-listing-agent-card p { margin: 0 0 .35rem; }
.sm-listing-location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--sm-border);
  border-bottom: 1px solid var(--sm-border);
}
.sm-listing-location h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  margin: .35rem 0 .75rem;
}
.sm-listing-location-map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: var(--sm-radius);
  filter: grayscale(.15);
}

@media (max-width: 980px) {
  .sm-hero-premium-inner { grid-template-columns: 1fr; }
  .sm-hero-premium-head { margin-bottom: 1.5rem; padding-bottom: 1.25rem; }
  .sm-listing-grid--cols-4, .sm-listing-grid--cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-slider-slide { grid-template-columns: 1fr; }
  .sm-about-strip { grid-template-columns: 1fr; }
  .sm-selling-hero { padding: 2.25rem 0 2rem; }
  .sm-selling-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .sm-hero-form-card {
    order: -1;
    width: 100%;
    max-width: none;
  }
  .sm-selling-hero-copy { order: 0; }
  .sm-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-stats-grid--hero { margin-top: 1.5rem; padding-top: 1.25rem; }
  .sm-appraisal-grid { grid-template-columns: 1fr; }
  .sm-appraisal-form-wrap { max-width: none; }
  .sm-contact-grid { grid-template-columns: 1fr; }
  .sm-feature-grid, .sm-insight-grid { grid-template-columns: 1fr; }
  .sm-form-row--2, .sm-form-row--3 { grid-template-columns: 1fr; }
  .sm-form--aligned { --sm-form-label: 1fr; }
  .sm-form--aligned .sm-form-item {
    grid-template-columns: 1fr;
  }
  .sm-form--aligned .sm-form-label { padding-top: 0; }
  .sm-footer-grid { grid-template-columns: 1fr; }
  .sm-footer-newsletter-inner { grid-template-columns: 1fr; }
  .sm-section { padding: 2.25rem 0; }
}

@media (max-width: 900px) {
  .sm-listing-detail-grid { grid-template-columns: 1fr; }
  .sm-listing-detail-layout { grid-template-columns: 1fr; }
  .sm-listing-sidebar { position: static; }
  .sm-listing-location { grid-template-columns: 1fr; }
  .sm-appraisal-form-wrap { padding: 1.15rem; }
  .sm-appraisal-form-wrap input,
  .sm-appraisal-form-wrap textarea,
  .sm-appraisal-form-wrap select,
  .sm-form input,
  .sm-form textarea,
  .sm-form select,
  .sm-enquiry-form input,
  .sm-enquiry-form textarea {
    font-size: 1rem;
    min-height: 48px;
  }
  .sm-appraisal-option { padding: .9rem .95rem; min-height: 48px; }
  .sm-appraisal-actions .sm-btn { flex: 1 1 calc(50% - .35rem); min-width: 0; min-height: 48px; }
  .sm-selling-hero-actions { flex-direction: column; align-items: stretch; }
  .sm-selling-hero-actions .sm-btn { width: 100%; text-align: center; min-height: 48px; }
  .sm-btn { min-height: 44px; }
  .sg-home-blocks > .wp-block-sahil-listings-preview,
  .sg-home-blocks > [class*="listings-preview"],
  .sg-home-blocks section.sm-section {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .sm-container { width: min(100% - 1.25rem, var(--sm-container)); }
  .sm-topbar { font-size: .75rem; padding: .4rem 0; }
  .sm-topbar-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: .5rem;
  }
  .sm-topbar-inner > span {
    white-space: normal;
    max-width: 58%;
    line-height: 1.35;
  }
  .sm-header-inner { padding: .75rem 0; }
  .sm-header-phone { font-size: .75rem; max-width: 6.5rem; overflow: hidden; text-overflow: ellipsis; }
  .sm-brand { max-width: calc(100% - 9.5rem); }
  .sm-listing-grid--cols-4,
  .sm-listing-grid--cols-3,
  .sm-listing-grid--cols-2 {
    grid-template-columns: 1fr;
  }
  .sm-listing-grid { gap: 1rem; }
  .sm-selling-hero { padding: 1.75rem 0 1.5rem; }
  .sm-selling-hero h1 { font-size: clamp(1.65rem, 8vw, 2.25rem); }
  .sm-selling-hero-lead { font-size: .98rem; }
  .sm-hero-form-card { padding: 1.15rem; }
  .sm-hero-form-card h2 { font-size: 1.25rem; }
  .sm-stats-grid,
  .sm-stats-grid--hero { grid-template-columns: 1fr; gap: .65rem; }
  .sm-stat { padding: .85rem .95rem; }
  .sm-section { padding: 1.75rem 0; }
  .sm-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .sm-agent-page-title { font-size: clamp(2rem, 9vw, 2.75rem); }
  .sm-page-cta {
    flex-direction: column;
    gap: 0.75rem;
  }
  .sm-page-cta .sm-btn {
    text-align: center;
    width: 100%;
  }
  .sm-listing-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
  }
  .sm-listing-tab { font-size: 1.05rem; padding: .65rem 0; }
  .sm-appraisal-actions .sm-btn {
    flex: 1 1 100%;
    min-height: 48px;
  }
  .sm-footer-newsletter h3 { font-size: 1.15rem; }
  .sm-footer-newsletter-inner { gap: 1rem; }
  .sm-footer-newsletter .sg-newsletter-form-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .sm-footer-newsletter .sg-newsletter-form-inner button {
    width: 100%;
  }
  .sm-footer-grid { gap: 1.5rem; padding-top: .5rem; }
}

/* Focus visibility */
.sm-btn:focus-visible,
.sm-menu a:focus-visible,
.sm-header-cta:focus-visible,
.sm-nav-toggle:focus-visible,
.sm-appraisal-form--hero input:focus-visible,
.sm-form input:focus-visible,
.sm-form textarea:focus-visible {
  outline: 2px solid var(--sm-yellow);
  outline-offset: 2px;
}

/* Inner pages — shared block spacing */
.sm-page.sg-inner-page,
.sg-inner-page.sm-section { padding-bottom: 3.5rem; }
.sm-listings-page .sg-page-blocks { margin-top: 1rem; }
.sm-listings-page .sm-listing-tabs { margin-bottom: 1.25rem; }
.sm-page .sg-page-blocks .sg-feature-grid,
.sm-page .sg-page-blocks .sg-process-steps { margin-top: 0; }
.sm-page-hero + .sg-inner-page { margin-top: 0; }
.sm-contact-grid { margin-top: .5rem; }
