@charset "UTF-8";
.bds-gallery img {
  width: 100%;
  object-fit: contain;
}

.bds-gallery .single-bds-img-thumb img {
  border-radius: 10px;
}

.bds-gallery .single-bds-img-thumb img {
  object-fit: cover;
}

.bds-table {
  width: 100%;
  border-collapse: collapse;
}

.bds-table td {
  padding: 6px 10px;
  border-bottom: 1px solid #eee;
}

.bds-table td:first-child {
  font-weight: 600;
  color: #555;
}

.bds-content .content p {
  margin-bottom: 1em;
}

.box {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px !important;
}

.text-danger {
  color: #d00;
}

.bds-gallery {
  border-radius: 12px;
  overflow: hidden;
  /* margin-bottom: 30px; */
  position: relative;
}

.bds-slide-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .bds-slide-img {
    height: 260px;
  }
}
/* ======= DISCOVERY: PROPERTY AREAS ======= */
.bds-area-directory {
  --bds-area-primary: #3379bf;
  --bds-area-primary-dark: #22588d;
  --bds-area-accent: #f6e27a;
  margin: 0 auto;
}

.bds-discovery-heading {
  margin-bottom: 24px;
  text-align: center;
}

.bds-discovery-heading h2 {
  margin: 0 0 8px;
  color: #222;
}

.bds-discovery-heading p {
  margin: 0;
  color: #6d6d6d;
}

.bds-area-directory-grid {
  display: grid;
  grid-template-columns: repeat(var(--bds-area-columns, 4), minmax(0, 1fr));
  gap: 18px;
}

.bds-area-directory-card {
  overflow: hidden;
  border: 1px solid #e5e5e1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(27, 27, 27, 0.06);
}

.bds-area-directory-parent {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px;
  background: var(--bds-area-primary);
  color: #fff !important;
  font-weight: 700;
}

.bds-area-directory-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--bds-area-accent);
  color: var(--bds-area-primary-dark);
}

.bds-area-directory-name {
  flex: 1 1 auto;
}

.bds-area-directory-count,
.bds-area-directory-children small {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--bds-area-accent);
  color: #51460a;
  font-size: 11px;
  font-weight: 700;
}

.bds-area-directory-children {
  margin: 0 !important;
  padding: 8px 16px 12px !important;
  list-style: none;
}

.bds-area-directory-children li {
  margin: 0 !important;
  border-bottom: 1px solid #f0f0ed;
}

.bds-area-directory-children li:last-child {
  border-bottom: 0;
}

.bds-area-directory-children a {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  color: #444;
  font-size: 13px;
}

.bds-area-directory-children a:hover {
  color: var(--bds-area-primary);
}

/* ======= DISCOVERY: PROPERTY PRICE ======= */
.bds-price-directory {
  --bds-price-primary: #3379bf;
  --bds-price-accent: #f6e27a;
}

.bds-price-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bds-price-directory-item {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid #e5e5e1;
  border-radius: 12px;
  background: #fff;
  color: #222;
  box-shadow: 0 5px 18px rgba(27, 27, 27, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bds-price-directory-item:hover {
  border-color: var(--bds-price-primary);
  color: var(--bds-price-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(51, 121, 191, 0.16);
}

.bds-price-directory-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--bds-price-accent);
  color: #51460a;
}

.bds-price-directory-label {
  flex: 1 1 auto;
  font-weight: 700;
}

.bds-price-directory-count {
  color: #6d6d6d;
  font-size: 12px;
}

.bds-price-directory-arrow {
  color: var(--bds-price-primary);
  font-size: 12px;
}

.bds-property-archive-hero {
  padding: 44px 0 48px;
  background: linear-gradient(125deg, #1f5e99 0%, #3379bf 58%, #5b9bd5 100%);
  color: #fff;
}

.bds-property-archive-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 5vw, 52px);
}

.bds-property-archive-filter-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  padding: 13px 16px;
  border-left: 4px solid #f6e27a;
  background: #fffdf0;
  color: #51460a;
}

.bds-property-archive-filter-note a {
  margin-left: auto;
  color: #3379bf;
  font-weight: 700;
}

@media (max-width: 900px) {
  .bds-price-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .bds-price-directory-grid {
    grid-template-columns: 1fr;
  }
  .bds-property-archive-filter-note a {
    width: 100%;
    margin-left: 0;
  }
}
@media (max-width: 900px) {
  .bds-area-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .bds-area-directory,
  .bds-price-directory {
    box-sizing: border-box;
    padding-right: 16px;
    padding-left: 16px;
  }
  .bds-discovery-heading p {
    overflow-wrap: anywhere;
  }
  .bds-area-directory-grid {
    grid-template-columns: 1fr;
  }
}
/* BDS Swiper styles */
.bds-swiper-container {
  margin-bottom: 30px;
}

.bds-swiper-main .swiper {
  position: relative;
  width: 100%;
}

.bds-swiper-main .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bds-swiper-main .swiper-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Thumbnail strip */
.bds-swiper-thumbs {
  margin-top: 12px;
}

