
  :root {
    --navy: #21358F;
    --navy-dark: #172880;
    --navy-light: #E8EFF8;
    --amber: #E8920A;
    --amber-light: #FFF4E0;
    --green: #2E7D32;
    --green-light: #E6F5EE;
    --red: #C62828;
    --red-light: #FFF0F2;
    --blue-tag: #1E6FC8;
    --bg: #F2F5F9;
    --white: #FFFFFF;
    --border: #DDE3ED;
    --text-dark: #0D1B2A;
    --text-mid: #555555;
    --text-light: #888888;
    --card-shadow: 0 2px 12px rgba(0,59,122,0.08);
    --card-hover-shadow: 0 8px 32px rgba(0,59,122,0.14);
    --radius: 12px;
    --radius-sm: 8px;
    --text:#333333;
  }

  @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
  }
  /* ===== HEADER ===== */
  /* header {
    background: var(--navy-dark);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  }
  .header-inner {
    max-width: 1320px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; height: 64px;
  }
  .logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
  }
  .logo-mark {
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--amber); display: grid; place-items: center;
    font-family: 'DM Serif Display', serif;
    font-size: 18px; color: var(--navy-dark); font-weight: 900; letter-spacing: -1px;
  }
  .logo-text {
    display: flex; flex-direction: column; line-height: 1;
  }
  .logo-text span:first-child {
    font-family: 'DM Serif Display', serif;
    font-size: 18px; color: #fff; letter-spacing: 0.5px;
  }
  .logo-text span:last-child {
    font-size: 10px; color: #9AB4D4; letter-spacing: 1.5px; text-transform: uppercase;
  }
  nav { display: flex; gap: 4px; }
  nav a {
    color: #9AB4D4; text-decoration: none; font-size: 13px; font-weight: 500;
    padding: 8px 14px; border-radius: 6px; transition: all 0.2s;
  }
  nav a:hover, nav a.active { color: #fff; background: rgba(255,255,255,0.1); }
  nav a.active { color: var(--amber); background: transparent; }
  .header-actions { display: flex; gap: 10px; align-items: center; }
  .btn-outline-white {
    border: 1px solid rgba(255,255,255,0.3); color: #fff; background: transparent;
    padding: 7px 16px; border-radius: 6px; font-size: 13px; font-weight: 500;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
  }
  .btn-outline-white:hover { background: rgba(255,255,255,0.1); }
  .btn-amber {
    background: var(--amber); color: var(--navy-dark); border: none;
    padding: 8px 18px; border-radius: 6px; font-size: 13px; font-weight: 700;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
  }
  .btn-amber:hover { background: #d4830a; } */


  /* ============================
   PAGE BANNER
   ============================ */
