/* GENERAL */
body { /*background: rgb(245, 246, 247);*/ font-family: "Roboto", sans-serif; }
a { color: #ed5f30; text-decoration: none; }
a:hover { text-decoration: underline; }
.shadowed { box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; }
.maincontent { }
.sidebar {  }
.text-bg-primary, .bg-primary { background-color: #ed5f30 !important; }
.border-primary, .btn-outline-primary { border-color: #ed5f30 !important; }
.btn-outline-primary { color: #ed5f30 !important; }
.btn-outline-primary:hover { background: #ed5f30 !important; color: white !important; }
.text-primary { color: #ed5f30 !important; }
.active>.page-link, .page-link.active { background-color: #ed5f30 !important; border-color: #ed5f30 !important; }
.page-link { color: #ed5f30; }
.badge { font-weight: normal; }
h1 { font-weight: 300; }
h1 span { color: #ed5f30; font-weight: bold; }
h2 { font-size: 1.5rem; }
.ipo_shadow { box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; }
h2 span { white-space: nowrap; }
article p { line-height: 1.7; }
.bg-orange { background-color: #ed5f30; }
.btn-light { background-color: #fff; border-color: #fff; color: #ed5f30; }
.nav-link, .nav-link:hover { color: #ed5f30; }
.nav-pills .nav-link.active, .nav-pills .show>.nav-link { background-color: #ed5f30; }
.shadow-sm { box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px !important; }

/* BUTTONS */
.btn {  }
.btn-primary { background-color: #ed5f30; border-color: #ed5f30; }
.btn-primary:hover { background-color: #ed5f30; border-color: #ed5f30; }
.btn-secondary { background-color: #208AAE; border-color: #208AAE; }
.btn-secondary:hover { background-color: #0D2149; border-color: #0D2149; }
.nav-tabs { border-bottom: 0; }
.nav-tabs > li > a, .nav-tabs > li > a:hover { cursor: pointer; color: #333; }
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active { background: #ed5f30; border: 0; color: white; border-bottom: 1px solid #ed5f30; }

/* TOP */
.top { height: 50px; background: white; box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; position: fixed; left: 0; right: 0; top: 0; z-index: 1030; }
.top .main_logo { height: 50px; width: 50px; display: block; text-align: center; padding-top: 7px; }
.top .main_logo img { height: 36px; }
.menu_items {}
.menu_items ul { list-style: none; margin: 0; padding: 0; }
.menu_items ul li { display: inline-block; margin: 0; padding: 0; }
.menu_items ul li a { display: inline-block; height: 50px; padding: 0 15px; line-height: 50px; color: #333; }
.menu_items ul li a:hover { color: #ed5f30; }
.menu_items ul li.active a { color: #ed5f30; border-bottom: 3px solid #ed5f30; }
.filter_form_toggle { }
.filter_form_toggle a, .rss_toggle a, .mobile_menu_toggle a { display: inline-block; height: 50px; padding: 0 15px; line-height: 50px; color: #333; font-size: 1rem; cursor: pointer; width: 50px; }
.mobile_menu_toggle a { font-size: 1.2rem; }
.filter_form_toggle a:hover, .rss_toggle a:hover, .mobile_menu_toggle a:hover { background-color: #ed5f30; color: #fff !important; }

/* ESTATE LIST */
.estate .box { background-color: white; }
.estate.faded { opacity: 0.3; }
.estate .thumb { background-size: cover; background-repeat: no-repeat; background-position: center center; box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; position: relative; overflow: hidden; }
.estate .thumb .status { position: absolute; right: 10px; top: 10px; background: rgba(0,0,0,0.5); color: white; height: auto; width: auto; padding: 5px 10px; left: auto; text-transform: uppercase; font-size: 0.8rem; }
.estate .thumb .price { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,0.7); color: white; height: auto; width: auto; padding: 5px 10px; left: auto; top: auto; text-transform: uppercase; font-size: 0.8rem; }
.estate .thumb .realtor { width: 50px; aspect-ratio: 1 / 1; padding: 10px; background: rgba(255,255,255,0.7); height: auto; border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; border-bottom-left-radius: 0 !important; z-index: 1; }
.estate .thumb .realtor img { width: 100%; }
.estate .thumb a { z-index: 0; }
.estate .thumb a:hover { background: rgba(0,0,0,0.2); }
.estate .thumb .realtor a:hover { background: transparent; }
.estate .specs { font-size: 0.8rem; opacity: 0.7; }
.estate .specs .item { margin-top: 5px; display: inline-block; padding: 3px 0; margin-right: 10px; }
.estate_thumb { width: 100%; object-fit:cover; object-position:center; display:block; }

/* BLOG */
/* Het kleine witte bolletje */
.live-dot {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

/* De pulserende animatie */
.live-dot::after {
    content: "";
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Blog – overzicht */
.blog-list .subtitle {
    font-size: 1.3rem;
    font-weight: lighter;
}

.blog-list .blog-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 1.5rem;
}

.blog-list .blog-thumb {
    width: 100%;
    height: auto;
    border-radius: .5rem;
    object-fit: cover;
}

.blog-list .blog-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.blog-list .blog-item:last-child {
    border-bottom: none;
}

.blog-list .blog-meta {
    font-size: .9rem;
    color: #6c757d;
}

/* Blog – detail sidebar */
.blog-detail-aside {
    --color-text-tertiary: #9CA3AF;
    --color-text-primary: #1A1A2E;
    --color-border-tertiary: #E5E7EB;
    --color-background-secondary: #F3F4F6;
    --border-radius-md: 6px;
}

.blog-detail-aside .sidebar {
    padding: 1.5rem 0;
    max-width: 340px;
}

.blog-detail-aside .sidebar-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
    margin: 0 0 1rem;
}

.blog-detail-aside .article-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 0.5px solid var(--color-border-tertiary);
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

.blog-detail-aside .article-card:first-of-type {
    border-top: 0.5px solid var(--color-border-tertiary);
}

.blog-detail-aside .article-card:hover .article-title,
.blog-detail-aside .article-card:hover .article-arrow {
    color: #E8540A;
}

.blog-detail-aside .article-thumb {
    width: 68px;
    height: 52px;
    border-radius: var(--border-radius-md);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--color-background-secondary);
}

.blog-detail-aside .article-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.blog-detail-aside .article-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-primary);
    line-height: 1.4;
    transition: color 0.15s;
    margin: 0;
}

.blog-detail-aside .article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
}

.blog-detail-aside .article-arrow {
    font-size: 12px;
    color: var(--color-text-tertiary);
    transition: color 0.15s;
    margin-left: auto;
    flex-shrink: 0;
}

.blog-detail-aside .article-live-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 16px;
    background: #dc3545;
    color: #fff;
    border-radius: 999px;
    padding: 0 6px;
}

.blog-detail-aside .article-live-label {
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    display: block;
}

.blog-detail-aside .article-live-badge .live-dot {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    display: block;
    position: relative;
    top: 0;
}

.blog-detail-aside .article-live-badge .live-dot::after {
    width: 5px;
    height: 5px;
}

/* Blog – detail inhoud */
.blog-detail article hr {
    opacity: 0.1;
    margin: 2rem 0;
}

.blog-detail article p {
    line-height: 1.7;
}

.blog-detail article h3 {
    font-size: 1.2rem;
}

.blog-detail .full-image {
    margin: 2rem 0;
}

.blog-detail .full-image img {
    width: 100%;
    border-radius: .5rem;
    display: block;
}

.blog-detail .img-caption {
    font-size: .9rem;
    color: #6c757d;
    text-align: center;
    margin-top: .5rem;
}

.blog-detail .image-block {
    margin: 2rem 0;
}

.blog-detail .image-block img {
    width: 100%;
    border-radius: .5rem;
    display: block;
}

.blog-detail .accordion-button {
    background-color: #f8f9fa;
    font-weight: 500;
}

.blog-detail .link-list a {
    text-decoration: none;
    display: block;
    padding: .4rem 0;
}

.blog-detail .link-list a:hover {
    text-decoration: underline;
}

.blog-detail .pull-quote {
    font-size: 1.25rem;
    font-weight: 600;
    border-left: 4px solid #0d6efd;
    padding: 1rem;
    margin: 1.5rem 0;
    background: #f8fbff;
    border-radius: .375rem;
}

.blog-detail .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
    margin: 1.5rem 0;
}

.blog-detail .stat {
    padding: .9rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: .5rem;
    text-align: center;
}

.blog-detail .stat .num {
    font-size: 1.4rem;
    font-weight: 700;
}

.blog-detail .stat .lbl {
    color: #6c757d;
    font-size: .9rem;
}

.blog-detail .gallery {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.blog-detail .gallery img {
    width: calc(33.333% - .333rem);
    border-radius: .375rem;
}

.blog-detail .timeline {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
}

.blog-detail .timeline li {
    position: relative;
    padding-left: 2.25rem;
    margin-bottom: 1rem;
}

.blog-detail .timeline li:before {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 0.3rem;
    width: 0.6rem;
    height: 0.6rem;
    background: #0d6efd;
    border-radius: 50%;
}

.blog-detail .cta-banner {
    background: #0d6efd;
    color: #fff;
    padding: 1.25rem;
    border-radius: .5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.blog-detail .testimonial {
    padding: 1rem;
    border-left: 4px solid #198754;
    background: #f6fffa;
    border-radius: .375rem;
    margin: 1rem 0;
}

.blog-detail .download-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 0;
    border-bottom: 1px solid #eee;
    color: inherit;
    text-decoration: none;
}

.blog-detail .related-posts .card {
    border: 1px solid #e9ecef;
    border-radius: .5rem;
    overflow: hidden;
}

/* Estate detail – buurtkaart */
.estate-detail-map-section .estate-map-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.estate-map-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.estate-map-toggle {
    display: inline-flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.estate-map-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.estate-map-toggle span {
    display: inline-block;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid #E5E7EB;
    border-radius: 999px;
    background: #fff;
    color: #1A1A2E;
    transition: border-color .15s, background .15s, color .15s;
}

.estate-map-toggle input:checked + span {
    border-color: #E8540A;
    background: #FFF4EE;
    color: #E8540A;
}

.estate-map-toggle input:focus-visible + span {
    outline: 2px solid #E8540A;
    outline-offset: 2px;
}

.estate-map-radius {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 180px;
    flex: 1;
    max-width: 280px;
}

.estate-map-radius-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.estate-map-radius-input {
    width: 100%;
    accent-color: #E8540A;
}

.estate-detail-map {
    width: 100%;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    background: #F3F4F6;
}

.estate-map-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2.5px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    font-size: 14px;
    line-height: 1;
}

.estate-map-pin--estate {
    width: 32px;
    height: 32px;
    background: #E8540A;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(232, 84, 10, .4);
}

.estate-map-pin--school-bao {
    width: 28px;
    height: 28px;
    background: #2563EB;
}

.estate-map-pin--school-so {
    width: 28px;
    height: 28px;
    background: #7C3AED;
}

.estate-map-pin--super {
    width: 28px;
    height: 28px;
    background: #059669;
}

.estate-map-pin--train {
    width: 28px;
    height: 28px;
    background: #1E40AF;
}

.estate-map-cluster {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.estate-map-cluster--supermarkten { background: #059669; }
.estate-map-cluster--scholen { background: #2563EB; }
.estate-map-cluster--treinstations { background: #1E40AF; }

.estate-school-popup,
.estate-super-popup,
.estate-train-popup {
    font-size: 13px;
    line-height: 1.4;
}

.estate-school-popup-naam,
.estate-super-popup-naam,
.estate-train-popup-naam {
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 6px;
}

.estate-school-popup-adres,
.estate-super-popup-adres,
.estate-train-popup-sub {
    font-size: 11px;
    color: #6B7280;
    margin-bottom: 8px;
}

.estate-school-popup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.estate-school-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    background: #F3F4F6;
    color: #374151;
}

.estate-school-tag--net {
    background: #EFF6FF;
    color: #1D4ED8;
}

.estate-school-popup-btn {
    display: block;
    text-align: center;
    background: #2563EB;
    color: #fff !important;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 768px) {
    .estate-detail-map {
        height: 300px;
    }

    .estate-map-radius {
        max-width: none;
        width: 100%;
    }
}

/* MODULE */
.module { background: #fff; border-top: 3px solid #ed5f30; border-radius: 4px; box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; }
.module .title_box { margin: 0 0 15px; border-bottom: 2px solid #efefef; }
.module h2 { position: relative; height: 30px; font-size: 0.9rem; color: #555; font-weight: 700; text-transform: uppercase; line-height: 1; margin: 0; }
.module .list { list-style: none; padding: 0; margin: 0; }
.module .list li {  }
.module .list li span { float: right; }
.toggle { display: none; }
.expandable { max-height: 300px; overflow: hidden; position: relative; }
.expandable .toggle { display: block; padding: 25px 0 15px 0; position: absolute; bottom: 0px; left: 0; right: 0; background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 36%); }
.expandable .toggle a { display: block; cursor: pointer; color: #ed5f30; text-align: center; }

/* TIP */
.tip { border-left: 3px solid #ed5f30; border-radius: 4px; box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; }
.tip i { color: #ed5f30; }

/* AD */
.recl.image { overflow: hidden; }
.recl.image img { width: 100%; }

/* KEY VALUES */
.keyvalues { border-top: 1px solid #efefef; }
.keyvalues h3 { font-size: 1.25rem; }
.keyvalues .logo { max-width: 300px; }
.keyvalues .value { border: 1px solid #efefef; }

/* SEARCH */
@media (max-width: 576px) {
    #gekozenGemeentes { font-size: 0.9rem; padding-left: 0.5rem; }
}
#gekozenGemeentes .badge { display: inline-flex; align-items: center; padding-right: 0.4rem; }

/* FAQ */
.accordion-item { margin-bottom: 30px; border-radius: var(--bs-accordion-border-radius) !important; border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color) !important; }
.accordion-item h2 button { border-radius: var(--bs-accordion-inner-border-radius); }
.accordion-button:not(.collapsed) { background: #ed5f30 !important; color: white !important; }
.accordion-button:not(.collapsed):after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}
.accordion-item:last-of-type { margin-bottom: 0; }

/* PROJECTS */
.carousel-indicators [data-bs-target]{ background-color: #ed5f30; }

/* REALTOR */
.realtor_location { box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; }

/* FOOTER */
footer { border-top: 1px solid #efefef; }


.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,.15)!important;
}
.transition {
    transition: all 0.3s ease;
}

/* MODULE: SIMPLE HEADER */
.simple_header { background-size: cover; aspect-ratio: 21/9; background-repeat: no-repeat; background-position: center center; }
.simple_header .overlay_box { background-color: rgba(0,0,0,0.7); }
.simple_header h1 { font-weight: bold; }

/* Residentieel zoekformulier */
.simple_header.mb-5:has(+ .res-search) {
  margin-bottom: 0 !important;
}

.res-search {
  position: relative;
  z-index: 2;
  margin: 2rem 0 2.5rem;
}

.simple_header + .res-search {
  margin-top: -28px;
  padding: 0 0 4px;
}

.res-search-bar {
  background: #fff;
  border: 1px solid #E8EAED;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(26, 26, 46, 0.1);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.res-search-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.res-search-row--no-price {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.res-search-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.res-search-label {
  display: block;
  height: 16px;
  line-height: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.res-search-control {
  width: 100%;
  height: 44px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.2;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  background: #F8F9FA;
  box-shadow: none;
  padding-top: 0;
  padding-bottom: 0;
}

.res-search-control:focus {
  background: #fff;
  border-color: #E8540A;
  box-shadow: 0 0 0 3px rgba(232, 84, 10, 0.12);
}

.res-search-toggle {
  display: flex;
  width: 100%;
  height: 44px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  overflow: hidden;
  background: #F8F9FA;
}

.res-search-toggle button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #6B7280;
  cursor: pointer;
  white-space: nowrap;
  min-width: 0;
}

.res-search-toggle button.active {
  background: #E8540A;
  color: #fff;
}

.res-search-loc {
  position: relative;
}

.res-search-loc-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  pointer-events: none;
  z-index: 1;
}

.res-search-loc .res-search-control {
  padding-left: 32px;
}

.res-search-chips:empty {
  display: none;
}

.res-search-chips:not(:empty) {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.res-search-field--loc .res-search-chips:not(:empty) {
  margin-top: 8px;
}

.res-search-field--price-from.is-hidden,
.res-search-field--price-to.is-hidden {
  display: none !important;
}

.res-search-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.res-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border-radius: 10px;
  font-weight: 600;
  white-space: nowrap;
  width: 100%;
}

.res-search .ui-autocomplete,
.res-search-loc .ui-autocomplete {
  z-index: 1050;
  max-height: 220px;
  overflow-y: auto;
  font-size: 13px;
  width: 100% !important;
  left: 0 !important;
  right: 0;
  margin-top: 4px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.12);
}

@media (max-width: 1199.98px) {
  .res-search-row,
  .res-search-row--no-price {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .simple_header + .res-search {
    margin-top: -18px;
  }

  .res-search-bar {
    border-radius: 14px;
    padding: 14px;
  }

  .res-search-row,
  .res-search-row--no-price {
    grid-template-columns: 1fr 1fr;
  }

  .res-search-field--context,
  .res-search-field--loc {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .res-search-row,
  .res-search-row--no-price {
    grid-template-columns: 1fr;
  }

  .res-search-field--context,
  .res-search-field--loc {
    grid-column: auto;
  }

  .res-search-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
    .simple_header { aspect-ratio: 16/9; }
}
@media (max-width: 768px) {
    .simple_header { aspect-ratio: 4/3; }
}

.main_category {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.main_category::after {
    content: "";
    position: absolute;
    inset: 0;
}
.main_category span {
    position: absolute;
    bottom: 15px;
    left: 20px;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    z-index: 2;
    height: auto !important;
    width: auto !important;
    top: auto;
}
.main_category a {
    z-index: 1;
}
.main_category a:hover {
    background: rgba(0,0,0,0.35);
}

/* DETAIL */
.epc_A { background-color: #509f34; }
.epc_B { background-color: #d0d202; }
.epc_C { background-color: #f4d701; }
.epc_D { background-color: #fbb93e; }
.epc_E { background-color: #ef7a1b; }
.epc_F { background-color: #de3032; }
.epc_DEF { background: linear-gradient(90deg,rgba(251, 185, 62, 1) 10%, rgba(222, 48, 50, 1) 89%);}
#mobileContactBar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    z-index: 1050; /* Zorgt dat het boven modals zweeft indien nodig */
    padding: 10px 15px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 992px) {
    #mobileContactBar { display: none !important; }
}

/* Homepage – Zoek op kaart banner */
.ip-banner * {
  box-sizing: border-box;
}

.ip-map-preview svg text {
  font-family: inherit;
}

.ip-banner {
  margin-top: 3.5rem;
  background: #F5F6FA;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  position: relative;
  min-height: 140px;
}

.ip-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, #E8540A14 0%, transparent 65%);
  pointer-events: none;
}

.ip-map-preview {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1.5px solid #E0E2E8;
  box-shadow: 0 2px 8px rgba(26, 26, 46, 0.06);
}

.ip-map-preview svg {
  width: 100%;
  height: 100%;
}

.ip-content {
  flex: 1;
  min-width: 0;
}

.ip-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFF0E8;
  border: 1px solid #F5C4A8;
  color: #C94709;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ip-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E8540A;
  animation: ip-pulse 1.8s infinite;
}

@keyframes ip-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.ip-title {
  font-size: 22px;
  font-weight: 700;
  color: #1A1A2E;
  margin: 0 0 6px;
  line-height: 1.2;
}

.ip-title span {
  color: #E8540A;
}

.ip-sub {
  font-size: 13px;
  color: #6B7280;
  margin: 0 0 18px;
  line-height: 1.5;
}

.ip-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E8540A;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.ip-cta:hover {
  background: #C94709;
  color: #fff;
  text-decoration: none;
}

.ip-cta svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.ip-features {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.ip-feat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #9CA3AF;
}

.ip-feat svg {
  width: 13px;
  height: 13px;
  stroke: #C4C9D4;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .ip-banner {
    flex-direction: column;
    padding: 20px;
  }

  .ip-map-preview {
    width: 100%;
    height: 100px;
  }
}

/* Kaartpagina (/kaart) */
body.kaart-page {
  overflow: hidden;
  background: #F8F7F5;
}

body.kaart-page > .container {
  display: none;
}

.kaart-app {
  width: 100%;
  height: calc(100vh - 50px);
  height: calc(100dvh - 50px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
}

.kaart-topbar {
  height: 54px;
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  flex-shrink: 0;
  z-index: 1000;
}

.kaart-topbar-summary {
  display: none;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.kaart-topbar-title {
  font-size: 15px;
  font-weight: 700;
  color: #1A1A2E;
  white-space: nowrap;
}

.kaart-filter-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  flex-wrap: nowrap;
}

.kaart-filter-toggle {
  display: flex;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
}

.kaart-filter-toggle button {
  border: none;
  background: none;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 500;
  color: #6B7280;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}

.kaart-filter-toggle button.active {
  background: #E8540A;
  color: #fff;
}

.kaart-fsel {
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  padding: 5px 26px 5px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #1A1A2E;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 8px center;
  cursor: pointer;
  outline: none;
  appearance: none;
  transition: border-color .15s;
  max-width: 160px;
}

.kaart-fsel:hover,
.kaart-fsel:focus {
  border-color: #E8540A;
}

.kaart-floc--wide {
  min-width: 140px;
  flex: 1;
  max-width: 200px;
}

.kaart-gemeente-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  max-width: 200px;
}

.kaart-app .ui-autocomplete {
  z-index: 2300;
  max-height: 220px;
  overflow-y: auto;
  font-size: 12px;
}

.kaart-radius-circle {
  pointer-events: none;
}

.kaart-prijs-wrap {
  display: inline-block;
}

.kaart-prijs-wrap.is-hidden {
  display: none !important;
}

.kaart-floc {
  display: flex;
  align-items: center;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
  min-width: 140px;
  transition: border-color .15s;
}

.kaart-floc:focus-within {
  border-color: #E8540A;
}

.kaart-floc input {
  border: none;
  outline: none;
  padding: 5px 8px;
  font-size: 12px;
  color: #1A1A2E;
  width: 100%;
  background: transparent;
}

.kaart-floc .li {
  padding: 0 8px;
  color: #6B7280;
  font-size: 13px;
  flex-shrink: 0;
}

.kaart-btn-zoek {
  background: #E8540A;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}

.kaart-btn-zoek:hover {
  background: #C94709;
}

.kaart-btn-filt {
  display: none;
  border: 1.5px solid #E5E7EB;
  background: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #1A1A2E;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  white-space: nowrap;
}

.kaart-btn-filt.is-active {
  border-color: #E8540A;
  color: #E8540A;
  background: #FFF4EE;
}

.kaart-btn-filt.is-active .bi {
  color: #E8540A;
}

.kaart-filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  pointer-events: none;
}

.kaart-filter-overlay.open {
  visibility: visible;
  pointer-events: auto;
}

.kaart-filter-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.48);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.kaart-filter-overlay.open .kaart-filter-backdrop {
  opacity: 1;
}

.kaart-filter-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(420px, calc(100vw - 32px));
  max-height: min(85dvh, 640px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(10px) scale(0.97);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.kaart-filter-overlay.open .kaart-filter-sheet {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.kaart-filter-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 10px;
  border-bottom: 1px solid #E5E7EB;
  flex-shrink: 0;
}

.kaart-filter-sheet-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1A1A2E;
}

.kaart-filter-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #F3F4F6;
  color: #1A1A2E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.kaart-filter-close:hover {
  background: #E5E7EB;
}

.kaart-filter-sheet-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.kaart-filter-sheet-foot {
  padding: 12px 16px 16px;
  border-top: 1px solid #E5E7EB;
  flex-shrink: 0;
  background: #fff;
}

.kaart-filter-sheet-foot .kaart-btn-zoek {
  width: 100%;
  padding: 11px 16px;
  font-size: 14px;
}

body.kaart-filters-open {
  overflow: hidden;
}

.kaart-drow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kaart-drow .kaart-fsel {
  flex: 1;
  min-width: 120px;
}

.kaart-drow .kaart-floc {
  flex: 1;
}

.kaart-main-layout {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
}

.kaart-map-container {
  flex: 2;
  min-width: 0;
  position: relative;
}

#kaart-map {
  width: 100%;
  height: 100%;
}

body.kaart-page .leaflet-tile {
  filter: grayscale(100%) contrast(0.85) brightness(1.08) !important;
}

.kaart-results-panel {
  flex: 1;
  min-width: 340px;
  max-width: 400px;
  background: #F8F7F5;
  overflow-y: auto;
  border-left: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
}

.kaart-res-head {
  padding: 12px 14px 8px;
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
}

.kaart-res-head h2 {
  font-size: 13px;
  font-weight: 600;
  color: #1A1A2E;
  margin: 0;
}

.kaart-res-head p {
  font-size: 11px;
  color: #6B7280;
  margin: 1px 0 0;
}

.kaart-cbadge {
  display: inline-block;
  background: #E8540A;
  color: #fff;
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 5px;
}

.kaart-pand-card {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: 12px 42px 12px 14px;
  cursor: pointer;
  transition: background .12s;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.kaart-pand-card:hover,
.kaart-pand-card.hov {
  background: #FFF4EE;
}

.kaart-pand-card.sel {
  background: #FFE8DC;
  box-shadow: inset 3px 0 0 #E8540A;
}

.kaart-pand-card.sel.hov {
  background: #FFE8DC;
}

.kaart-pimg {
  width: 74px;
  height: 60px;
  border-radius: 7px;
  flex-shrink: 0;
  background: #e9e5e0;
  overflow: hidden;
  position: relative;
}

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

.kaart-pinfo {
  flex: 1;
  min-width: 0;
}

.kaart-pprijs {
  font-size: 14px;
  font-weight: 700;
  color: #E8540A;
}

.kaart-ptags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 3px;
}

.kaart-pbadge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  background: #EEF2FF;
  color: #4338CA;
  border-radius: 4px;
  padding: 1px 6px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.kaart-pstatus {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: #6B7280;
}

.kaart-epc {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 6px;
  color: #fff;
  line-height: 1.3;
}

.kaart-padres {
  font-size: 11px;
  color: #1A1A2E;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kaart-pmeta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}

.kaart-pdet {
  font-size: 11px;
  color: #6B7280;
  display: flex;
  gap: 6px;
  flex: 1;
}

.kaart-mak {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff;
  z-index: 2;
}

.kaart-mak img {
  max-width: 88%;
  max-height: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.kaart-pagination-bar {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  border-top: 1px solid #E5E7EB;
  flex-shrink: 0;
}

.kaart-pgn-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 4px;
  max-width: 100%;
}

.kaart-pdots {
  width: 20px;
  text-align: center;
  font-size: 12px;
  color: #6B7280;
  user-select: none;
  flex-shrink: 0;
}

.kaart-pbtn-edge {
  font-size: 11px;
}

.kaart-pbtn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1.5px solid #E5E7EB;
  background: none;
  font-size: 12px;
  font-weight: 500;
  color: #1A1A2E;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}

.kaart-pbtn:hover {
  border-color: #E8540A;
  color: #E8540A;
}

.kaart-pbtn.act {
  background: #E8540A;
  border-color: #E8540A;
  color: #fff;
}

.kaart-pbtn:disabled {
  opacity: .35;
  cursor: default;
}

.kaart-pcount {
  font-size: 11px;
  color: #6B7280;
  margin-left: 4px;
}

.kaart-float-btn {
  position: absolute;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  background: #1A1A2E;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  z-index: 2500;
  display: none;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .28);
}

.kaart-float-btn.hidden {
  display: none !important;
}

.kaart-layers {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 900;
}

.kaart-layers-btn {
  background: #fff;
  color: #1A1A2E;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  transition: border-color .15s, background .15s;
}

.kaart-layers-btn:hover,
.kaart-layers-btn[aria-expanded="true"] {
  border-color: #2563EB;
  background: #EFF6FF;
}

.kaart-layers-icon {
  font-size: 14px;
  line-height: 1;
}

.kaart-layers-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

.kaart-layers-menu[hidden] {
  display: none;
}

.kaart-layers-title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #6B7280;
}

.kaart-layers-title--sep {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #E5E7EB;
}

.kaart-layer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
}

.kaart-layer-item:hover {
  background: #F9FAFB;
}

.kaart-layer-item input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #2563EB;
  flex-shrink: 0;
}

.kaart-layer-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1A1A2E;
}

.kaart-layer-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.kaart-layer-swatch--bao {
  background: #2563EB;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #2563EB;
}

.kaart-layer-swatch--so {
  background: #7C3AED;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #7C3AED;
}

.kaart-layer-swatch--super {
  background: #059669;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #059669;
}

.kaart-layer-swatch--train {
  background: #1E40AF;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #1E40AF;
}

.kaart-school-pin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

.kaart-school-pin--bao {
  background: #2563EB;
  box-shadow: 0 2px 8px rgba(37, 99, 235, .35);
}

.kaart-school-pin--so {
  background: #7C3AED;
  box-shadow: 0 2px 8px rgba(124, 58, 237, .35);
}

.kaart-school-cluster {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2563EB;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(37, 99, 235, .35);
}

body.kaart-page .leaflet-popup-content:has(.kaart-school-popup) {
  width: 248px !important;
}

.kaart-school-popup {
  overflow: hidden;
}

.kaart-school-popup-head {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
}

.kaart-school-popup--bao .kaart-school-popup-head {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
}

.kaart-school-popup--so .kaart-school-popup-head {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
}

.kaart-school-popup-icon {
  font-size: 24px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .15));
}

.kaart-school-popup-body {
  padding: 12px 14px 14px;
}

.kaart-school-popup-naam {
  font-size: 14px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 8px;
  line-height: 1.35;
}

.kaart-school-popup-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.kaart-school-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  border-radius: 4px;
  padding: 4px 7px;
}

.kaart-school-tag--niveau {
  background: #F3F4F6;
  color: #374151;
}

.kaart-school-popup--bao .kaart-school-tag--net {
  background: #EFF6FF;
  color: #1D4ED8;
}

.kaart-school-popup--so .kaart-school-tag--net {
  background: #F5F3FF;
  color: #6D28D9;
}

.kaart-school-popup-adres {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  color: #4B5563;
  line-height: 1.45;
  margin-bottom: 12px;
}

.kaart-school-popup-pin {
  flex-shrink: 0;
  font-size: 12px;
  line-height: 1.2;
}

.kaart-school-popup-btn {
  display: block;
  text-align: center;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  width: 100%;
  text-decoration: none;
  color: #fff !important;
  transition: background .15s;
}

.kaart-school-popup--bao .kaart-school-popup-btn {
  background: #2563EB;
}

.kaart-school-popup--bao .kaart-school-popup-btn:hover,
.kaart-school-popup--bao .kaart-school-popup-btn:focus,
.kaart-school-popup--bao .kaart-school-popup-btn:visited {
  color: #fff !important;
  background: #1D4ED8;
}

.kaart-school-popup--so .kaart-school-popup-btn {
  background: #7C3AED;
}

.kaart-school-popup--so .kaart-school-popup-btn:hover,
.kaart-school-popup--so .kaart-school-popup-btn:focus,
.kaart-school-popup--so .kaart-school-popup-btn:visited {
  color: #fff !important;
  background: #6D28D9;
}

.kaart-super-pin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #059669;
  border: 2.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(5, 150, 105, .35);
  font-size: 14px;
  line-height: 1;
}

.kaart-super-cluster {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #059669;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(5, 150, 105, .35);
}

body.kaart-page .leaflet-popup-content:has(.kaart-super-popup) {
  width: 248px !important;
}

.kaart-super-popup {
  overflow: hidden;
}

.kaart-super-popup-head {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.kaart-super-popup-icon {
  font-size: 24px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .15));
}

.kaart-super-popup-body {
  padding: 12px 14px 14px;
}

.kaart-super-popup-naam {
  font-size: 14px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 10px;
  line-height: 1.35;
}

.kaart-super-popup-adres {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  color: #4B5563;
  line-height: 1.45;
}

.kaart-super-popup-pin {
  flex-shrink: 0;
  font-size: 12px;
  line-height: 1.2;
}

.kaart-train-pin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1E40AF;
  border: 2.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(30, 64, 175, .35);
  font-size: 14px;
  line-height: 1;
}

.kaart-train-cluster {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1E40AF;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(30, 64, 175, .35);
}

body.kaart-page .leaflet-popup-content:has(.kaart-train-popup) {
  width: 248px !important;
}

.kaart-train-popup {
  overflow: hidden;
}

.kaart-train-popup-head {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%);
}

.kaart-train-popup-icon {
  font-size: 24px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .15));
}

.kaart-train-popup-body {
  padding: 12px 14px 14px;
}

.kaart-train-popup-naam {
  font-size: 14px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 4px;
  line-height: 1.35;
}

.kaart-train-popup-sub {
  font-size: 11px;
  color: #6B7280;
  line-height: 1.4;
}

.kaart-zoom-out-btn {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #1A1A2E;
  border: 1.5px solid #E5E7EB;
  border-radius: 24px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  transition: border-color .15s, background .15s;
}

.kaart-zoom-out-btn:hover {
  border-color: #E8540A;
  background: #FFF4EE;
}

.kaart-zoom-out-btn.hidden {
  display: none !important;
}

.kaart-back-btn {
  background: #1A1A2E;
  color: #fff;
  border: none;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 6px;
  width: 100%;
  text-align: left;
  flex-shrink: 0;
}

body.kaart-page .leaflet-popup-content-wrapper {
  border-radius: 10px !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .15) !important;
}

body.kaart-page .leaflet-popup-content {
  margin: 0 !important;
  width: 220px !important;
}

.kaart-popup-inner {
  padding: 0;
}

.kaart-popup-thumb {
  position: relative;
  height: 110px;
  background: #e9e5e0;
  overflow: hidden;
}

.kaart-popup-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kaart-popup-type {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  background: #EEF2FF;
  color: #4338CA;
  border-radius: 4px;
  padding: 2px 6px;
}

.kaart-popup-body {
  padding: 10px 11px 11px;
}

.kaart-popup-prijs {
  font-size: 14px;
  font-weight: 700;
  color: #E8540A;
}

.kaart-popup-adres {
  font-size: 11px;
  color: #1A1A2E;
  margin: 2px 0 6px;
  line-height: 1.35;
}

.kaart-popup-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 11px;
}

.kaart-popup-status {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  background: rgba(255, 255, 255, .92);
  color: #1A1A2E;
  border-radius: 4px;
  padding: 2px 6px;
}

.kaart-popup-btn {
  display: block;
  text-align: center;
  background: #E8540A;
  color: #fff !important;
  border-radius: 6px;
  padding: 6px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  width: 100%;
  text-decoration: none;
  margin-top: 4px;
}

.kaart-popup-btn:hover,
.kaart-popup-btn:focus,
.kaart-popup-btn:visited {
  color: #fff !important;
  background: #C94709;
}

body.kaart-page .marker-cluster-small,
body.kaart-page .marker-cluster-medium,
body.kaart-page .marker-cluster-large {
  background: rgba(232, 84, 10, .15) !important;
}

body.kaart-page .marker-cluster-small div,
body.kaart-page .marker-cluster-medium div,
body.kaart-page .marker-cluster-large div {
  background: #E8540A !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 12px !important;
}

@media (max-width: 768px) {
  .kaart-filter-inline {
    display: none !important;
  }

  .kaart-topbar-summary {
    display: flex;
  }

  .kaart-btn-filt {
    display: flex !important;
  }

  .kaart-results-panel {
    position: absolute;
    inset: 0;
    min-width: unset;
    max-width: unset;
    transform: translateX(110%);
    transition: transform .3s ease;
    z-index: 1100;
    border-left: none;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .kaart-map-container .leaflet-top,
  .kaart-map-container .leaflet-bottom {
    z-index: 500;
  }

  .kaart-results-panel.vis {
    transform: translateX(0);
  }

  .kaart-map-container {
    width: 100%;
    flex: none;
    min-height: 0;
  }

  .kaart-float-btn:not(.hidden) {
    display: flex !important;
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  .kaart-map-container .leaflet-bottom {
    margin-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
  }

  .kaart-layers {
    top: 10px;
    right: 10px;
  }

  .kaart-back-btn {
    display: flex !important;
  }
}

/* Vastgoed tabeloverzicht (/aanbod/tabel) */
.estate-table-page .table-responsive {
  -webkit-overflow-scrolling: touch;
}

.estate-table-page .estate-data-table {
  font-size: 0.85rem;
}

.estate-table-page .estate-data-table th {
  position: sticky;
  top: 0;
  background: #f8f9fa;
  z-index: 1;
  white-space: nowrap;
}

.estate-table-page .estate-data-table td {
  white-space: nowrap;
}

/* Homepage – publicerende makelaars */
.home-realtor-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-realtor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08) !important;
}

.home-realtor-card__logo {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-realtor-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Favorieten */
.fav-heart-btn {
  position: absolute;
  left: 10px;
  top: auto;
  bottom: 10px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.fav-heart-btn:hover {
  transform: scale(1.06);
  color: #E8540A;
}

.fav-heart-btn.is-active {
  color: #E8540A;
}

.fav-heart-btn--kaart {
  width: 26px;
  height: 26px;
  left: 4px;
  bottom: 4px;
  font-size: 0.75rem;
}

.fav-heart-btn--kaart-popup {
  left: auto;
  right: 8px;
  bottom: auto;
  top: 8px;
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
}

.fav-float-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1060;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #E8540A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(232, 84, 10, 0.35);
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.fav-float-btn:hover {
  color: #fff;
  transform: translateY(-2px);
}

.fav-float-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
}

.fav-float-btn .bi {
  font-size: 1.25rem;
}

.fav-float-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.favorites-page-title {
  position: relative;
  display: inline-block;
  padding-right: 1.6rem;
}

.favorites-count-badge {
  position: absolute;
  top: -4px;
  right: 0;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.favorites-manage-toggle {
  cursor: pointer;
}

.favorites-manage-toggle:focus {
  outline: none;
  box-shadow: none;
}

.favorites-manage-chevron {
  transition: transform 0.2s ease;
}

.favorites-manage-toggle[aria-expanded="true"] .favorites-manage-chevron {
  transform: rotate(180deg);
}

body:has(#mobileContactBar) .fav-float-btn {
  bottom: 78px;
}

.fav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1065;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.fav-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.fav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 100vw);
  max-width: 100vw;
  height: 100%;
  background: #fff;
  z-index: 1070;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-x: hidden;
}

.fav-drawer.is-open {
  transform: translateX(0);
}

.fav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.fav-drawer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fav-drawer-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fav-drawer-close {
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.fav-drawer-close:hover {
  background: #f3f3f3;
}

.fav-drawer-body {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.75rem 1rem;
}

.fav-drawer-footer {
  padding: 1rem;
  border-top: 1px solid #eee;
  flex-shrink: 0;
}

.fav-drawer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f0f0f0;
  min-width: 0;
}

.fav-drawer-item:last-child {
  border-bottom: 0;
}

.fav-drawer-item-link {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.fav-drawer-item-meta {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.fav-drawer-item-thumb {
  width: 64px;
  height: 48px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #eee;
  flex-shrink: 0;
}

.fav-drawer-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fav-drawer-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fav-drawer-item-sub {
  font-size: 0.78rem;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fav-drawer-item-remove {
  border: 0;
  background: transparent;
  color: #E8540A;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fav-drawer-item-remove:hover {
  background: #fff3ee;
}

body.fav-drawer-open {
  overflow: hidden;
}

.fav-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  z-index: 1080;
  background: #111;
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  max-width: calc(100vw - 2rem);
  text-align: center;
}

.fav-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.favorites-sync-code {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.favorites-privacy-banner {
  background-color: #f8f9fa;
}

.fav-btn-primary {
  background-color: #E8540A;
  border-color: #E8540A;
}

.fav-btn-primary:hover,
.fav-btn-primary:focus {
  background-color: #d14a08;
  border-color: #d14a08;
  color: #fff;
}

@media (max-width: 575.98px) {
  .fav-float-btn {
    right: 14px;
    bottom: 14px;
  }

  body:has(#mobileContactBar) .fav-float-btn {
    bottom: 72px;
  }
}