/* SiRTA Property — direktori publik. Tema biru, kartu membulat. Tanpa skrip/gaya inline (CSP). */
:root {
    --biru: #1768e8;
    --biru-tua: #0e3f9c;
    --biru-muda: #eaf2ff;
    --hijau: #14a05c;
    --abu: #5b6577;
    --garis: #e4e9f2;
    --latar: #f5f7fb;
}
body.dir { background: var(--latar); color: #172033; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.dir a { color: var(--biru); }
/* tombol berbentuk tautan harus mengalahkan aturan warna tautan di atas */
.dir a.btn-daftar, .dir a.btn-daftar:hover, .dir a.btn-wa, .dir a.btn-wa:hover, .dir a.btn-cari, .dir a.btn-cari:hover { color: #fff; }
.dir a.btn-masuk, .dir a.btn-masuk:hover { color: var(--biru); }
.dir a.lencana-verif { color: #0f7a45; }
.dir a.lencana-tipe { color: #fff; }

/* Header */
.dir-header { background: #fff; border-bottom: 1px solid var(--garis); position: sticky; top: 0; z-index: 30; }
.dir-header .navbar { padding: .55rem 0; }
.dir-logo { display: inline-flex; align-items: center; text-decoration: none; }
.dir-logo img { display: block; height: 46px; width: auto; }
.dir-header .nav-link { color: #26324a; font-weight: 500; padding: .5rem .85rem; border-bottom: 2px solid transparent; }
.dir-header .nav-link.aktif, .dir-header .nav-link:hover { color: var(--biru); border-bottom-color: var(--biru); }
.btn-masuk { border: 1px solid var(--biru); color: var(--biru); background: #fff; font-weight: 600; border-radius: 10px; padding-inline: 1.2rem; }
.btn-masuk:hover { background: var(--biru-muda); color: var(--biru); }
.btn-daftar { background: var(--biru); color: #fff; font-weight: 600; border-radius: 10px; padding-inline: 1.2rem; border: 1px solid var(--biru); }
.btn-daftar:hover { background: var(--biru-tua); color: #fff; }

/* Hero */
.hero { color: #fff; padding: 4.2rem 0 5rem; background: linear-gradient(120deg, #0b2f78 0%, #1768e8 55%, #3f95ff 100%); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.hero-foto { background-image: linear-gradient(90deg, rgba(8, 28, 76, .86) 0%, rgba(8, 28, 76, .55) 55%, rgba(8, 28, 76, .15) 100%), url('../img/hero-properti.webp'); background-size: cover; background-position: center; }
.hero h1 { font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.15; max-width: 640px; }
.hero-sub { max-width: 560px; font-size: 1.05rem; opacity: .95; margin: 1rem 0 1.6rem; }
.hero-cari { background: #fff; border-radius: 14px; display: flex; align-items: center; gap: .6rem; padding: .45rem .5rem .45rem 1rem; max-width: 680px; box-shadow: 0 10px 30px rgba(8, 28, 76, .28); color: #6b7488; position: relative; z-index: 1; }
.hero-cari input { flex: 1; border: 0; outline: 0; font-size: 1rem; min-width: 0; padding: .55rem .2rem; color: #172033; background: transparent; }
.btn-cari { background: var(--biru); color: #fff; font-weight: 600; border-radius: 10px; padding: .6rem 1.6rem; border: 0; }
.btn-cari:hover { background: var(--biru-tua); color: #fff; }

/* Kategori */
.kategori { margin-top: -2.4rem; position: relative; z-index: 2; }
.kategori-item { display: flex; flex-direction: column; align-items: center; gap: .15rem; background: #fff; border-radius: 14px; padding: 1rem .5rem; text-decoration: none; color: #172033; box-shadow: 0 4px 16px rgba(23, 32, 51, .08); transition: transform .15s, box-shadow .15s; height: 100%; }
.kategori-item:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(23, 32, 51, .12); color: #172033; }
.kategori-item small { color: var(--abu); }
.kategori-ikon { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .25rem; }
.kategori-kos { background: #e8f0ff; color: #1768e8; }
.kategori-kontrakan { background: #e7f6ee; color: #14a05c; }
.kategori-apartemen { background: #fff1e4; color: #e8772a; }
.kategori-guest-house { background: #f3e9ff; color: #7a45d6; }
.kategori-rumah-sewa { background: #e1f5f7; color: #0f8fa0; }
.kategori-homestay { background: #ffe9ee; color: #d6456b; }

/* Bagian */
.bagian { margin-top: 2rem; margin-bottom: 1rem; }
.bagian-kepala { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .9rem; }
.bagian-kepala h2 { font-size: 1.35rem; font-weight: 800; margin: 0; }
.bagian-kepala a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.kosong-info { text-align: center; background: #fff; border: 1px dashed #c8d3e6; border-radius: 14px; padding: 2.2rem 1rem; color: var(--abu); }

/* Kartu properti */
.kartu-prop { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 3px 14px rgba(23, 32, 51, .08); height: 100%; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.kartu-prop:hover { box-shadow: 0 8px 24px rgba(23, 32, 51, .14); transform: translateY(-2px); }
.kartu-prop-foto { position: relative; display: block; aspect-ratio: 4 / 3; background: #dfe7f5; overflow: hidden; }
.kartu-prop-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kartu-prop-kosong { display: flex; align-items: center; justify-content: center; color: #93a4c4; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(135deg, #e3ebfa, #cfdcf3); }
.lencana-verif { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: .3rem; background: #fff; color: #0f7a45; border-radius: 999px; padding: .22rem .6rem; font-size: .76rem; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.lencana-verif svg { color: var(--hijau); }
.lencana-statis { position: static; box-shadow: none; border: 1px solid #bfe6d0; background: #effaf4; }
.lencana-tipe { position: absolute; right: 10px; top: 10px; background: rgba(15, 28, 60, .78); color: #fff; border-radius: 8px; padding: .15rem .55rem; font-size: .74rem; font-weight: 600; }
.kartu-prop-isi { padding: .85rem .95rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.kartu-prop-isi h3 { font-size: 1.02rem; font-weight: 700; margin: 0; }
.kartu-prop-isi h3 a { color: #172033; text-decoration: none; }
.kartu-prop-isi h3 a:hover { color: var(--biru); }
.kartu-prop-lokasi { color: var(--abu); font-size: .86rem; display: flex; align-items: flex-start; gap: .25rem; }
.kartu-prop-lokasi svg { flex: none; margin-top: 2px; }
.kartu-prop-harga { color: var(--biru); font-weight: 800; font-size: 1.12rem; }
.kartu-prop-harga small, .detail-harga small { color: var(--abu); font-weight: 500; font-size: .8rem; }
.kartu-prop-harga .kecil, .detail-harga .kecil { color: var(--abu); font-weight: 500; font-size: .78rem; }
.kartu-prop-meta { display: flex; align-items: center; gap: .9rem; color: #42506a; font-size: .86rem; flex-wrap: wrap; }
.kartu-prop-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.tersedia { background: #e7f6ee; color: #0f7a45; border-radius: 8px; padding: .12rem .5rem; font-weight: 600; font-size: .78rem; }
.penuh { background: #eef0f4; color: #6b7488; border-radius: 8px; padding: .12rem .5rem; font-weight: 600; font-size: .78rem; }
.tersedia.besar, .penuh.besar { font-size: .9rem; padding: .3rem .7rem; }

/* Jaminan */
.jaminan { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; background: #fff; border-radius: 14px; padding: 1.2rem; box-shadow: 0 3px 14px rgba(23, 32, 51, .06); }
.jaminan > div { display: flex; flex-direction: column; gap: .2rem; }
.jaminan span { color: var(--biru); }
.jaminan small { color: var(--abu); }

/* Pencarian */
.cari-kepala { background: #fff; border-bottom: 1px solid var(--garis); padding: 1rem 0 1.2rem; }
.crumb { font-size: .85rem; color: var(--abu); margin-bottom: .6rem; }
.crumb a { color: var(--abu); text-decoration: none; }
.crumb a:hover { color: var(--biru); }
.cari-bar { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid #cfd9ec; border-radius: 12px; padding: .3rem .35rem .3rem .9rem; color: #6b7488; max-width: 760px; }
.cari-bar:focus-within { border-color: var(--biru); box-shadow: 0 0 0 3px rgba(23, 104, 232, .15); }
.cari-bar input { flex: 1; border: 0; outline: 0; min-width: 0; padding: .5rem .1rem; background: transparent; color: #172033; font-size: 1rem; }
.chip-filter { display: flex; gap: .5rem; overflow-x: auto; padding: .8rem 0 .1rem; }
.chip { flex: none; display: inline-flex; align-items: center; gap: .3rem; background: #fff; border: 1px solid #cfd9ec; color: #26324a; border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; font-weight: 500; }
.chip-utama { margin-left: auto; color: var(--biru); border-color: var(--biru); font-weight: 600; }
.chip-n { background: var(--biru); color: #fff; border-radius: 999px; font-size: .72rem; padding: 0 .4rem; line-height: 1.4; }

/* Panel filter (sidebar di layar lebar, laci geser di layar sempit) */
.panel-filter { --bs-offcanvas-width: 330px; }
@media (min-width: 992px) {
    .panel-filter { background: #fff; border-radius: 14px; box-shadow: 0 3px 14px rgba(23, 32, 51, .06); padding: 1rem 1.1rem 1.2rem; }
    .panel-filter .offcanvas-header { display: none; }
    .panel-filter .offcanvas-body { padding: 0; overflow: visible; }
}
.filter-grup { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.filter-grup legend { float: none; width: auto; font-size: .98rem; font-weight: 700; margin: 0 0 .5rem; padding: 0; }
.filter-grup .form-check { margin-bottom: .25rem; }
.filter-grup .form-check-label { font-size: .92rem; color: #2a364d; }
.filter-tombol { display: flex; gap: .5rem; align-items: stretch; }
.btn-reset { border: 1px solid #cfd9ec; color: #26324a; background: #fff; border-radius: 10px; font-weight: 600; padding-inline: 1.1rem; display: inline-flex; align-items: center; }
.btn-reset:hover { background: var(--biru-muda); color: var(--biru); }

/* Rentang harga: dua slider ditumpuk di atas satu jalur */
.rentang-isian { display: flex; gap: .5rem; margin-bottom: .6rem; }
.rentang-kotak { flex: 1; display: flex; align-items: center; gap: .3rem; border: 1px solid #cfd9ec; border-radius: 8px; padding: .25rem .5rem; font-size: .82rem; color: var(--abu); background: #fff; min-width: 0; }
.rentang-kotak input { border: 0; outline: 0; width: 100%; min-width: 0; font-size: .85rem; color: #172033; background: transparent; -moz-appearance: textfield; }
.rentang-kotak input::-webkit-outer-spin-button, .rentang-kotak input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rentang-slider { position: relative; height: 26px; margin: 0 .35rem; }
.rentang-jalur { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: #dfe6f3; border-radius: 4px; }
.rentang-isi { position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: var(--biru); border-radius: 4px; }
.rentang-slider input[type=range] { position: absolute; left: -.35rem; width: calc(100% + .7rem); top: 0; height: 26px; margin: 0; padding: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.rentang-slider input[type=range]::-webkit-slider-runnable-track { background: transparent; height: 4px; }
.rentang-slider input[type=range]::-moz-range-track { background: transparent; height: 4px; }
.rentang-slider input[type=range]::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: #fff; border: 2px solid var(--biru); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); cursor: pointer; }
.rentang-slider input[type=range]::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--biru); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); cursor: pointer; }
.rentang-slider input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(23, 104, 232, .3); }

/* Hasil pencarian */
.hasil-kepala { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .9rem; color: #42506a; }
.daftar-hasil { display: flex; flex-direction: column; gap: 1rem; }
.kartu-mendatar { flex-direction: row; height: auto; }
.kartu-mendatar .kartu-prop-foto { aspect-ratio: auto; flex: none; width: 36%; min-width: 118px; max-width: 290px; min-height: 150px; }
.kartu-mendatar .kartu-prop-foto img, .kartu-mendatar .kartu-prop-kosong { height: 100%; position: absolute; inset: 0; }
.kartu-mendatar .kartu-prop-isi { position: relative; justify-content: center; min-width: 0; padding: .85rem 2.6rem .9rem 1rem; gap: .4rem; }
.kartu-mendatar .lencana-statis { align-self: flex-start; font-size: .74rem; }
.favorit { position: absolute; top: .7rem; right: .75rem; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: #8d99b0; border-radius: 50%; }
.favorit:hover { color: #e0405f; background: #fdeef1; }
.favorit.aktif { color: #e0405f; }
.favorit.aktif svg { fill: currentColor; }
@media (max-width: 575px) {
    .kartu-mendatar .kartu-prop-foto { width: 38%; min-width: 112px; min-height: 140px; }
    .kartu-mendatar .kartu-prop-isi { padding: .7rem 2.3rem .75rem .75rem; }
    .kartu-mendatar .kartu-prop-isi h3 { font-size: .98rem; }
}
.pagination .page-link { color: var(--biru); }

/* Detail */
.galeri-bingkai { position: relative; border-radius: 16px; overflow: hidden; background: #dfe7f5; }
.galeri-besar { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: #dfe7f5; }
.galeri-aksi { position: absolute; top: .8rem; right: .8rem; display: flex; gap: .5rem; }
.ikon-tombol { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #26324a; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.ikon-tombol:hover { background: #fff; color: var(--biru); }
.ikon-tombol.selesai { color: var(--hijau); }
.galeri-aksi .favorit { position: static; width: 40px; height: 40px; color: #26324a; background: rgba(255, 255, 255, .92); }
.galeri-aksi .favorit:hover, .galeri-aksi .favorit.aktif { color: #e0405f; background: #fff; }
.galeri-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: .6rem; }
.galeri-mini-item { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #dfe7f5; aspect-ratio: 16 / 10; }
.galeri-mini-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galeri-mini-item.aktif { border-color: var(--biru); }
.detail-kepala h1 { font-weight: 800; }
.tab-detail { position: sticky; top: 61px; z-index: 20; display: flex; gap: 1.4rem; background: #fff; border-bottom: 1px solid var(--garis); margin: 1.1rem 0 0; padding: 0 .2rem; overflow-x: auto; scrollbar-width: none; }
.tab-detail::-webkit-scrollbar { display: none; }
.tab-detail a { flex: none; padding: .8rem .1rem; color: #3a4660; text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; }
.tab-detail a.aktif, .tab-detail a:hover { color: var(--biru); border-bottom-color: var(--biru); }
.bagian-detail { padding: 1.4rem 0 .4rem; scroll-margin-top: 120px; border-bottom: 1px solid var(--garis); }
.bagian-detail:last-child { border-bottom: 0; }
.deskripsi { white-space: pre-wrap; color: #34425c; }
.ketentuan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.2rem 0 1rem; }
.ketentuan-item { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.ketentuan-ikon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--biru-muda); color: var(--biru); display: inline-flex; align-items: center; justify-content: center; }
.ketentuan-item small { display: block; color: var(--abu); font-size: .8rem; }
.ketentuan-item strong { display: block; font-size: .98rem; overflow-wrap: anywhere; }
.tabel-unit th { font-size: .8rem; color: var(--abu); font-weight: 600; }
.lokasi-rinci { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem 1.4rem; margin: 1rem 0 .6rem; }
.lokasi-rinci dt { font-size: .78rem; color: var(--abu); font-weight: 600; }
.lokasi-rinci dd { margin: 0; font-weight: 600; }
.kolom-samping { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 1rem; }
.kotak-harga, .kotak-pemilik { background: #fff; border-radius: 16px; box-shadow: 0 3px 16px rgba(23, 32, 51, .09); padding: 1.2rem; }
.harga-besar { text-align: center; display: flex; flex-direction: column; line-height: 1.15; }
.harga-besar small { color: var(--abu); font-size: .8rem; }
.harga-besar strong { color: #0e2f6b; font-size: 1.85rem; font-weight: 800; }
.harga-besar span { color: var(--abu); font-size: .88rem; }
.pemilik-baris { display: flex; align-items: center; gap: .8rem; margin-top: .6rem; }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--biru-muda); color: var(--biru); font-weight: 800; font-size: 1.2rem; display: inline-flex; align-items: center; justify-content: center; }
.btn-pesan { border: 1px solid var(--biru); color: var(--biru); background: #fff; font-weight: 600; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
.btn-pesan:hover { background: var(--biru-muda); color: var(--biru); }
.cta-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--garis); box-shadow: 0 -4px 16px rgba(23, 32, 51, .1); padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.cta-mobile small { display: block; color: var(--abu); font-size: .72rem; line-height: 1; }
.cta-mobile strong { color: #0e2f6b; font-size: 1.15rem; }
.cta-mobile span { color: var(--abu); font-size: .8rem; }
@media (max-width: 991px) {
    .detail-halaman { padding-bottom: 5rem; }
    .kolom-samping { position: static; }
    .galeri-bingkai { border-radius: 12px; }
}
@media (max-width: 575px) {
    .ketentuan { grid-template-columns: repeat(2, 1fr); }
    .galeri-mini { gap: .4rem; }
    .tab-detail { gap: 1rem; }
}
.detail-harga strong { color: var(--biru); font-size: 1.7rem; font-weight: 800; }
.btn-wa { background: #1fa855; color: #fff; font-weight: 700; border-radius: 12px; padding: .8rem 1rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-wa:hover { background: #17894a; color: #fff; }
.fasilitas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .45rem .8rem; }
.fasilitas li { display: flex; align-items: center; gap: .4rem; color: #2a364d; }
.fasilitas svg { color: var(--hijau); }
.catatan-rt { display: flex; gap: .8rem; background: #effaf4; border: 1px solid #bfe6d0; border-radius: 14px; padding: 1rem; color: #0f5f38; }
.catatan-rt svg { flex: none; color: var(--hijau); }

/* Footer */
.dir-footer { margin-top: 3rem; padding: 1.4rem 0; background: #fff; border-top: 1px solid var(--garis); color: var(--abu); font-size: .88rem; }
.dir-footer a { color: var(--abu); }

@media (max-width: 575px) {
    .hero { padding: 2.6rem 0 3.6rem; }
    .kategori-item { padding: .8rem .3rem; font-size: .88rem; }
    .kategori-ikon { width: 42px; height: 42px; }
    .hero-cari .btn-cari { padding-inline: 1rem; }
}

/* Penyesuaian layar sempit untuk halaman pencarian */
.chip-filter { scrollbar-width: none; }
.chip-filter::-webkit-scrollbar { display: none; }
@media (max-width: 991px) {
    .col-aside { margin-top: 0 !important; padding: 0; }
}
@media (max-width: 575px) {
    .kartu-mendatar .kartu-prop-harga { font-size: 1rem; white-space: nowrap; }
    .kartu-mendatar .kartu-prop-harga .kecil { display: block; line-height: 1; }
    .kartu-mendatar .kartu-prop-meta { gap: .6rem; font-size: .82rem; }
}
@media (max-width: 991px) {
    .panel-filter .filter-tombol { position: sticky; bottom: -1rem; background: #fff; padding: .7rem 0 .2rem; margin-top: .5rem; border-top: 1px solid var(--garis); }
}

/* Akun pencari */
.akun-halaman { max-width: 560px; }
.akun-halaman .row { max-width: none; }
.akun-kartu { background: #fff; border-radius: 16px; box-shadow: 0 3px 16px rgba(23, 32, 51, .09); padding: 1.5rem; }
.akun-tab { display: flex; border-bottom: 1px solid var(--garis); margin: -.25rem 0 1.2rem; }
.akun-tab a { flex: 1; text-align: center; padding: .7rem 0; font-weight: 700; color: var(--abu); text-decoration: none; border-bottom: 3px solid transparent; }
.akun-tab a.aktif { color: var(--biru); border-bottom-color: var(--biru); }
.akun-bahaya { border: 1px solid #f3c9cf; }

/* Teks hero di atas foto: bayangan tipis menjaga keterbacaan pada bagian foto yang terang */
.hero-foto h1, .hero-foto .hero-sub { text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }

/* Peta Properti */
.peta-halaman { max-width: 1140px; }
.peta-kepala { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: .8rem; margin-bottom: 1rem; }
.segmen { display: inline-flex; background: #fff; border: 1px solid #cfd9ec; border-radius: 10px; overflow: hidden; }
.segmen a { padding: .5rem 1.4rem; font-weight: 600; text-decoration: none; color: var(--biru); }
.dir .segmen a.aktif { background: var(--biru); color: #fff; }
.peta-chip { flex-wrap: wrap; overflow: visible; }
.chip-pilih { position: relative; cursor: pointer; user-select: none; }
.chip-pilih input { position: absolute; opacity: 0; pointer-events: none; }
.chip-pilih:has(input:checked) { background: var(--biru-muda); border-color: var(--biru); color: var(--biru); font-weight: 600; }
.chip-pilih:has(input:focus-visible) { outline: 3px solid rgba(23, 104, 232, .35); }
.peta-chip .dropdown-toggle::after { margin-left: .4rem; }
.peta-chip .dropdown-item-text { display: flex; align-items: center; white-space: nowrap; cursor: pointer; padding: .3rem .6rem; }
.peta-bungkus { position: relative; margin-top: .9rem; }
.peta { height: 66vh; min-height: 440px; border-radius: 16px; overflow: hidden; background: #dde6f5; z-index: 0; border: 1px solid var(--garis); }
.peta-info { position: absolute; top: 12px; left: 12px; z-index: 1000; background: rgba(255, 255, 255, .95); border-radius: 999px; padding: .3rem .9rem; font-size: .82rem; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); max-width: calc(100% - 90px); }
.peta-lokasi { position: absolute; right: 10px; bottom: 28px; z-index: 1000; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--biru); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); display: inline-flex; align-items: center; justify-content: center; }
.peta-lokasi:hover { background: var(--biru-muda); }
.peta-legenda { position: absolute; left: 12px; bottom: 28px; z-index: 1000; display: flex; flex-wrap: wrap; gap: .3rem 1rem; background: rgba(255, 255, 255, .96); border-radius: 12px; padding: .55rem .9rem; font-size: .82rem; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); max-width: calc(100% - 80px); }
.peta-legenda span { display: inline-flex; align-items: center; gap: .35rem; }
.peta-legenda .titik { width: 12px; height: 12px; }
@media (max-width: 575px) {
    .peta { height: 62vh; min-height: 380px; }
    .peta-kepala { align-items: flex-start; }
}

/* Tombol komunikasi dengan pemilik (Pesan / Hunian Saya): hijau dengan teks kuning */
.dir a.btn-pesan, .btn-pesan { background: #146c43; color: #ffc107; font-weight: 700; border: 0; border-radius: 10px; }
.dir a.btn-pesan:hover, .btn-pesan:hover, .dir a.btn-pesan:focus, .btn-pesan:focus { background: #0f5132; color: #ffda6a; }
.btn-pesan .badge { color: #212529; background: #ffc107 !important; }