.page-banner {
  position: relative; overflow: hidden;
  height: 200px;
  background: var(--acre-dark);
}
.page-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(23,40,128,0.88) 0%, rgba(33,53,143,0.72) 50%, rgba(33,53,143,0.45) 100%);
  z-index: 1;
}
.banner-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}
.banner-inner {
   margin: 0 auto;
  height: 100%; display: flex; flex-direction: column;
  justify-content: center; position: relative; z-index: 2;
}
.page-banner h1 {
  /* font-family: 'Inter', sans-serif; */
  font-size: 36px; font-weight: 900; color: #fff;
  letter-spacing: 1px; margin-bottom: 10px;
  text-transform: uppercase;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
}
.breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,0.45); }
.breadcrumb .current { color: var(--acre-orange); font-weight: 700; }

  /* ===== HERO BANNER ===== */
  .hero {
    background: linear-gradient(110deg, var(--navy-dark) 0%, var(--navy) 60%, #1a5fa8 100%);
    position: relative; overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }
  .hero-inner {
    max-width: 1320px; margin: 0 auto; padding: 28px 24px;
    display: flex; align-items: center; justify-content: space-between;
    position: relative; z-index: 1;
  }
  .hero-left h1 {
    font-family: 'Inter', serif;
    font-size: 30px; color: #fff; letter-spacing: -0.5px;
    margin-bottom: 6px;
  }
  .breadcrumb {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: #9AB4D4;
  }
  .breadcrumb a { color: #9AB4D4; text-decoration: none; }
  .breadcrumb a:hover { color: #fff; }
  .breadcrumb-sep { opacity: 0.5; }
  .breadcrumb span:last-child { color: var(--white); font-weight: 600; }
  .hero-stats {
    display: flex; gap: 32px;
  }
  .hero-stat {
    text-align: center;
  }
  .hero-stat .num {
    font-family: 'Inter', serif;
    font-size: 28px; color: #fff; line-height: 1;
  }
  .hero-stat .num span { color: var(--amber); }
  .hero-stat .label {
    font-size: 11px; color: #9AB4D4; text-transform: uppercase;
    letter-spacing: 1px; margin-top: 2px;
  }

  /* ===== AUCTION TYPE TABS ===== */
  .tabs-wrap {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
  .tabs-inner {
    max-width: 1320px; margin: 0 auto;
    padding: 0 24px;
    display: flex; gap: 0;
  }
  .tab-btn {
    padding: 16px 32px; font-size: 14px; font-weight: 600;
    color: var(--text-mid); background: transparent;
    border: none; border-bottom: 3px solid transparent;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
    display: flex; align-items: center; gap: 8px;
    white-space: nowrap;
  }
  .tab-btn .tab-count {
    background: var(--navy-light); color: var(--navy);
    font-size: 11px; font-weight: 700; padding: 2px 8px;
    border-radius: 20px; transition: all 0.2s;
  }
  .tab-btn.active {
    color: var(--navy); border-bottom-color: var(--navy);
  }
  .tab-btn.active .tab-count {
    background: var(--navy); color: #fff;
  }
  .tab-btn:hover:not(.active) { color: var(--navy); background: var(--bg); }

  /* ===== FILTERS ===== */
  .filters-wrap {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    position: sticky; top: 64px; z-index: 90;
  }
  .filters-inner {
    max-width: 1320px; margin: 0 auto;
    padding: 14px 24px;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  }
  .filter-group { display: flex; flex-direction: column; gap: 3px; }
  .filter-label { font-size: 11px; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.8px; }
  .filter-select {
    height: 40px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); padding: 0 32px 0 12px;
    font-family: inherit; font-size: 13px; font-weight: 500;
    color: var(--text); background: var(--white);
    appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23445570' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center;
    min-width: 160px; transition: border-color 0.2s;
  }
  .filter-select:focus { outline: none; border-color: var(--navy); }
  .price-range-wrap {
    display: flex; align-items: center; gap: 6px;
  }
  .price-input {
    height: 40px; width: 110px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    padding: 0 10px; font-family: inherit; font-size: 13px;
    font-weight: 500; color: var(--text-dark); transition: border-color 0.2s;
  }
  .price-input:focus { outline: none; border-color: var(--navy); }
  .price-dash { color: var(--text-light); font-weight: 600; }
  .auction-toggle {
    display: flex; background: var(--bg);
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    overflow: hidden; height: 40px;
  }
  .toggle-opt {
    padding: 0 16px; font-size: 13px; font-weight: 600;
    color: var(--text-mid); background: transparent; border: none;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
    white-space: nowrap;
  }
  .toggle-opt.active {
    background: var(--navy); color: #fff;
  }
  .filter-actions { display: flex; gap: 8px; margin-left: auto;margin-top: 18px; }
  .btn-search {
    height: 40px; padding: 0 22px;
    background: var(--navy); color: #fff; border: none;
    border-radius: var(--radius-sm); font-family: inherit; font-size: 13px;
    font-weight: 700; cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; gap: 6px;
  }
  .btn-search:hover { background: var(--navy-dark); }
  .btn-reset {
    height: 40px; padding: 0 18px;
    background: transparent; color: var(--text-mid);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); font-family: inherit; font-size: 13px;
    font-weight: 600; cursor: pointer; transition: all 0.2s;
  }
  .btn-reset:hover { border-color: var(--navy); color: var(--navy); }

  /* ===== MAIN CONTENT ===== */
  .main-wrap {
    max-width: 1320px; margin: 0 auto;
    padding: 24px;
  }
  .results-bar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
  }
  .results-count {
    font-size: 14px; color: var(--text-mid);
  }
  .results-count strong { color: var(--text-dark); font-weight: 700; }
  .sort-wrap { display: flex; align-items: center; gap: 8px; }
  .sort-label { font-size: 13px; color: var(--text-light); }
  .sort-select {
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    padding: 6px 28px 6px 10px; font-family: inherit; font-size: 13px;
    font-weight: 600; color: var(--text-dark); background: var(--white);
    appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23445570' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 8px center;
  }
  .sort-select:focus { outline: none; border-color: var(--navy); }

  /* ============================
   PROPERTY CARDS
   ============================ */
.cards-section {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px 40px;
}
.cards-list { display: flex; flex-direction: column; gap: 14px; }

.prop-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex; overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
  animation: slideIn 0.35s ease both;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.prop-card:nth-child(1) { animation-delay: 0.04s; }
.prop-card:nth-child(2) { animation-delay: 0.09s; }
.prop-card:nth-child(3) { animation-delay: 0.14s; }
.prop-card:nth-child(4) { animation-delay: 0.19s; }
.prop-card:nth-child(5) { animation-delay: 0.24s; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.prop-card:hover {
  border-color: #b0bcdf;
  box-shadow: 0 6px 24px rgba(33,53,143,0.13);
}

/* Zone 1 — Image */
.card-img {
  width: 200px; flex-shrink: 0; position: relative;
  background: var(--navy-light); overflow: hidden;
  min-height: 180px;
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.card-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #c8d5f0 0%, #a8b8e8 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; min-height: 180px;
}
.card-img-placeholder svg { opacity: 0.25; color: var(--navy-dark); }
.card-img-placeholder span { font-size: 10px; color: var(--navy-dark); opacity: 0.35; font-weight: 700; letter-spacing: 1.5px; }
.status-pill {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; font-weight: 700; font-family: 'Inter', sans-serif;
  padding: 4px 10px; letter-spacing: 0.5px;
  border-radius: 20px; display: flex; align-items: center; gap: 5px;
}
.pill-live { background: var(--red); color: #fff; }
.pill-upcoming { background: var(--navy); color: #fff; }
.pill-closing { background: var(--navy-orange); color: #fff; }

/* Zone 2 — Info */
.card-info {
  flex: 1; padding: 16px 18px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between;
}
.card-info-top { display: flex; flex-direction: column; gap: 6px; }
.prop-type-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--navy-light); color: var(--navy);
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  width: fit-content; text-transform: uppercase; letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
  border-radius: 20px;
}
.card-city { font-size: 16px; font-weight: 700; color: var(--text); font-family: 'Inter', sans-serif; }
.card-address { font-size: 12px; color: var(--text-mid); line-height: 1.4; /*max-width: 320px;*/}
.card-meta { display: flex; gap: 16px; margin-top: 4px; position: relative;justify-content: space-between;
    align-items: flex-start;}
.card-meta-item {display: flex; align-items: center; gap: 5px;font-size: 12px; color: var(--text-light); font-weight: 600;}
.card-meta-item svg { color: var(--text-light); }
/* .qr_code {position: absolute;right: 0;top: 0;} */
.qr_code img { width: 100px;}
.borrower-row {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-light);
  padding-top: 8px; border-top: 1px solid var(--light-grey); margin-top: 4px;
}

/* Zone 3 — Auction */
.card-auction {
  width: 260px; flex-shrink: 0; padding: 16px 16px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between;
}
.auction-group { display: flex; flex-direction: column; gap: 8px; }
.arow {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 12px; color: var(--text-mid);
}
.arow svg { flex-shrink: 0; color: var(--text-light); margin-top: 1px; }
.arow-label { font-size: 10px; color: var(--text-light); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; display: block; }
.arow-val { font-size: 13px; font-weight: 700; color: var(--text); }

.countdown-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; font-family: 'Inter', sans-serif;
  padding: 4px 10px; text-transform: uppercase; letter-spacing: 0.3px;
  width: fit-content;
  border-radius: 20px;
}
.chip-urgent { background: var(--red-light); color: var(--red); }
.chip-normal { background: var(--amber-light); color: var(--amber); }
.chip-safe { background: var(--navy-light); color: var(--navy); }

.price-block { padding-top: 8px; margin-top: 8px; border-top: 1px solid var(--light-grey); }
.rsp-label { font-size: 11px; color: var(--text-light); font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; font-family: 'Inter', sans-serif; }
.rsp-val { font-size: 22px; font-weight: 900; color: var(--green); font-family: Inter; line-height: 1.5; }
.emd-val { font-size: 13px; color: #555; margin-top: 2px; font-weight: 700; font-family: Inter; }
.emd-val strong { font-weight: 700; }

/* Zone 4 — CTA */
.card-cta {
  width: 240px; flex-shrink: 0; padding: 16px 45px;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.btn-view {
  width: 100%; height: 42px; background: var(--navy); color: #fff;
  border: none; font-family: 'Inter', sans-serif; font-size: 12px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
  cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  border-radius: 8px;
}
.btn-view:hover { background: var(--navy-dark); }
.btn-interest {
  width: 100%; height: 42px; background: transparent; color: var(--navy);
  border: 1px solid var(--navy); font-family: 'Inter', sans-serif; font-size: 12px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  border-radius: 8px;
}
.btn-interest:hover { background: var(--navy); color: #fff; }
.emd-deadline {
  font-size: 10px; color: var(--text-light); text-align: center;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px;
}

  /* ===== PAGINATION ===== */
  .pagination {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; margin-top: 32px; padding-bottom: 40px;
  }
  .page-btn {
    width: 36px; height: 36px; display: grid; place-items: center;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 13px; font-weight: 600;
    color: var(--text-mid); background: var(--white);
    cursor: pointer; transition: all 0.2s;
  }
  .page-btn:hover { border-color: var(--navy); color: var(--navy); }
  .page-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
  .page-btn.arrow { font-size: 16px; }

  /* ===== MODAL OVERLAY ===== */
  .modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 9999; display: flex; align-items: flex-start; justify-content: flex-end;
    opacity: 0; pointer-events: none; transition: opacity 0.25s;
    backdrop-filter: blur(3px);
  }
  .modal-overlay.open { opacity: 1; pointer-events: all; }

  /* ===== VIEW DETAILS PANEL ===== */
  /* ============================
   DETAILS DRAWER
   ============================ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 9999; opacity: 0; pointer-events: none;
  transition: opacity 0.25s; backdrop-filter: blur(2px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 880px; max-width: 95vw; background: var(--white);
  z-index: 501; overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  border-radius: 16px 0 0 16px;
}
.modal-overlay.open .drawer { transform: translateX(0); }

.drawer-header {
  background: var(--navy); padding: 8px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0; position: sticky; top: 0; z-index: 10;
}
.drawer-header h2 {
  font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 900;
  color: #fff; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0;
}
.drawer-close {
  width: 32px; height: 32px; background: rgba(255,255,255,0.2);
  border: none; color: #fff; font-size: 18px; cursor: pointer;
  display: grid; place-items: center; transition: background 0.2s;
  border-radius: 8px;
}
.drawer-close:hover { background: rgba(255,255,255,0.3); }

.drawer-body { flex: 1; overflow-y: auto; }

/* Banner image in drawer */
.detail-img {
  width: 100%; height: 280px;
  background: linear-gradient(145deg, #c5dde3 0%, #a0c4ce 100%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
}
/* .detail-img svg { opacity: 0.2; color: var(--navy-dark); } */
.detail-img .auction-kv svg {
    fill: var(--amber);
}
.detail-img .status-pill {
    bottom: 10px;
    top: auto;
}
i.las.la-clock {
    font-size: 14px;
}
.detail-img .auction-kv {
    position: absolute;
    top: 0;
    right: 0;
}

.fancybox__container{z-index: 99999 !important;}

.detail-content { padding: 28px; }
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; }

.section-heading {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 900;
  color: var(--navy); text-transform: uppercase; letter-spacing: 1px;
  padding-bottom: 8px; border-bottom: 2px solid var(--navy);
  margin-bottom: 14px; margin-top: 20px;
  display: flex; align-items: center; gap: 8px;
}
.section-heading:first-child { margin-top: 0; }
.info_card {
    border-radius: 10px;
    border: 1px solid #DDD;
    background: #FFF;
    padding: 15px;
    margin-bottom: 15px;
}
.detail-img img{/*max-width: 100%;width: 100%;height: 100%;*/max-height: 100%;object-fit: cover;}
.detail-img a {
    max-height: 100%;
    object-fit: cover;
    height: 100%;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


.swiper-button-next, .swiper-button-prev {position:absolute; top:50%; transform:translateY(-50%); width:35px; height:35px; background:rgba(0,0,0,0.6); border-radius:50%; color:#fff; z-index:10;}
.swiper-button-next::after, .swiper-button-prev::after {font-size:14px;}
.swiper-button-prev {left:10px;}
.swiper-button-next {right:10px;}
.swiper-button-next:hover, .swiper-button-prev:hover {background:var(--navy);}
.propertySwiper .swiper-button-next svg, .propertySwiper .swiper-button-prev svg {
    width: auto;
    height: auto;
}

.propertySwiper .swiper-button-next, .propertySwiper .swiper-button-prev {
    color: #fff;
}

.detail-borrower {
  font-size: 13px; color: var(--text-mid);
  display: flex; align-items: center; gap: 6px; margin-bottom: 4px;
}
.detail-title {
  font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 900;
  color: var(--text); margin-bottom: 4px;
}
.detail-addr, .detail-disc { font-size: 13px; color: var(--text-mid); margin-bottom: 16px; }

.kv-table { width: 100%; border-collapse: collapse; }
.kv-table tr td {
  padding: 8px 12px; font-size: 13px;
  /* border-bottom: 1px solid var(--light-grey); */
}
.kv-table tr td .badge.badge-success {
    background: var(--red);
    color: #fff;
    border-radius: 50px;
}
.kv-table tr:nth-child(odd) td {
    background: #F8F8F8;
}
.kv-table tr td:first-child {
  font-weight: 700; color: var(--text-mid); width: 45%;
  font-family: 'Inter', sans-serif; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.3px;
  /* background: var(--off-white); */
}

/* Auction sidebar card */
.auction-card {
  border: 1px solid var(--border); background: var(--off-white);
  position: sticky; top: 20px;
  border-radius: 12px; overflow: hidden;
}
.auction-card-header {
  background: var(--navy); padding: 12px 16px;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 900;
  color: #fff; text-transform: uppercase; letter-spacing: 0.8px;
}
.auction-card-body { padding: 0; }
.auction-kv {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 16px; border-bottom: 1px solid var(--border);
}
.auction-kv.reserve_price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.auction-kv .urgent {
    color: var(--red);
}
.auction-kv:last-child { border-bottom: none; }
.akv-label { font-size: 11px; color: var(--text-light); font-weight: 700; text-transform: uppercase; font-family: 'Inter', sans-serif; }
.akv-val { font-size: 12px; font-weight: 700; color: var(--text); }
.rsp-big { font-size: 24px; font-weight: 900; color: var(--green); font-family: 'Inter', sans-serif; line-height: 1; }
.auction-card-cta { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.btn-interested-full {
  width: 100%; height: 44px; background: #F26B21; color: #fff;
  border: none; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer; transition: background 0.2s;
  border-radius: 8px;
}
.btn-interested-full:hover { background: var(--green); }

/* Docs */
.docs-list { display: flex; flex-direction: column; gap: 8px; }
.doc-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border: 1px solid var(--border); background: var(--white);
  border-radius: 8px;
}
.doc-item-left { display: flex; align-items: center; gap: 10px; }
.doc-icon-box {
  width: 32px; height: 32px; background: var(--red-light);
  display: grid; place-items: center;
  border-radius: 8px;
}
.doc-name { font-size: 13px; font-weight: 700; color: var(--text); font-family: 'Inter', sans-serif; }
.doc-sub { font-size: 11px; color: var(--text-light); }
.btn-dl {
  height: 32px; padding: 0 14px;
  background: var(--navy); color: #fff; border: none;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; gap: 5px;
  border-radius: 8px;
}
.btn-dl:hover { background: var(--navy-dark);color: var(--amber-light); }


  /* ===== INTERESTED MODAL ===== */
  .interested-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.55);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.25s;
    backdrop-filter: blur(4px);
  }
  .interested-overlay.open { opacity: 1; pointer-events: all;display: flex !important; }
button#editPhoneBtn {
    border: 0;
    background: var(--navy);
    color: #fff;
    border-radius: 5px;
    width: 22px;
    height: 22px;
    display: inline-block;
    align-items: center;
    font-size: 15px;
    margin-left: 8px;
}

button#editPhoneBtn:hover {
    background: var(--amber);
}
  .interested-modal {
    background: var(--white); border-radius: 16px;
    width: 520px; max-width: 95vw;
    box-shadow: 0 24px 80px rgba(0,0,0,0.25);
    overflow: hidden;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  }
  .interested-overlay.open .interested-modal { transform: scale(1) translateY(0); }

  .im-header {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    padding: 22px 28px;
    display: flex; align-items: flex-start; justify-content: space-between;
  }
  .im-header-left h3 {
    font-family: 'Inter', serif;
    font-size: 20px; color: #fff; margin-bottom: 4px;
  }
  .im-header-left p { font-size: 12px; color: #9AB4D4; margin-bottom: 0;}
  .im-close {
    width: 30px; height: 30px; background: rgba(255,255,255,0.15);
    border: none; border-radius: 50%; color: #fff;
    display: grid; place-items: center; cursor: pointer;
    font-size: 16px; flex-shrink: 0;
  }
.price-range-wrap select {
    min-width: 110px;
}
  .steps-indicator {
    display: flex; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .step-item {
    flex: 1; padding: 12px 16px;
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600; color: var(--text-light);
    border-bottom: 3px solid transparent;
  }
  .step-item.active { color: var(--navy); border-bottom-color: var(--navy); }
  .step-item.done { color: var(--green); border-bottom-color: var(--green); }
  .step-num {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--border); color: var(--text-light);
    display: grid; place-items: center; font-size: 11px; font-weight: 800;
    flex-shrink: 0;
  }
  .step-item.active .step-num { background: var(--navy); color: #fff; }
  .step-item.done .step-num { background: var(--green); color: #fff; }

  .im-body { padding: 24px 28px; }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-group { display: flex; flex-direction: column; gap: 5px; }
  .form-group.full { grid-column: span 2; }
  .form-group label {
    font-size: 12px; font-weight: 700; color: var(--text-mid);
    text-transform: uppercase; letter-spacing: 0.5px;
  }
  .form-input {
    height: 44px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); padding: 0 14px;
    font-family: inherit; font-size: 14px; color: var(--text-dark);
    transition: border-color 0.2s; width: 100%;
  }
  .form-input:focus { outline: none; border-color: var(--navy); }
  .source-row {
    display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px;
  }
  .source-opt {
    flex: 1; min-width: 80px;
    height: 38px; display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600; color: var(--text-mid);
    cursor: pointer; transition: all 0.2s; background: var(--white);
  }
  .source-opt.selected { background: var(--navy-light); color: var(--navy); border-color: var(--navy); }
  .tc-row {
    display: flex; align-items: flex-start; gap: 10px;
    background: var(--bg); border-radius: var(--radius-sm);
    padding: 12px; margin-top: 4px;
  }
  .tc-row input[type="checkbox"] {
    width: 18px; height: 18px; flex-shrink: 0;
    accent-color: var(--navy); cursor: pointer; margin-top: 2px;
  }
  .tc-row span { font-size: 12px; color: var(--text-mid); line-height: 1.5; }
  .tc-row a { color: var(--navy); text-decoration: underline; }

  .im-footer { padding: 0 28px 24px; }
  .btn-send-otp {
    width: 100%; height: 48px; background: var(--navy); color: #fff;
    border: none; border-radius: var(--radius-sm); font-family: inherit;
    font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .btn-send-otp:hover { background: var(--navy-dark); }

  /* Step 2 OTP */
  .otp-section { display: none; }
  .otp-desc { font-size: 13px; color: var(--text-mid); margin-bottom: 20px; text-align: center; }
  .otp-desc strong { color: var(--text-dark); }
  .otp-inputs {
    display: flex; gap: 10px; justify-content: center; margin-bottom: 20px;
  }
  .otp-box {
    width: 52px; height: 60px; border: 2px solid var(--border);
    border-radius: var(--radius-sm); font-size: 22px; font-weight: 800;
    text-align: center; color: var(--text-dark); font-family: inherit;
    transition: border-color 0.2s; background: var(--white);
  }
  .otp-box:focus { outline: none; border-color: var(--navy); }
  .resend-row { text-align: center; font-size: 13px; color: var(--text-light); }
  .resend-row a { color: var(--navy); text-decoration: none; font-weight: 600; }
  .btn-verify-otp {
    width: 100%; height: 48px; background: var(--green); color: #fff;
    border: none; border-radius: var(--radius-sm); font-family: inherit;
    font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.2s;
  }
  .btn-verify-otp:hover { background: #0a6038; }

  /* Success state */
  .success-state {
    display: none; padding: 40px 28px; text-align: center;
    flex-direction: column; align-items: center; gap: 14px;
  }
  .success-icon {
    width: 72px; height: 72px; background: var(--green-light);
    border-radius: 50%; display: grid; place-items: center; margin: 0 auto;
  }
  .success-state h3 {
    font-family: 'Inter', serif;
    font-size: 22px; color: var(--text-dark);
  }
  .success-state p { font-size: 14px; color: var(--text-mid); /*max-width: 320px;*/ }
  .btn-done {
    height: 44px; padding: 0 32px; background: var(--navy); color: #fff;
    border: none; border-radius: var(--radius-sm); font-family: inherit;
    font-size: 14px; font-weight: 700; cursor: pointer;
  }

  /* ===== EMPTY / PLACEHOLDERS ===== */
  .img-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #c8d8f0 0%, #e8eef8 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; color: var(--navy); opacity: 0.6;
  }
  .img-placeholder svg { opacity: 0.5; }

  /* ===== MOBILE FILTER BUTTON ===== */
.mobile-filter-btn {
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 7px;
    font-weight: 600;
    margin-bottom: 10px;
    cursor: pointer;
    position: fixed;
    bottom: 0;
    z-index: 9;
    left: 10px;
}

/* ===== OVERLAY ===== */
.filters-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

/* ===== DRAWER ===== */
.filters-drawer {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-height: 90%;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 20px;
    overflow-y: auto;
    transform: translateY(100%);
    transition: 0.3s ease;
}

/* ===== ACTIVE ===== */
.filters-overlay.active {
    opacity: 1;
    visibility: visible;
}

.filters-overlay.active .filters-drawer {
    transform: translateY(0);
}

/* ===== HEADER ===== */
.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.filters-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.filters-header button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}


button.panel-close {
    border-radius: 100px;
    width: 40px;
    height: 40px;
    border: 0;
    font-weight: 800;
}

button.panel-close:hover {
    background: var(--amber);
}

/* Pagination Wrapper */
.pagination {
    margin-top: 30px;
    text-align: center;
}

/* Pagination container */
.pagination nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

/* Page buttons */
.main-wrap .pagination a {
    /* display: inline-flex; */
    align-items: center;
    justify-content: center;
    width: 40px;
    /* height: 38px; */
    padding: 10px 0 !important;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Hover */
.pagination a:hover {
    background: var(--navy-dark) !important;
    color: #fff;
}

/* Active page */
.main-wrap .pagination span[aria-current="page"] span {
    background: var(--navy) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    /* height: 38px; */
    padding: 10px 0 !important;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Disabled buttons */
.pagination span[aria-disabled="true"] {
    cursor: not-allowed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    /* height: 38px; */
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    padding: 10px 0 !important;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}
.main-wrap .pagination .flex >div:first-child {
    display: none;
}
.main-wrap .pagination .flex div:nth-child(2) {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}
.main-wrap .pagination .flex div:nth-child(2) >span {
    box-shadow: none !important;
}
/* Previous & Next icons */
.pagination svg {
    width: 16px;
    height: 16px;
}
.main-wrap .pagination .flex {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-wrap .pagination .flex > span {
    border-radius: 6px;
    height: 38px;
    padding: 0 12px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pagination span[aria-disabled="true"] span {
    border: 0 !important;
    padding: 0 !important;
}

.qr_code {
    display: flex;
    flex-direction: column;
    font-size: 11px;
    align-items: center;
}


/* Mobile spacing */
@media (max-width: 640px) {
    .pagination nav {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .mobile-filter-btn {
        display: inline-flex;
    }

    .filters-inner {
        flex-direction: column;
    }

    .filter-actions {
        position: sticky;
        bottom: 0;
        background: #fff;
        padding-top: 10px;
    }
    .filters-inner {
    padding: 0px 0px 20px;
}
.filter-group {
    width: 100%;
}
.filters-inner .filter-group:nth-child(5) {
    align-items: flex-start;
}
.results-bar {
    flex-wrap: wrap;
    row-gap: 10px;
}
.tab-btn{padding: 16px 12px;}
.tabs-inner {
    overflow-y: auto;
}
.card-cta{width: 100%;}
.hero-inner{padding: 28px 15px;}
.tabs-inner{padding: 0 5px;}
.main-wrap {padding: 24px 15px;}
.price-block {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
}
.detail-grid {
    grid-template-columns:auto;
}
.detail-grid >div {
    width: 100%;
}
.detail-content {
    padding: 28px 15px;
}
.modal-overlay.open .drawer {
    max-width: 100vw;
    border-radius: 0;
}


}

/* ===== DESKTOP FIX ===== */
@media (min-width: 769px) {

    .filters-overlay {
        position: sticky !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
        height: auto;
    }

    .filters-drawer {
        position: static;
        transform: none !important;
        max-height: none;
        padding: 0;
        border-radius: 0;
        overflow: visible;
    }

    .filters-header {
        display: none;
    }

    .mobile-filter-btn {
        display: none !important;
    }
    
}

@media (max-width:767px){
.card-img {width: 100%;height: 15rem;}
.prop-card{flex-wrap: wrap;}
.card-auction{width: 100%;}
.page-banner h1 {
    font-size: 25px;

}
}