.bds-swiper-thumbs .swiper-slide {
  width: auto;
  opacity: 0.6;
  cursor: pointer;
  padding: 2px;
  transition: opacity 0.2s ease;
}

.bds-swiper-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.bds-swiper-thumbs .swiper-slide img {
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

/* Navigation buttons (simple) */
.bds-swiper-button-prev, .bds-swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.bds-swiper-button-prev {
  left: 12px;
}

.bds-swiper-button-next {
  right: 12px;
}

/* Pagination position */
.bds-swiper-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .bds-swiper-main .swiper-slide img {
    height: 260px;
  }
  .bds-swiper-thumbs .swiper-slide img {
    height: 56px;
  }
}
.single-bds-img-active {
  height: 60vh !important;
}

.single-bds-img-thumb {
  height: 12vh !important;
}

@media (max-width: 768px) {
  .single-bds-img-active {
    height: clamp(240px, 44svh, 380px) !important;
  }
  .single-bds-img-thumb {
    height: 58px !important;
  }
}
.bds-gallery-wrapper {
  text-align: center;
  margin: 0 auto 20px;
  max-width: 700px;
}

.bds-main-img img {
  width: 100%;
  border-radius: 12px;
  cursor: zoom-in;
  transition: all 0.3s ease;
}

.bds-main-img:hover img {
  transform: scale(1.02);
}

.section-gallery {
  padding: 0 !important;
}

.bds-single-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: min(1180px, 100% - 40px);
  margin: 22px auto 0;
  color: #6d6d6d;
  font-size: 13px;
  line-height: 1.5;
}

.bds-single-breadcrumb a {
  color: #3379bf;
  font-weight: 600;
}

.bds-single-breadcrumb a:hover {
  color: #22588d;
  text-decoration: underline;
}

.bds-single-breadcrumb [aria-current=page] {
  overflow: hidden;
  color: #333;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .bds-single-breadcrumb {
    width: min(100% - 28px, 1180px);
    margin-top: 16px;
    font-size: 12px;
  }
}
/* STYLE MOI CUA TRANG CHI TIET */
/* ======= BẤT ĐỘNG SẢN - STYLE CHUYÊN NGHIỆP ======= */
.bds-info.box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  padding: 25px 30px;
  margin-bottom: 30px;
}

.bds-info h1 {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
  line-height: 1.3;
}

.bds-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 25px 0 10px;
  /* color: #b20000;
  border-left: 4px solid #b20000; */
  padding-left: 10px;
}

.bds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.bds-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.bds-table td:first-child {
  width: 35%;
  color: #555;
  font-weight: 600;
  padding: 10px 10px 10px 0;
}

.bds-table td:last-child {
  color: #111;
  padding: 10px;
}

.bds-table td i {
  margin-right: 6px;
  color: #ff9c00; /* icon vàng Flatsome */
}

/* ======= NỔI BẬT GIÁ ======= */
.bds-table .text-danger {
  color: #e63946;
  font-weight: 700;
  font-size: 18px;
}

/* === BDS GRID STYLE (giữ Flatsome gốc, chỉ thêm hiệu ứng và màu nhận diện) === */
.bds-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.bds-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* === IMAGE === */
.bds-item .box-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.bds-item .box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bds-item:hover .box-image {
  border-bottom: 3px solid #b20000;
}

.bds-item:hover .box-image img {
  transform: scale(1.06);
}

/* === PRICE TAG (Góc ảnh) === */
.bds-item .price-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #b20000;
  color: #fff;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

/* === TEXT CONTENT === */
.bds-item .box-text {
  position: relative;
  padding: 16px 18px 20px;
  color: #111;
  min-height: 160px;
  /* nền bán trong suốt để backdrop-filter có cái để làm mờ */
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* Safari */
  border: 1px solid rgba(178, 0, 0, 0.08); /* nhẹ theo tone #b20000 */
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: background 0.25s ease, transform 0.25s ease;
}

.bds-item:hover .box-text {
  background: #fff5f5;
}

/* === TITLE === */
.bds-item .post-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.bds-item ul,
.bds-item li {
  margin: 0 !important;
  padding: 0;
  list-style: none;
}

.bds-item li {
  display: -webkit-box;
  -webkit-line-clamp: 1; /* 👈 Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bds-item:hover .post-title {
  /* color: #b20000; */
}

/* ===== Tiêu đề bài bất động sản ===== */
.box .post-title {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  margin: 8px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 👈 Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.8em; /* đảm bảo cân khung khi 1 dòng */
  transition: color 0.3s ease, transform 0.25s ease;
}

/* Hover hiệu ứng nổi bật màu chủ đạo */
.box:hover .post-title {
  /* color: #b20000; */
  transform: translateY(-2px);
}

/* Thêm hiệu ứng mềm mại cho UX */
.box {
  padding: 12px !important;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Ảnh hiển thị đẹp hơn */
.box-image img {
  transition: transform 0.4s ease;
  border-radius: 8px;
}

.box:hover .box-image img {
  transform: scale(1.05);
}

/* === DETAIL INFO === */
.bds-item .box-text {
  padding: 12px !important;
}

.bds-item .box-text p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 6px;
}

