
/* ---------- GRID LAYOUT ---------- */
/* ==========================================================
   BNB RESULTS GRID – Layout & Container
   ========================================================== */
#bnb-results.bnb-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background: #ffffff;

  /* Inherit global body font */
  font-family: var(--font-body);
}

@media (max-width:1024px) {
  #bnb-results.bnb-results-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width:640px) {
  #bnb-results.bnb-results-grid { grid-template-columns: 1fr; padding: 20px; }
}

/* ---------- CARD BASE + GOLD HALO (single source of truth) ---------- */
.bnb-card,
.featured-listings .bnb-card-uniform { /* featured section re-use */
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(212,175,55,0.3);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08), inset 0 0 10px rgba(212,175,55,0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
 /*===== font-family: 'Poppins', sans-serif; ===== */
}

/* inner halo preserved via ::before on the visible wrapper */
.bnb-card::before,
.featured-listings .bnb-card-uniform::before,
.bnb-result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: inset 0 0 15px rgba(212,175,55,0.25);
  opacity: 0.6;
  transition: opacity 0.4s ease, box-shadow 0.4s ease;
}

/* hover lift + stronger halo + border color change */
.bnb-card:hover,
.featured-listings .bnb-card-uniform:hover,
.bnb-result-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,0.75);
  box-shadow:
    0 12px 28px rgba(0,0,0,0.18),
    0 0 30px rgba(212,175,55,0.45),
    inset 0 0 14px rgba(212,175,55,0.35);
}
.bnb-card:hover::before,
.featured-listings .bnb-card-uniform:hover::before,
.bnb-result-card:hover::before {
  opacity: 1;
  box-shadow: inset 0 0 25px rgba(212,175,55,0.45);
}

/* ---------- IMAGE (zoom) ---------- */
.bnb-card-image img,
.featured-listings .bnb-card-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  border-radius: 18px 18px 0 0;
}
.bnb-card:hover .bnb-card-image img,
.featured-listings .bnb-card-uniform:hover .bnb-card-image img { transform: scale(1.05); }

/* ---------- CARD CONTENT (LOCAL) ---------- */
.bnb-card-content,
.featured-listings .bnb-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #fff;
  padding: 22px;
}



/* ---------- CARD TITLE (LOCAL) ---------- */
.bnb-card-title,
.featured-listings .bnb-card-title {
  font-size: 1.3rem;
  text-align:center;
  font-weight: 600 !important;
  color: #1C1C1C;
  margin-bottom: 8px;
  line-height: 1.3;
}

.featured-listings .bnb-card-title {
  font-size: 1.3rem;
  font-weight:400;
}


/* ---------- CARD LOCATION (LOCAL) ---------- */
.bnb-card-location,
.featured-listings .bnb-card-location {
  font-size: 0.95rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.bnb-card-location i {
  color: #d4af37;
}


/* ---------- SPECS ---------- */
/* ---------- CARD SPECS (LOCAL) ---------- */
.bnb-specs {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 16px;
}

.bnb-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.bnb-specs i {
  color: #d4af37;
}

.bnb-specs span:not(:last-child)::after {
  content: "|";
  color: #AA4A44;
  margin-left: 0.6rem;
}


/* ---------- TAGS / META PILLS (LOCAL) ---------- */
.bnb-footer-tags,
.featured-listings .bnb-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px 0;
  justify-content: flex-start;
}

.meta-pill {
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  color: #333;
  font-weight: 500;
  text-transform: capitalize;
}

.meta-pill:empty {
  display: none !important;
}


/* ---------- FOOTER (CONTACT + PRICE) ---------- */
.bnb-footer-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(212,175,55,0.25);
  padding-top: 12px;
  margin-top: auto;
}

.bnb-card-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bnb-card-contact i {
  color: #d4af37;
  font-size: 1.15rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.bnb-card-contact i:hover {
  transform: scale(1.1);
}

.bnb-card-contact i.fa-whatsapp:hover { color: #25D366; }
.bnb-card-contact i.fa-phone:hover { color: #007bff; }
.bnb-card-contact i.fa-envelope:hover { color: #ea4335; }

.bnb-card-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: #222;
  display: flex;
  align-items: center;
  gap: 5px;
}


/* ---------- REVEAL ANIMATION ---------- */
.bnb-result-card { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.bnb-result-card.visible { opacity: 1; transform: translateY(0); }

/* ---------- SOFT LINKS ---------- */
.bnb-soft-link {
  position: relative;
  display: inline-block;
  font-family: var(--font-softlink);
  font-weight: 500;
  color: var(--color-text-default);
  text-decoration: none;
  padding-bottom: 3px;
  transition: all 0.3s ease;
}

.bnb-soft-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 2px;
  background: var(--color-accent-gold);
  transition: width 0.3s ease, background 0.3s ease;
}

.bnb-soft-link:hover {
  color: var(--color-accent-hover);
}

.bnb-soft-link:hover::after {
  width: 100%;
  background: var(--color-accent-hover);
}


/* ---------- LUXURY DOUBLE BORDER REDUCTION (optimized) ----------
   We removed the separate square inner ::after border and consolidated
   the glow/inner halo into the ::before and main border. This removes
   the "double-border" visual while keeping the gold glow and hover.
   ------------------------------------------------------------------ */
.bnb-result-card {
  position: relative; /* ensured above */
  border: 2px solid rgba(212,175,55,0.3);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: inset 0 0 15px rgba(212,175,55,0.25);
}

/* ---------- SWIPER / PAGINATION COLORS (untouched) ---------- */
.swiper-slide .bnb-card { height: 100%; }
.swiper-pagination-bullet { background: #d4af37 !important; opacity: 1 !important; }
.swiper-pagination-bullet-active { background: #bfa02f !important; }

/* ---------- LOADER (unchanged) ---------- */
#bnb-loader {
  display: none;
  text-align: center;
  margin: 50px auto;
  height: 32px;
  width: 80px;
  position: relative;
}
#bnb-loader::before,
#bnb-loader::after,
#bnb-loader span {
  content: "";
  position: absolute;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #d4af37;
  animation: bnb-dotBreathe 1.8s infinite ease-in-out both;
  box-shadow: 0 0 12px rgba(212,175,55,0.5);
}
#bnb-loader::before { left: 0; animation-delay: -0.36s; }
#bnb-loader span { left: 32px; animation-delay: -0.18s; }
#bnb-loader::after { left: 64px; }
@keyframes bnb-dotBreathe {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.3; }
  40% { transform: scale(1.2); opacity: 1; }
}

/* ======================================================
   Notes (what I changed/removed)
   - Removed duplicate selectors and repeated rule blocks.
   - Removed the square inner ::after decorative border that caused
     the double-border effect; consolidated halo into ::before.
   - Kept all hover transforms, gold glow, and image zoom intact.
   - Kept local font-face declarations and Poppins/Canela usage.
   ====================================================== */



/* ---------- FINAL FONT REINFORCEMENT (Canela Priority) ---------- */
.bnb-card-title,
.featured-listings .bnb-card-title {
  font-family: var(--font-heading) !important;
}
