/* Listings Page - Business Deal Network */

.bdn-lp{
  padding: 26px 0 50px;
  background: #f8f9fb;
  color: #0f172a;
  }

.bdn-lp .bdn-lp__header{
  margin-bottom: 18px;
}

.bdn-lp h1{
  font-family: var(--sans);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: rgba(15, 23, 42, 0.96);
  margin: 0 0 6px;
}

.bdn-lp .bdn-lp__sub{
  color: rgba(15, 23, 42, 0.70);
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

.bdn-lp__bar{
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1.8fr 0.6fr;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.bdn-lp__search{
  position: relative;
}

.bdn-lp__search input{
  width: 100%;
  padding: 12px 12px 12px 42px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(2, 6, 23, 0.02);
  outline: none;
}

.bdn-lp__search svg{
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
}

.bdn-lp__sort select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(2, 6, 23, 0.02);
  outline: none;
}

.bdn-lp__filters{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.bdn-lp__filters select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(2, 6, 23, 0.02);
  outline: none;
}

.bdn-lp__grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bdn-card{
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.06);
  display: flex;
  flex-direction: column;
}

.bdn-card__media{
  position: relative;
  aspect-ratio: 16 / 9;
  background: rgba(2, 6, 23, 0.04);
}

.bdn-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bdn-badge{
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 8px 18px rgba(2,6,23,0.25);
  z-index: 3;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.bdn-badge--owned{ background: rgba(22,163,74,0.95); border-color: rgba(22,163,74,0.35); }
.bdn-badge--leased{ background: rgba(37,99,235,0.95); border-color: rgba(37,99,235,0.35); }

.bdn-fav{
  position: absolute;
  right: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(2, 6, 23, 0.10);
  color: rgba(22,163,74,1);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}

.bdn-fav:hover{ transform: translateY(-1px); box-shadow: 0 12px 24px rgba(2,6,23,.10); }
.bdn-fav svg{ opacity: 1; }

/* "Saved" state: green filled circle with white check */
.bdn-fav.is-on{ background: rgba(22,163,74,0.95); border-color: rgba(22,163,74,0.35); color: #fff; }

.bdn-card__body{
  padding: 14px 14px 12px;
}

.bdn-loc{
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(15,23,42,0.7);
  font-size: 14px;
}

.bdn-loc svg{ opacity: 0.7; }

.bdn-card__priceLabel{
  margin-top: 12px;
  font-size: 12px;
  color: rgba(15,23,42,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bdn-card__price{
  font-size: 22px;
  font-weight: 800;
  margin-top: 4px;
}

.bdn-card__stats{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid rgba(15,23,42,0.10);
  padding-top: 12px;
}

.bdn-stat__label{
  font-size: 12px;
  color: rgba(15,23,42,0.55);
}

.bdn-stat__value{
  font-weight: 800;
  margin-top: 3px;
}

.bdn-card__footer{
  padding: 0 14px 14px;
  margin-top: auto;
}

.bdn-btnView{
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(2, 6, 23, 0.12);
  background: #0b1220;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.bdn-btnView:hover{ filter: brightness(1.05); }

.bdn-empty{
  margin-top: 20px;
  background: #fff;
  border: 1px dashed rgba(15,23,42,0.22);
  border-radius: 14px;
  padding: 16px;
  color: rgba(15,23,42,0.7);
}

@media (max-width: 980px){
  .bdn-lp__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px){
  .bdn-lp__bar{ grid-template-columns: 1fr; }
  .bdn-lp__filters{ grid-template-columns: 1fr; }
  .bdn-lp__grid{ grid-template-columns: 1fr; }
}

/* Force light theme for listings area */
.bdn-lp h1{color:#0f172a;}
.bdn-lp .bdn-lp__sub{color:rgba(15,23,42,.7);}

/* Ensure the page behind this section is light */
#bdnListingsRoot{background:#f8f9fb;}



/* --- Card UI (matches screenshot) --- */
.bdn-lp__grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bdn-card{
  background:#fff;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 14px 40px rgba(2,6,23,0.10);
}

.bdn-card__media{
  position: relative;
  aspect-ratio: 16/9;
  background: rgba(2,6,23,0.04);
}

.bdn-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.bdn-badge{
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 8px 18px rgba(2,6,23,0.25);
  z-index: 3;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.bdn-badge--owned{ background: rgba(22,163,74,0.95); border-color: rgba(22,163,74,0.35); }
.bdn-badge--leased{ background: rgba(37,99,235,0.95); border-color: rgba(37,99,235,0.35); }

.bdn-fav{
  position:absolute;
  right:12px;
  top:12px;
  width:36px;
  height:36px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(2,6,23,0.10);
  color: rgba(22,163,74,1);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}

.bdn-fav:hover{ transform: translateY(-1px); box-shadow: 0 12px 24px rgba(2,6,23,.10); }
.bdn-fav svg{ opacity:1; }
.bdn-fav.is-on{ background: rgba(22,163,74,0.95); border-color: rgba(22,163,74,0.35); color:#fff; }

.bdn-card__body{
  padding: 14px 16px 16px;
}

.bdn-loc{
  display:flex;
  align-items:center;
  gap:10px;
  color: rgba(15,23,42,0.72);
  font-size: 14px;
  margin-bottom: 10px;
}


.bdn-label{
  font-size: 12px;
  color: rgba(15,23,42,0.55);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bdn-price{
  font-size: 22px;
  font-weight: 900;
  margin-top: 6px;
}

.bdn-stats{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid rgba(15,23,42,0.10);
  padding-top: 12px;
}

.bdn-stat__label{
  font-size: 12px;
  color: rgba(15,23,42,0.55);
}

.bdn-stat__val{
  font-weight: 900;
  margin-top: 4px;
}

.bdn-btn{
  margin-top: 14px;
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(2,6,23,0.12);
  background: #0b1220;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.bdn-btn:hover{ filter: brightness(1.06); }

@media (max-width: 980px){
  .bdn-lp__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px){
  .bdn-lp__grid{ grid-template-columns: 1fr; }
}

/* --- Single Listing layout --- */
.bdn-single{
  padding: 26px 0 50px;
  background: #f8f9fb;
}
.bdn-single .bdn-single__wrap{
  max-width: 920px;
  margin: 0 auto;
}
.bdn-single .bdn-single__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.bdn-single .bdn-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.12);
  background: #fff;
  color: #0f172a;
  font-weight: 800;
  text-decoration:none;
}
.bdn-single .bdn-content{
  margin-top: 16px;
  background:#fff;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(2,6,23,0.06);
}


/* --- Location line typography (professional like reference) --- */
.bdn-loc{
  display:flex;
  align-items:center;
  gap:10px;
  margin: 2px 0 12px;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.bdn-loc__icon{
  display:inline-flex;
  width:18px;
  height:18px;
  color: rgba(15,23,42,0.55);
}
.bdn-loc__text{
  color: #111827;
  font-weight: 800;
}



/* --- Premium Typography Update --- */

/* Title (Manrope) */
.bdn-dtitle,
.bdn-card__body h2,
.bdn-title{
  font-family: 'Inter', serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}


/* Price (Inter 700) */
.bdn-price,
.bdn-dpricebox .val,
.bdn-card__price{
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

/* Small Labels (Inter 600) */
.bdn-label,
.bdn-stat__label,
.bdn-dpricebox .lbl{
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
}


/* --- Premium hover effect (like your video) --- */
.bdn-card{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
}
.bdn-card__media img{
  transition: transform .28s ease;
  transform-origin: center;
}
.bdn-card__media::after{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(2,6,23,0.10), rgba(2,6,23,0.00) 55%);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events:none;
}
.bdn-card:hover{ box-shadow: 0 22px 50px rgba(2,6,23,0.18); }
.bdn-card:hover .bdn-card__media img{
  transform: scale(1.04);
}
.bdn-card:hover .bdn-card__media::after{
  opacity: 1;
}
.bdn-fav{
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.bdn-card:hover .bdn-fav{
  transform: scale(1.04);
  box-shadow: 0 10px 20px rgba(2,6,23,0.18);
  border-color: rgba(15,23,42,0.18);
}

/* Button hover also a bit nicer */
.bdn-btnView{
  transition: filter .18s ease, transform .18s ease;
}
.bdn-card:hover .bdn-btnView{
  filter: brightness(1.06);
}
.bdn-btnView:hover{
  transform: translateY(-1px);
}

.bdn-fav{
  transition: transform .25s ease;
}
.bdn-card:hover .bdn-fav{
  transform: scale(1.08);
}

.bdn-badge{
  opacity:1 !important;
  z-index:3;
}


/* Badge hover effect (like your video) */
.bdn-badge{
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bdn-badge:hover{
  background-color: rgba(22,163,74,0.96) !important;
  border-color: rgba(22,163,74,0.40) !important;
  transform: scale(1.03);
  box-shadow: 0 10px 22px rgba(2,6,23,0.28) !important;
}



/* --- Listing Card Typography (match reference screenshot) --- */
.bdn-card__body{
  padding: 16px 18px 18px;
}
.bdn-loc{
  margin: 4px 0 12px;
  display:flex;
  align-items:center;
  gap:10px;
}
.bdn-loc__icon{
  width:18px; height:18px;
  display:inline-flex;
  color: rgba(15,23,42,0.55);
}
.bdn-loc__text{
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.bdn-card__label,
.bdn-price-label{
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(15,23,42,0.55);
  letter-spacing: 0.02em;
  text-transform: none;
}

.bdn-card__price,
.bdn-price{
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-top: 4px;
}

.bdn-stats{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15,23,42,0.08);
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.bdn-card__statLabel{
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(15,23,42,0.55);
  letter-spacing: 0.02em;
}
.bdn-card__statVal{
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  margin-top: 4px;
  letter-spacing: -0.01em;
}

/* Button like screenshot */
.bdn-btn{
  margin-top: 14px;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 900;
  letter-spacing: 0;
}