.bds-item .box-text p strong {
  color: #b20000;
  font-weight: 600;
}

/* === ICONS (tùy chọn, nếu có Font Awesome) === */
.bds-item .box-text p i {
  margin-right: 5px;
  color: #b20000;
}

/* === HOVER BORDER GLOW === */
.bds-item:hover {
  border: 1px solid #b20000;
  box-shadow: 0 0 10px rgba(178, 0, 0, 0.25);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .bds-item .box-text {
    padding: 12px 14px;
  }
  .bds-item .post-title {
    font-size: 1rem;
  }
}
/* ======= PROPERTY TAXONOMY ARCHIVE ======= */
.bds-taxonomy-page {
  --bds-archive-primary: #3379bf;
  --bds-archive-primary-dark: #22588d;
  --bds-archive-accent: #f6e27a;
  --bds-archive-accent-text: #51460a;
  --bds-archive-text: #202020;
  --bds-archive-muted: #6d6d6d;
  background: #f7f7f5;
  color: var(--bds-archive-text);
}

.bds-taxonomy-container {
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
}

.bds-taxonomy-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 58px;
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.14), transparent 30%), linear-gradient(125deg, #1f5e99 0%, #3379bf 58%, #5b9bd5 100%);
  color: #fff;
}

.bds-taxonomy-hero::after {
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.bds-taxonomy-breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.bds-taxonomy-breadcrumb a {
  color: #fff;
}

.bds-taxonomy-breadcrumb a:hover {
  text-decoration: underline;
}

.bds-taxonomy-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 32px;
  align-items: flex-end;
  justify-content: space-between;
}

