
    /* ============ RESET & ROOT ============ */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --primary: #6b207d;
      --primary-dark: #541963;
      --chestertons-purple: #6b207d;
      --text-color: rgb(119, 119, 119);
      --text-dark: #222222;
      --white: #ffffff;
      --light-bg: #f8f8f8;
      --border: #e8e8e8;
      /* Font Size Variables from common-utilities.css */
      --heading-big: 65px;
      --heading-medium: 55px;
      --heading-small: 35px;
      --heading-tiny: 24px;
      --text-huge: 24px;
      --text-big: 21px;
      --text-medium: 18px;
      --text-small: 16px;
    }

    html,
    body {
      font-family: 'FS Albert', sans-serif;
      color: var(--text-color);
      background: var(--white);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    h1,
    h2,
    h3,
    h4 {
      font-family: 'FS Albert', sans-serif;
      color: var(--text-dark);
      font-weight: 400;
    }

    a {
      color: var(--primary);
      text-decoration: none !important;
    }

    a:hover {
      color: var(--primary-dark);
    }

    img {
      display: block;
      max-width: 100%;
    }

    .container {
      max-width: 1440px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 35px;
      padding-right: 35px;
    }

    header {
      background: #6B207D !important;
      z-index: 10 !important;
      position: unset !important;
    }

    /* ============ HERO ============ */
    .hero {
      position: relative;
      width: 100%;
      height: 480px;
      overflow: hidden;
      background: #0b0b0b;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: 1;
    }

    .hero-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 40%;
    }

    /* Purple gradient overlay — solid purple left, fades to transparent right (matches Figma) */
    .hero-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to right,
          rgba(72, 16, 92, 1) 0%,
          rgba(72, 16, 92, 1) 28%,
          rgba(72, 16, 92, 0.72) 48%,
          rgba(72, 16, 92, 0.15) 68%,
          rgba(72, 16, 92, 0) 80%);
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: flex-start;
      padding-bottom: 80px;
    }

    .hero-breadcrumb {
      position: absolute;
      top: 32px;
      left: 0;
      right: 0;
      z-index: 3;
    }

    .hero-breadcrumb .breadcrumb {
      display: flex;
      align-items: center;
      gap: 0;
      font-size: 13px;
      color: #fff;
    }

    .hero-breadcrumb .breadcrumb a {
      color: #fff;
      transition: opacity .2s;
    }

    .hero-breadcrumb .breadcrumb a:hover {
      opacity: 0.75;
    }

    .hero-breadcrumb .breadcrumb .sep {
      margin: 0 8px;
      color: #fff;
      display: inline-flex;
      align-items: center;
    }

    .hero-breadcrumb .breadcrumb .sep svg {
      width: 16px;
      height: 16px;
      stroke: #fff;
      fill: none;
    }

    .hero-breadcrumb .breadcrumb .cur {
      color: #fff;
    }

    .hero-content {
      color: #fff;
    }

    .hero-content h1 {
      font-size: var(--heading-medium);
      font-weight: 400;
      font-family: 'FS Albert', sans-serif;
      color: #fff;
      line-height: 1;
      margin-bottom: 14px;
    }

    .hero-content .hero-intro {
      font-size: var(--text-medium);
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      color: rgba(255, 255, 255, 0.85);
      line-height: 1.6;
    }

    /* ============ SEARCH CARD (overlapping hero) ============ */
    .search-wrap {
      position: relative;
      z-index: 5;
      margin-top: -56px;
    }

    .search-card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
      padding: 36px 32px 32px;
    }

    /* Row 1: 6 filters */
    .filter-row-1 {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 10px;
      margin-bottom: 30px;
    }

    /* Row 2: min beds + sea views + clear + search */
    .filter-row-2 {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .filter-row-2 .f-select-wrap {
      flex: 0 0 180px;
    }

    .filter-row-2 .f-checkbox-wrap {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 0 0 auto;
    }

    .filter-row-2 .f-spacer {
      flex: 1;
    }

    /* Shared select style */
    .f-select {
      width: 100%;
      min-width: 0;
      height: 44px;
      padding: 0 36px 0 14px;
      border: 1px solid #ddd;
      border-radius: 8px;
      background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
      appearance: none;
      font-size: 14px;
      color: var(--text-dark);
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      cursor: pointer;
      transition: border-color .2s;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
    }

    .f-select:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(107, 32, 125, .10);
    }

    .f-select option[value=""] {
      color: #9a9a9a;
    }

    /* Sea views checkbox */
    .sea-views-cb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: var(--text-small);
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      color: var(--text-dark);
      cursor: pointer;
      white-space: nowrap;
      user-select: none;
    }

    .sea-views-cb input[type="checkbox"] {
      appearance: none;
      width: 18px;
      height: 18px;
      border: 1.5px solid #ccc;
      border-radius: 4px;
      flex-shrink: 0;
      cursor: pointer;
      position: relative;
      transition: border-color .2s, background .2s;
    }

    .sea-views-cb input[type="checkbox"]:checked {
      background: var(--primary);
      border-color: var(--primary);
    }

    .sea-views-cb input[type="checkbox"]:checked::after {
      content: '✓';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
    }

    /* Clear all link */
    .btn-clear {
      background: none;
      border: none;
      color: var(--primary);
      font-size: var(--text-small);
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      cursor: pointer;
      text-decoration: underline;
      white-space: nowrap;
    }

    .btn-clear:hover {
      color: var(--primary-dark);
    }

    /* Search properties button — btn-purple-filled style from common-utilities.css */
    .btn-search-props {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 15px;
      background: var(--chestertons-purple);
      color: #fff;
      border: 2px solid var(--chestertons-purple);
      border-radius: 0;
      font-size: 16px;
      font-weight: 600;
      font-family: 'FS Albert', sans-serif;
      letter-spacing: 1px;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.3s ease;
      min-width: 140px;
      text-align: center;
      box-sizing: border-box;
    }

    .btn-search-props:hover {
      background: transparent;
      color: var(--chestertons-purple);
    }

    /* Area dropdown with search — custom */
    .custom-dd {
      position: relative;
      min-width: 0;
    }

    .custom-dd .dd-trigger {
      width: 100%;
      height: 44px;
      padding: 0 36px 0 14px;
      border: 1px solid #ddd;
      border-radius: 8px;
      background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
      font-size: 16px;
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      color: var(--text-dark);
      cursor: pointer;
      text-align: left;
      appearance: none;
      display: block;
      align-items: center;
      transition: border-color .2s;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      line-height: 44px;
    }

    .custom-dd .dd-trigger.has-value {
      color: var(--text-dark);
    }

    .custom-dd .dd-trigger:focus,
    .custom-dd.open .dd-trigger {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(107, 32, 125, .10);
    }

    .custom-dd .dd-panel {
      display: none;
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 8px;
      box-shadow: 0 10px 32px rgba(0, 0, 0, .13);
      z-index: 100;
      overflow: hidden;
    }

    .custom-dd.open .dd-panel {
      display: block;
    }

    .dd-search {
      padding: 10px 12px;
      border-bottom: 1px solid #f0f0f0;
    }

    .dd-search input {
      width: 100%;
      height: 34px;
      padding: 0 10px;
      border: 1px solid #e0e0e0;
      border-radius: 6px;
      font-size: 14px;
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      color: var(--text-dark);
    }

    .dd-search input:focus {
      outline: none;
      border-color: var(--primary);
    }

    .dd-list {
      max-height: 260px;
      overflow-y: auto;
      padding: 6px 0;
    }

    .dd-list .dd-item {
      padding: 9px 14px;
      font-size: 16px;
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      color: var(--text-dark);
      cursor: pointer;
      transition: background .15s;
    }

    .dd-list .dd-item:hover {
      background: rgba(107, 32, 125, .07);
      color: var(--primary);
    }

    .dd-list .dd-item.selected {
      background: var(--primary);
      color: #fff;
    }

    .dd-list .dd-item.dd-all {
      font-weight: 500;
    }

    .dd-divider {
      height: 1px;
      background: #e8e8e8;
      margin: 4px 0;
    }

    /* ============ RESULTS BAR ============ */
    .results-section {
      padding: 48px 0 0;
    }

    .results-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 20px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 32px;
    }

    .results-count {
      font-size: var(--text-medium);
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      color: var(--text-color);
    }

    .results-count strong {
      color: var(--text-dark);
    }

    .results-count .reset-link {
      color: var(--primary);
      font-weight: 500;
      text-decoration: underline;
      margin-left: 6px;
      font-size: 14px;
    }

    .sort-wrap {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
    }

    .sort-wrap label {
      color: var(--text-color);
      font-size: var(--text-small);
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      white-space: nowrap;
    }

    .sort-dd {
      min-width: 180px;
    }

    .sort-dd .dd-panel {
      left: auto;
      right: 0;
      min-width: 180px;
    }

    /* ============ LISTING CARDS ============ */
    .listings-grid {
      display: flex;
      flex-direction: column;
      gap: 0;
      margin-bottom: 20px;
    }

    .listing-card {
      display: flex;
      align-items: stretch;
      border: 1px solid var(--border);
      border-radius: 2px;
      overflow: hidden;
      padding: 0;
      margin-bottom: 30px;
      background: #fff;
      width: 100%;
    }

    /* Image wrap – fixed height landscape, left side */
    .lc-img-wrap {
      flex: 0 0 46%;
      position: relative;
      overflow: hidden;
      border-radius: 0;
      background: #eee;
      align-self: stretch;
    }

    .lc-swiper {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }

    .lc-swiper .swiper-slide {
      height: 100%;
    }

    .lc-swiper .swiper-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      cursor: pointer;
    }

    /* Nav arrows */
    .lc-swiper .swiper-button-prev,
    .lc-swiper .swiper-button-next {
      width: 40px;
      height: 40px;
      background: transparent;
      color: #fff;
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
      transition: opacity .2s;
    }

    .lc-swiper .swiper-button-prev:hover,
    .lc-swiper .swiper-button-next:hover {
      opacity: 0.8;
    }

    .lc-swiper .swiper-button-prev::after,
    .lc-swiper .swiper-button-next::after {
      font-size: 28px;
      font-weight: 300;
    }

    .lc-swiper .swiper-pagination-bullet {
      background: rgba(255, 255, 255, .7);
    }

    .lc-swiper .swiper-pagination-bullet-active {
      background: var(--primary);
      opacity: 1;
    }

    /* PhotoSwipe Custom Thumbnails */
    .pswp__custom-thumbnails {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 90px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      padding: 10px;
      background: rgba(0, 0, 0, 0.85);
      overflow-x: auto;
      z-index: 10000;
      pointer-events: auto;
    }

    .pswp__custom-thumb {
      width: 100px;
      height: 70px;
      flex-shrink: 0;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      border: 2px solid transparent;
      cursor: pointer;
      opacity: 0.6;
      transition: all 0.2s ease;
    }

    .pswp__custom-thumb:hover {
      opacity: 1;
      border-color: rgba(255, 255, 255, 0.5);
    }

    .pswp__custom-thumb.active {
      border-color: #fff;
      opacity: 1;
    }

    /* Ensure PhotoSwipe wrapper allows pointer events for thumbnails */
    .pswp__wrapper {
      pointer-events: none;
    }

    .pswp__wrapper > * {
      pointer-events: auto;
    }

    /* Card body – right side */
    .lc-body {
      flex: 1;
      padding: 32px 40px;
      display: flex;
      flex-direction: column;
      min-width: 0;
    }

    /* Location line with pin icon */
    .lc-location {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      color: var(--primary);
      margin-bottom: 10px;
    }

    .lc-location svg {
      flex-shrink: 0;
      width: 16px;
      height: 16px;
      stroke: var(--primary);
      fill: none;
      stroke-width: 2;
    }

    /* Property title */
    .lc-body h3 {
      font-size: 18px;
      line-height: 1.25;
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      color: var(--text-dark);
      margin-bottom: 12px;
    }

    /* Key specs row: beds · baths · built · plot */
    .lc-specs {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 0;
      margin-bottom: 14px;
      font-size: var(--text-small);
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      color: var(--text-dark);
    }

    .lc-specs .spec-item {
      display: flex;
      align-items: center;
      gap: 4px;
      padding-right: 14px;
    }

    .lc-specs .spec-item:not(:last-child)::after {
      content: '·';
      padding-left: 14px;
      color: #bbb;
    }

    .lc-specs .spec-val {
      font-weight: 600;
    }

    .lc-specs .spec-lbl {
      color: var(--text-color);
    }

    /* Description */
    .lc-desc {
      font-size: var(--text-small);
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      color: var(--text-color);
      line-height: 1.6;
      margin-bottom: 20px;
      flex: 1;
    }

    /* Footer: price + ref + button */
    .lc-footer {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 16px;
      margin-top: auto;
    }

    .lc-price {
      font-family: 'FS Albert', sans-serif;
      font-size: var(--heading-tiny);
      font-weight: 400;
      color: var(--text-dark);
      line-height: 1.1;
    }

    .lc-ref {
      font-size: var(--text-small);
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      color: var(--text-color);
      margin-top: 4px;
    }

    /* View details button — btn-purple-outline + btn-arrow style from common-utilities.css */
    .btn-view {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 45px 12px 15px;
      background: transparent;
      color: var(--chestertons-purple);
      border: 2px solid var(--chestertons-purple);
      border-radius: 0;
      font-size: 18px;
      font-weight: 600;
      font-family: 'FS Albert', sans-serif;
      letter-spacing: 1px;
      cursor: pointer;
      white-space: nowrap;
      overflow: hidden;
      transition: all 0.3s ease;
      flex-shrink: 0;
      text-decoration: none;
      text-align: center;
      box-sizing: border-box;
      min-width: 150px;
    }

    /* Arrow stem */
    .btn-view::before {
      content: '';
      position: absolute;
      right: 15px;
      top: 50%;
      width: 18px;
      height: 2px;
      background: currentColor;
      transform: translateY(-50%);
      transition: right 0.3s ease, width 0.3s ease;
    }

    /* Arrow head */
    .btn-view::after {
      content: '';
      position: absolute;
      right: 14px;
      top: 50%;
      width: 11px;
      height: 11px;
      border-right: 2px solid currentColor;
      border-top: 2px solid currentColor;
      transform: translateY(-50%) rotate(46deg);
      transition: right 0.3s ease;
    }

    .btn-view:hover {
      background: var(--chestertons-purple);
      color: #fff;
    }

    .btn-view:hover::before {
      right: 10px;
    }

    .btn-view:hover::after {
      right: 10px;
    }

    /* ============ PAGINATION ============ */
    .pagination-wrap {
      padding: 20px 0 60px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 6px;
    }

    .pager-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      border-radius: 6px;
      border: 1px solid var(--border);
      color: var(--text-dark);
      font-size: var(--text-small);
      font-weight: 400;
      font-family: 'FS Albert', sans-serif;
      cursor: pointer;
      transition: border-color .2s, background .2s, color .2s;
      text-decoration: none;
    }

    .pager-btn:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    .pager-btn.active {
      background: var(--primary);
      border-color: var(--primary);
      color: #fff;
    }

    .pager-btn.pager-arrow {
      width: auto;
      padding: 0 14px;
      gap: 4px;
      font-size: var(--text-small);
    }

    .pager-btn.pager-arrow svg {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
    }

    .pager-ellipsis {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      color: var(--text-color);
      font-size: var(--text-small);
      font-family: 'FS Albert', sans-serif;
    }

    /* ============ ARTICLE SECTION ============ */
    .article-section {
      padding: 60px 0 80px;
      border-top: 1px solid var(--border);
    }

    .article-section h2 {
      font-size: var(--heading-small);
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      color: var(--primary);
      margin-bottom: 16px;
    }

    .article-section h3 {
      font-size: var(--heading-tiny);
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      color: var(--primary);
      margin: 30px 0 12px;
    }

    .article-section p {
      font-size: var(--text-small);
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
      line-height: 1.6;
      margin-bottom: 14px;
      color: var(--text-color);
    }

    .article-section a {
      color: var(--primary);
    }

    .article-section a:hover {
      text-decoration: underline;
    }

    .article-highlight {
      background: var(--primary);
      color: #fff;
      padding: 28px 32px;
      border-radius: 10px;
      margin-top: 32px;
      text-align: center;
    }

    .article-highlight h3 {
      color: #fff;
      margin: 0 0 10px;
      font-size: var(--heading-tiny);
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
    }

    .article-highlight p {
      color: rgba(255, 255, 255, .92);
      margin: 0;
      font-size: var(--text-small);
      font-family: 'FS Albert', sans-serif;
      font-weight: 400;
    }

    /* ============ RESPONSIVE ============ */
    @media (max-width: 1024px) {
      .filter-row-1 {
        grid-template-columns: repeat(3, 1fr);
      }

      .btn-search-props {
        min-width: 200px;
        font-size: 16px;
      }

      .btn-view {
        min-width: 160px;
        font-size: 14px;
      }
    }

    @media (max-width: 860px) {
      .hero-content h1 {
        font-size: 42px;
      }

      .hero {
        height: 380px;
      }

      .lc-img-wrap {
        flex: 0 0 100%;
        min-height: 220px;
        max-height: 220px;
        border-radius: 0;
      }

      .listing-card {
        flex-direction: column;
        height: auto;
        min-height: 340px;
      }

      .lc-body {
        padding: 20px 24px 24px;
      }

      .filter-row-1 {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .container {
        padding-left: 20px;
        padding-right: 20px;
      }

      .results-bar {
        flex-wrap: wrap;
        gap: 12px;
      }

      .sort-wrap {
        width: 100%;
        justify-content: flex-start;
      }

      .sort-dd {
        flex: 1;
        min-width: 0;
      }

      .lc-footer {
        flex-wrap: wrap;
        gap: 18px;
      }

      .btn-view {
        min-width: auto;
        width: auto;
        margin: 0 auto;
        padding: 10px 36px 10px 14px;
        font-size: 15px;
      }

      .btn-view::before {
        width: 14px;
        right: 12px;
      }

      .btn-view::after {
        width: 8px;
        height: 8px;
        right: 12px;
      }

      .article-highlight {
        padding: 20px 24px;
      }
    }

    @media (max-width: 600px) {
      .filter-row-1 {
        grid-template-columns: 1fr 1fr;
      }

      .hero-content h1 {
        font-size: 32px;
      }

      .btn-view::before {
        width: 16px;
      }

      .btn-view::after {
        width: 11px;
        height: 11px;
      }

      .hero {
        height: 370px;
      }

      .search-card {
        padding: 18px;
      }

      .filter-row-2 .f-select-wrap {
        flex: 1 1 100%;
        min-width: 0;
      }

      .filter-row-2 .f-select {
        width: 100%;
      }
      .hero-breadcrumb .breadcrumb{
        flex-wrap: wrap;
      }
    }

.lc-card-link {
  flex: 1;
  display: flex;
  min-width: 0;
  color: inherit;
  text-decoration: none !important;
}

.lc-card-link:hover {
  color: inherit;
}

.lc-card-link .lc-body {
  width: 100%;
}

.lc-price-range {
  display: flex;
  gap: 32px;
}

.lc-price-col {
  display: flex;
  flex-direction: column;
}

.lc-price-label {
  font-size: 17px;
  font-family: 'FS Albert', sans-serif;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 2px;
}