.bds-taxonomy-eyebrow {
  margin: 0 0 8px;
  color: var(--bds-archive-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bds-taxonomy-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
}

.bds-taxonomy-description {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.65;
}

.bds-taxonomy-description p {
  margin: 0;
}

.bds-taxonomy-map-link {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: var(--bds-archive-accent);
  color: var(--bds-archive-primary-dark) !important;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(22, 67, 112, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bds-taxonomy-map-link:hover {
  color: var(--bds-archive-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(22, 67, 112, 0.32);
}

.bds-taxonomy-content {
  padding: 34px 0 72px;
}

.bds-taxonomy-filters {
  display: flex;
  gap: 10px;
  margin: 0 0 38px;
  padding: 4px 0 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.bds-taxonomy-filter {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #dededb;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.bds-taxonomy-filter span {
  display: grid;
  min-width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 999px;
  background: #f1f1ee;
  color: #6b6b6b;
  font-size: 11px;
}

.bds-taxonomy-filter:hover,
.bds-taxonomy-filter.is-active {
  border-color: var(--bds-archive-primary);
  background: var(--bds-archive-primary);
  color: #fff;
}

.bds-taxonomy-filter:hover span,
.bds-taxonomy-filter.is-active span {
  background: var(--bds-archive-accent);
  color: var(--bds-archive-accent-text);
}

.bds-taxonomy-filter-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 30px;
  padding: 18px;
  border: 1px solid #e2e2dd;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(28, 52, 74, 0.06);
}

.bds-taxonomy-filter-panel {
  margin: 0 0 30px;
  overflow: hidden;
  border: 1px solid #e2e2dd;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(28, 52, 74, 0.06);
}

.bds-taxonomy-filter-panel summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 18px;
  color: var(--bds-archive-primary-dark);
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.bds-taxonomy-filter-panel summary::-webkit-details-marker {
  display: none;
}

.bds-taxonomy-filter-panel summary::after {
  content: "+";
  flex: 0 0 22px;
  text-align: center;
  color: var(--bds-archive-primary);
  font-size: 22px;
  font-weight: 400;
}

.bds-taxonomy-filter-panel[open] summary {
  border-bottom: 1px solid #ecece8;
}

.bds-taxonomy-filter-panel[open] summary::after {
  content: "−";
}

.bds-taxonomy-filter-panel-title {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 9px;
  align-items: center;
  font-weight: 800;
}

.bds-taxonomy-filter-panel-meta {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  color: #6b747c;
  font-size: 13px;
  text-align: right;
  text-overflow: ellipsis;
}

.bds-taxonomy-filter-panel .bds-taxonomy-filter-controls {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.bds-taxonomy-filter-field {
  display: grid;
  gap: 6px;
}

.bds-taxonomy-filter-field label {
  color: #4d5964;
  font-size: 13px;
  font-weight: 700;
}

.bds-taxonomy-filter-field--sort {
  display: grid;
  grid-column: 1/-1;
  grid-template-columns: max-content minmax(260px, 1fr);
  align-items: center;
  gap: 14px;
  align-self: start;
  width: min(100%, 700px);
  padding: 8px 12px;
  border: 1px solid #c8d8ec;
  border-left: 4px solid var(--bds-archive-primary);
  border-radius: 8px;
  background: #f3f7fc;
}

.bds-taxonomy-sort-copy label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #244f7a;
  font-size: 14px;
  font-weight: 800;
}

.bds-taxonomy-sort-copy {
  max-width: 100%;
  white-space: nowrap;
}

.bds-taxonomy-sort-copy label i {
  color: var(--bds-archive-primary);
  font-size: 15px;
}

.bds-taxonomy-filter-field input,
.bds-taxonomy-filter-field select {
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid #d5d9dc;
  border-radius: 8px;
  color: #252b31;
  background: #fff;
  font: inherit;
}

.bds-taxonomy-filter-field--sort select {
  min-width: 0;
  width: 100%;
  border-color: #8da9c9;
  font-weight: 700;
}

.bds-taxonomy-filter-field--sort:focus-within {
  box-shadow: 0 0 0 3px rgba(57, 113, 170, 0.16);
}

.bds-taxonomy-filter-actions {
  display: flex;
  grid-column: 1/-1;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.bds-taxonomy-filter-actions button {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--bds-archive-primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.bds-taxonomy-filter-actions a {
  color: var(--bds-archive-primary);
  font-weight: 700;
}

.bds-taxonomy-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.bds-taxonomy-heading-row h2 {
  margin: 4px 0 0;
  color: #222;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.2;
}

.bds-taxonomy-result-count {
  margin: 0;
  color: var(--bds-archive-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bds-taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bds-taxonomy-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e5e5e1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(27, 27, 27, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.bds-taxonomy-card:hover {
  border-color: rgba(51, 121, 191, 0.34);
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(50, 20, 20, 0.13);
}

.bds-taxonomy-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
}

.bds-taxonomy-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #ececea url("../img/no-image-found.jpg") center/cover no-repeat;
}

.bds-taxonomy-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.bds-taxonomy-card:hover .bds-taxonomy-card-image img {
  transform: scale(1.045);
}

.bds-taxonomy-status,
.bds-taxonomy-price {
  position: absolute;
  z-index: 1;
  top: 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.bds-taxonomy-status {
  left: 14px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.94);
  color: #3c7a32;
}

.bds-taxonomy-status.status-dang_ban {
  background: #e8f5e9;
  color: #2e7d32;
}

.bds-taxonomy-status.status-da_co {
  background: #fff2b8;
  color: #7a5b00;
}

.bds-taxonomy-status.status-da_ban {
  background: #eceff1;
  color: #54626c;
}

.bds-taxonomy-price {
  right: 14px;
  padding: 7px 12px;
  background: #b20000;
  color: #fff;
}

.bds-taxonomy-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.bds-taxonomy-card-body h3 {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 0 0 10px;
  overflow: hidden;
  color: #242424;
  font-size: 16px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bds-taxonomy-location {
  display: flex;
  min-height: 42px;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 16px;
  color: var(--bds-archive-muted);
  font-size: 13px;
  line-height: 1.5;
}

.bds-taxonomy-location i {
  margin-top: 4px;
  color: var(--bds-archive-primary);
}

.bds-taxonomy-location span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bds-taxonomy-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  margin: 0 0 20px !important;
  padding: 15px 0 0 !important;
  border-top: 1px solid #eeeeeb;
  list-style: none;
}

.bds-taxonomy-meta li {
  display: flex;
  min-width: 0;
  gap: 7px;
  align-items: center;
  margin: 0 !important;
  color: #555;
  font-size: 12px;
}

.bds-taxonomy-meta i {
  flex: 0 0 auto;
  color: var(--bds-archive-primary);
}

.bds-taxonomy-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bds-taxonomy-card-cta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  color: var(--bds-archive-primary);
  font-size: 13px;
  font-weight: 700;
}

.bds-taxonomy-card-cta i {
  transition: transform 0.2s ease;
}

.bds-taxonomy-card:hover .bds-taxonomy-card-cta i {
  transform: translateX(4px);
}

.bds-taxonomy-pagination {
  margin-top: 42px;
}

.bds-taxonomy-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.bds-taxonomy-pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #dadad6;
  border-radius: 9px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.bds-taxonomy-pagination .page-numbers.current,
.bds-taxonomy-pagination a.page-numbers:hover {
  border-color: var(--bds-archive-primary);
  background: var(--bds-archive-primary);
  color: #fff;
}

.bds-taxonomy-empty {
  padding: 70px 24px;
  border: 1px dashed #d3d3cf;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.bds-taxonomy-empty > i {
  margin-bottom: 20px;
  color: #b9b9b3;
  font-size: 48px;
}

.bds-taxonomy-empty h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.bds-taxonomy-empty p {
  margin: 0 auto 22px;
  color: var(--bds-archive-muted);
}

.bds-taxonomy-empty a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--bds-archive-primary);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .bds-taxonomy-filter-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .bds-taxonomy-filter-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bds-taxonomy-filter-field--sort {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}
@media (max-width: 900px) {
  .bds-taxonomy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bds-taxonomy-hero {
    padding: 38px 0 36px;
  }
  .bds-taxonomy-breadcrumb {
    margin-bottom: 16px;
  }
  .bds-taxonomy-hero-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .bds-taxonomy-hero h1 {
    font-size: clamp(30px, 4.2vw, 38px);
  }
  .bds-taxonomy-description {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.5;
  }
}
@media (max-width: 600px) {
  .bds-taxonomy-container {
    width: min(100% - 28px, 1180px);
  }
  .bds-taxonomy-hero {
    padding: 24px 0 26px;
  }
  .bds-taxonomy-breadcrumb {
    margin-bottom: 12px;
  }
  .bds-taxonomy-hero h1 {
    font-size: 27px;
  }
  .bds-taxonomy-description {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.45;
  }
  .bds-taxonomy-map-link {
    min-height: 40px;
    gap: 8px;
    padding: 0 14px;
    font-size: 14px;
  }
  .bds-taxonomy-content {
    padding: 24px 0 52px;
  }
  .bds-taxonomy-filters {
    gap: 7px;
    margin-bottom: 20px;
    padding: 2px 0 5px;
  }
  .bds-taxonomy-filter {
    gap: 6px;
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }
  .bds-taxonomy-filter span {
    min-width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .bds-taxonomy-filter-controls {
    gap: 8px 10px;
    padding: 10px 14px 14px;
  }
  .bds-taxonomy-filter-panel {
    margin-bottom: 18px;
  }
  .bds-taxonomy-filter-panel summary {
    min-height: 50px;
    gap: 8px;
    padding: 0 12px;
  }
  .bds-taxonomy-filter-panel-title {
    gap: 7px;
  }
  .bds-taxonomy-filter-panel-meta {
    font-size: 12px;
  }
  .bds-taxonomy-filter-field {
    gap: 3px;
  }
  .bds-taxonomy-filter-field label {
    font-size: 12px;
    line-height: 1.25;
  }
  .bds-taxonomy-filter-field input,
  .bds-taxonomy-filter-field select {
    min-height: 36px;
    padding: 5px 9px;
    font-size: 14px;
  }
  .bds-taxonomy-filter-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    margin-top: 2px;
  }
  .bds-taxonomy-filter-actions button {
    width: 100%;
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }
  .bds-taxonomy-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bds-taxonomy-card-link {
    display: grid;
    grid-template-columns: minmax(112px, 34%) minmax(0, 1fr);
  }
  .bds-taxonomy-card-image {
    aspect-ratio: auto;
    min-height: 150px;
  }
  .bds-taxonomy-status {
    top: 10px;
    left: 10px;
  }
  .bds-taxonomy-price {
    top: auto;
    right: 7px;
    bottom: 7px;
    left: 7px;
    padding: 6px 7px;
    text-align: center;
    font-size: 11px;
  }
  .bds-taxonomy-card-body {
    min-width: 0;
    padding: 12px;
  }
  .bds-taxonomy-card-body h3 {
    min-height: 0;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.35;
  }
  .bds-taxonomy-location {
    min-height: 0;
    margin-bottom: 12px;
  }
  .bds-taxonomy-meta {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-bottom: 8px !important;
    padding-top: 8px !important;
  }
  .bds-taxonomy-meta li:nth-child(n+3) {
    display: none;
  }
  .bds-taxonomy-card-cta {
    font-size: 12px;
  }
}
@media (max-width: 390px) {
  .bds-taxonomy-card-image {
    min-height: 132px;
  }
  .bds-taxonomy-card-body {
    padding: 10px;
  }
}
/* ======= MAP ======= */
/* #bds-map {
  border-radius: 10px;
  overflow: hidden;
  margin: 25px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
} */
#bds-map {
  width: 100%;
  /* height: 600px; */
  height: 100vh;
  /* border-radius: 8px; */
  margin-bottom: 25px;
}

.single-bds-map #bds-map {
  height: 400px;
}

.polygon-label {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
}

.property-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.property {
  display: flex;
  gap: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.property.active {
  border-color: #007aff;
  background: #f0f8ff;
}

.property img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}

.popup-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

.popup-card .price {
  color: #d32f2f;
  font-weight: bold;
  margin: 4px 0;
}

.more-info.hidden {
  display: none;
}

.blinking {
  animation: blink 0.4s linear infinite alternate;
}

@keyframes blink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.4;
  }
}
/* ======= FORM LIÊN HỆ ======= */
.bds-contact.box {
  position: sticky;
  top: 100px;
}

.bds-contact h3 {
  color: #b20000;
  font-weight: 600;
  margin-bottom: 15px;
}

/* ======= GALLERY ======= */
.section-gallery img {
  border-radius: 10px;
}

.mySwiper2 img {
  border-radius: 8px;
  opacity: 0.85;
  transition: all 0.3s;
}

.mySwiper2 img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ==== VIDEO RESPONSIVE TỰ NHẬN TỶ LỆ ==== */
.video-bds-wrapper.vertical {
  position: relative;
  width: 100%;
  max-width: 400px; /* Giới hạn chiều rộng tối đa, tùy chọn */
  margin: 0 auto;
}

.video-bds-wrapper.vertical .video-bds-container {
  position: relative;
  width: 100%;
  padding-top: 177.78%; /* 9:16 tỷ lệ dọc */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.video-bds-wrapper.vertical iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* Giới hạn tiêu đề 1 dòng */
.bds-title a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical; /* Bắt buộc để clamp hoạt động */
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  line-height: 1.4;
  min-height: 2.8em; /* giữ chiều cao ổn định cho layout */
  margin-top: 16px;
}

.bds-location {
  display: -webkit-box !important;
  -webkit-line-clamp: 1; /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical; /* Bắt buộc để clamp hoạt động */
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.bds-title a:hover {
  color: var(--primary-color, #0073aa);
}

/* Style cho thông tin bất động sản */
.bds-meta {
  font-size: 14px;
  line-height: 1.4;
  color: #555;
}

.bds-meta > div {
  margin-top: 3px;
}

.bds-price {
  color: #e63946;
  font-weight: bold;
}

/* Video Shorts (9:16) */
.video-bds-wrapper.vertical {
  position: relative;
  width: 100%;
  /* padding-top: 177.78%; */
  overflow: hidden;
  border-radius: 10px;
}

.video-bds-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

/* Responsive cho màn nhỏ */
@media (max-width: 768px) {
  .video-bds-wrapper.vertical {
    max-width: 100%;
    padding: 0 10px;
  }
}
/* Responsive cho màn rất nhỏ (mobile hẹp) */
@media (max-width: 480px) {
  .video-bds-wrapper.vertical .video-bds-container {
    border-radius: 8px;
    box-shadow: none;
  }
}
/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .bds-info h1 {
    font-size: 22px;
  }
  .bds-table td:first-child {
    width: 40%;
  }
}
.bds-meta-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 15px;
  font-size: 15px;
  color: #444;
}

.bds-meta-highlight i {
  color: #fcb900;
  margin-right: 6px;
}

button.faq-question {
  margin: 0 !important;
}

.bds-video-list {
  padding: 8px 4px 16px;
  overflow: hidden;
}

.bds-video-list .swiper-wrapper {
  align-items: stretch;
  flex-wrap: nowrap;
}

.bds-video-list .swiper-slide {
  width: 100%;
  height: auto;
}

.bds-video-list .bds-video {
  height: 100%;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(20, 36, 54, 0.08);
}

.bds-video-list .video-bds-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

.bds-video-list .video-bds-container {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: #101820;
  box-shadow: none;
}

.bds-video-list .is-landscape .video-bds-container {
  aspect-ratio: 16/9;
}

.bds-video-list .video-title {
  padding: 0 12px 12px;
}

.bds-video-list .bds-title a {
  min-height: 2.6em;
  margin-top: 9px;
  line-height: 1.3;
}

.bds-video-list .bds-video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
  justify-content: center;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.35;
}

.bds-video-list .bds-video-price {
  color: #b20000;
  font-size: 15px;
  font-weight: 700;
}

.bds-video-list .bds-video-area {
  color: #64748b;
}

.bds-video-list .bds-location {
  min-height: 1.4em;
}

.bds-video-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
}

.bds-video-pagination.swiper-pagination {
  position: relative;
  bottom: auto;
  left: auto;
  width: auto;
  min-width: 82px;
  transform: none;
}

.bds-video-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: #3379bf;
  opacity: 0.28;
}

.bds-video-pagination .swiper-pagination-bullet-active {
  background: #3379bf;
  opacity: 1;
}

.bds-video-button-prev,
.bds-video-button-next {
  display: inline-grid;
  width: 38px;
  height: 38px;
  min-height: 38px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid #d8dee5;
  border-radius: 50%;
  background: #fff;
  color: #3379bf;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(20, 36, 54, 0.08);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.bds-video-button-prev:hover,
.bds-video-button-next:hover {
  border-color: #3379bf;
  background: #3379bf;
  color: #fff;
}

.bds-video-button-prev.swiper-button-disabled,
.bds-video-button-next.swiper-button-disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

@media (max-width: 575px) {
  .bds-video-list {
    padding: 4px 12px 8px 4px;
  }
  .bds-video-list .is-vertical .video-bds-container {
    height: min(360px, 100vw);
    aspect-ratio: auto;
  }
  .bds-video-list .video-title {
    padding: 0 12px 12px;
  }
  .bds-video-list .bds-title a {
    margin-top: 10px;
  }
  .bds-video-controls {
    min-height: 38px;
    margin-top: 10px;
  }
  .bds-video-button-prev,
  .bds-video-button-next {
    width: 32px;
    height: 32px;
    min-height: 32px;
  }
}
/* Desktop grid */
@media (min-width: 768px) {
  .bds-swiper .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
  }
  .bds-swiper .swiper-slide {
    width: initial !important;
    flex: 0 0 50%;
  } /* chia 2 cột */
}
/* Nếu cols thay đổi linh hoạt -> dùng class đã render PHP */
@media (min-width: 768px) {
  .bds-swiper .desktop-col-6 {
    flex: 0 0 50%;
  }
  .bds-swiper .desktop-col-4 {
    flex: 0 0 33.333%;
  }
  .bds-swiper .desktop-col-3 {
    flex: 0 0 25%;
  }
}
/* ===== Lead Form – Professional & Senior Friendly ===== */
.sc-popup {
  display: none;
  margin-top: 14px;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  font-size: 15px;
}

.sc-popup.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.sc-popup.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.sc-interest-form {
  max-width: 420px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-family: var(--bds-font-family);
}

.sc-interest-form > div {
  margin-bottom: 16px;
}

.sc-interest-form input,
.sc-interest-form select,
.sc-interest-form textarea {
  width: 100%;
  font-size: 16px;
  line-height: 1.4;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #111827;
}

.sc-interest-form textarea {
  min-height: 90px;
  resize: vertical;
}

/* Focus – nhẹ, dễ chịu */
.sc-interest-form input:focus,
.sc-interest-form select:focus,
.sc-interest-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

/* Placeholder rõ ràng */
.sc-interest-form input::placeholder,
.sc-interest-form textarea::placeholder {
  color: #9ca3af;
}

@media (max-width: 600px) {
  .bds-info.box {
    padding: 16px 14px;
    margin-bottom: 18px !important;
  }
  .bds-info h1 {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1.25;
  }
  .bds-info .bds-meta-highlight {
    gap: 8px 10px;
    margin: 8px 0 12px;
    font-size: 14px;
    line-height: 1.4;
  }
  .bds-info .bds-meta-highlight > span:first-child {
    flex: 0 0 100%;
  }
  .bds-info .bds-meta-highlight .tag-price {
    padding: 5px 10px;
    font-size: 14px;
  }
  .bds-info .sc-btn-favorite {
    gap: 6px;
    padding: 5px 10px;
    font-size: 13px;
  }
  .bds-info h3 {
    margin: 16px 0 6px;
    padding-left: 8px;
    font-size: 17px;
  }
  .bds-info .bds-table {
    font-size: 14px;
    line-height: 1.35;
  }
  .bds-info .bds-table td:first-child,
  .bds-info .bds-table td:last-child {
    padding: 7px 7px 7px 0;
  }
  .bds-info .bds-table .tag {
    max-width: 100%;
    padding: 5px 9px;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
  }
  .bds-info-row-gia,
  .bds-info-row-dia_chi,
  .bds-info-row-dien_tich {
    display: none;
  }
}
/* Button */
.sc-interest-form button {
  width: 100%;
  padding: 14px;
  font-size: 17px;
  font-weight: 600;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.sc-interest-form button:hover {
  background: #1e40af;
}

/* Mobile friendly */
@media (max-width: 480px) {
  .sc-interest-form {
    padding: 20px;
  }
  .sc-interest-form input,
  .sc-interest-form select,
  .sc-interest-form textarea {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .single-bds-map.box {
    padding: 10px;
    margin-bottom: 16px !important;
    width: auto;
    max-width: calc(100vw - 32px);
    margin-right: auto;
    margin-left: auto;
  }
  .single-bds-map #bds-map {
    height: clamp(220px, 38svh, 300px);
    margin-bottom: 12px;
  }
  .single-bds-map .property-sidebar {
    box-sizing: border-box;
    width: auto;
    max-width: calc(100vw - 32px);
    min-width: 0;
    gap: 8px;
  }
  .single-bds-map .property {
    box-sizing: border-box;
    width: auto;
    max-width: calc(100vw - 32px);
    min-width: 0;
    gap: 10px;
    align-items: center;
    min-height: 78px;
    padding: 8px;
  }
  .single-bds-map .property > img {
    flex: 0 0 76px;
    width: 76px;
    height: 62px;
  }
  .single-bds-map .property .info {
    min-width: 0;
    flex: 1 1 auto;
  }
  .single-bds-map .property .info .price {
    display: inline-flex;
    margin: 0 0 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff1f0;
    color: #b20000;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
  }
  .single-bds-map .property .info > p:not(.property-address) {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 3px;
    color: #252b31;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .single-bds-map .property .info .property-address {
    overflow: hidden;
    margin: 0;
    color: #68737d;
    font-size: 12px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (max-width: 600px) {
  .bds-contact.box {
    box-sizing: border-box;
    width: auto;
    max-width: calc(100vw - 32px);
    min-width: 0;
    padding: 14px 12px;
    margin-bottom: 16px !important;
    margin-right: auto;
    margin-left: auto;
  }
  .bds-contact .icon-box,
  .bds-contact .icon-box-text {
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    min-width: 0;
  }
  .bds-contact .icon-box {
    margin-bottom: 10px;
  }
  .bds-contact .icon-box-img {
    width: 52px !important;
  }
  .bds-contact .icon-box-img .icon-inner,
  .bds-contact .icon-box-img img {
    width: 52px;
    height: 52px;
  }
  .bds-contact .icon-box-img img {
    object-fit: contain;
    font-size: 0;
  }
  .bds-contact .icon-box-text p {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.35;
  }
  .bds-contact .icon-box-text p:first-of-type {
    font-size: 16px;
    font-weight: 700;
  }
  .bds-contact .icon-box-text p:nth-of-type(2) {
    margin-bottom: 10px;
  }
  .bds-contact .sc-interest-form {
    display: grid;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .bds-contact .sc-interest-form input:not([type=hidden]),
  .bds-contact .sc-interest-form select,
  .bds-contact .sc-interest-form textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 8px 10px;
    font-size: 15px;
  }
  .bds-contact .sc-interest-form textarea {
    min-height: 72px;
  }
  .bds-contact .sc-interest-form button {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px;
    font-size: 15px;
  }
}
body.single-bat-dong-san .bds-info {
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 600px) {
  body.single-bat-dong-san .bds-info.box {
    box-sizing: border-box;
    width: auto;
    max-width: calc(100vw - 32px);
    padding-right: 14px;
    padding-left: 14px;
  }
}

/* Trang chi tiết: giữ ảnh đầy đủ và phân cấp thông tin rõ ràng. */
body.single-bat-dong-san .section-gallery .single-bds-img-active {
  overflow: hidden;
  border-radius: 12px;
  background: #eaf0f6;
}
body.single-bat-dong-san .single-bds-img-active swiper-slide {
  background: #eaf0f6 !important;
}
body.single-bat-dong-san .single-bds-img-active swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
}
body.single-bat-dong-san .single-bds-img-active swiper-slide img {
  object-fit: contain;
}
body.single-bat-dong-san .single-bds-img-thumb swiper-slide {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}
body.single-bat-dong-san .bds-summary .bds-info.box,
body.single-bat-dong-san .bds-summary .bds-content.box {
  border: 1px solid #e5edf5;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(35, 70, 105, .07);
}
body.single-bat-dong-san .bds-summary .box:hover {
  transform: none;
  box-shadow: 0 4px 18px rgba(35, 70, 105, .07);
}
body.single-bat-dong-san .bds-summary h3 {
  color: #3379bf;
  border-left: 3px solid #3379bf;
  padding-left: 10px;
}
body.single-bat-dong-san .bds-content .content {
  line-height: 1.7;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  body.single-bat-dong-san .header-wrapper {
    background: #fff;
  }
  body.single-bat-dong-san .section-gallery .single-bds-img-active {
    height: clamp(240px, 70vw, 340px) !important;
  }
  body.single-bat-dong-san .bds-single-breadcrumb [aria-current=page] {
    white-space: normal;
  }
}

/* Đoạn giới thiệu cuối danh sách /bat-dong-san/ (WP Agent › Mô tả danh sách BĐS) */
.bds-archive-seo-text {
  max-width: 900px;
  margin: 40px 0 0;
  color: #444;
  font-size: 15px;
  line-height: 1.7;
}

.bds-archive-seo-text h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

/* Header: màu menu, dropdown, nút Ký gửi / Liên hệ */
.header-main .header-nav-main > li > a {
  color: #333;
}
.header-main .header-nav-main > li > a:hover,
.header-main .header-nav-main > li.current-menu-item > a,
.header-main .header-nav-main > li.current-menu-ancestor > a {
  color: var(--primary-color);
}
.header-main .header-nav-main .nav-dropdown {
  border: 1px solid #e3e9f1;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.header-main .header-nav-main .nav-dropdown a:hover {
  color: var(--primary-color);
}
.header-main .header-block .button {
  margin: 0 0 0 8px;
  padding: 0 16px;
}

/* Footer (khối UX "FOOTER", section class site-footer-main) */
.site-footer-main {
  background-color: #f5f8fc;
}
.site-footer-main h5 {
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer-main h5:not(:has(+ h6)) {
  position: relative;
  padding-bottom: 10px;
}
.site-footer-main h5:not(:has(+ h6))::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--primary-color);
}
.site-footer-main p {
  margin-bottom: 10px;
  color: #444;
}
.site-footer-main a[href^="tel:"] {
  font-weight: 700;
  color: var(--primary-color);
}
.site-footer-main .ux-menu-link__link {
  color: #444;
  transition: color 0.2s ease;
}
.site-footer-main .ux-menu-link__link:hover {
  color: var(--primary-color);
}
.site-footer-main .wpcf7 label {
  font-size: 14px;
  font-weight: 600;
}
.site-footer-main .wpcf7 input[type="tel"],
.site-footer-main .wpcf7 textarea {
  margin-top: 6px;
  border: 1px solid #dde1e6;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: none;
  font-size: 14px;
}
.site-footer-main .wpcf7 textarea {
  height: 100px;
  min-height: 100px;
}
.site-footer-main .wpcf7-submit {
  margin: 0;
  padding: 0 32px;
  border-radius: 99px;
}
#footer .absolute-footer {
  border-top: 1px solid #e3e9f1;
  background-color: #f5f8fc;
}

@media (max-width: 549px) {
  .site-footer-main .col {
    padding-bottom: 10px;
  }
  /* chừa chỗ cho 2 nút Gọi / Zalo nổi ở góc trái */
  #footer .absolute-footer {
    padding-bottom: 150px;
  }
}
