:root {
    --blok-propsync-font-base: var(--font-2, var(--font-1, "Helvetica Neue", Arial, sans-serif));
    --blok-propsync-font-heading: var(--font-1, var(--blok-propsync-font-base));
}

.blok-propsync-grid {
    display: grid;
    gap: 1.5rem;
}

.blok-propsync-grid--three {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.blok-propsync-grid--two {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.blok-propsync-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.blok-propsync-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.blok-propsync-card__image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.blok-propsync-card__body {
    padding: 1rem 1.25rem;
    flex: 1 1 auto;
}

.blok-propsync-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
}

.blok-propsync-card__meta {
    font-size: 0.9rem;
    color: #65748b;
    margin-bottom: 0.75rem;
}

.blok-propsync-card__footer {
    padding: 0 1.25rem 1.25rem;
}

.blok-propsync-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    background: #212b36;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.blok-propsync-card__button:hover {
    background: #11161c;
    color: #fff;
}

.blok-propsync-search {
    margin-bottom: 1.5rem;
}

/* Quickbar styles */
.blok-propsync-quickbar,
.blok-propsync-quick-search {
    font-family: var(--font-1);
}
.blok-propsync-quickbar__row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}
.blok-quickbar__search { flex: 1 1 360px; min-width: 220px; position: relative; }
.blok-quickbar__segment {
    display: flex;
    border: 1px solid #dddddd;
    position: relative;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-1);
    font-size: 14px;
    transition: border-color .3s;
    gap: 8px;
    padding: 6px 10px;
    height: 50px;
    min-width: 0; /* allow flex children to shrink inside */
}
.blok-quickbar__segment:hover { border-color: #111; }
.blok-quickbar__search {
    max-width: 100%;
    overflow: visible; /* allow dropdown to render outside container */
}
.blok-quickbar__tags {
    display: none; /* hidden by default when empty */
    align-items: center;
    gap: 6px;
    padding: 6px 6px 4px;
    margin-bottom: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    cursor: grab;
    font-family: var(--font-1);
}
.blok-quickbar__tags-label {
    display: none; /* Hidden by default - only shown on map-search page */
}
.blok-quickbar__tags.is-active { display: flex; }
.blok-quickbar__tags.is-dragging { cursor: grabbing; user-select: none; }
.blok-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--blok-tag-bg, rgba(255,255,255,0.15)); color: #fff; border-radius: 999px; padding: 3px 8px; font-size: 12px; line-height: 1; }
.blok-tag__remove { background: transparent; border: none; color: inherit; cursor: pointer; padding: 0; font-size: 14px; line-height: 1; }
.blok-quickbar__segment input[type="text"],
.blok-quickbar__segment input[type="number"] {
    background: transparent;
    border: none;
    color: inherit;
}
.blok-quickbar__search input[type="text"] { flex: 1 1 160px; min-width: 120px; }
.blok-quickbar__segment input::placeholder { color: #a8a8a8; }
/* Placeholder font size for the main search input */
#ff_q_display::-webkit-input-placeholder { font-size: 16px; }
#ff_q_display::-ms-input-placeholder { font-size: 16px; }
#ff_q_display::placeholder { font-size: 16px; }
.blok-quickbar__icon { opacity: 0.85; display: inline-flex; align-items: center; }
.blok-quickbar__icon svg { width: 20px; height: 20px; display: block; color: #a8a8a8; }
.blok-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; color: #111827; border: 1px solid rgba(0,0,0,0.12); box-shadow: 0 10px 24px rgba(0,0,0,0.12); z-index: 1000; }
.blok-quickbar__search { position: relative; }
.blok-suggest__list { list-style: none; margin: 0; padding: 0.25rem 0; max-height: 320px; overflow: auto; }
.blok-suggest__loading { padding: 0.5rem 0.75rem; opacity: 0.8; }
.blok-suggest__group { padding: 0.25rem 0; }
.blok-suggest__type { display: block; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; padding: 0.25rem 0.75rem; font-family: var(--font-1); }
.blok-suggest__items { list-style: none; margin: 0; padding: 0; }

.blok-suggest__item:hover { background: rgba(0,0,0,0.04); }
.blok-quickbar__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-color-1) !important;
    font-size: 14px;
    font-weight: 400;
    font-family: var(--font-1);
    min-height: 40px;
    line-height: 100%;
    color: #fff;
    border: none;
    text-align: center;
    cursor: pointer;
    padding: 0 10px;
}
.blok-quickbar__submit:hover { background: var(--brand-color-1) !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Mobile-friendly adjustments */
@media (max-width: 640px) {
    .blok-propsync-quickbar { padding: 8px; border-radius: 6px; }
    .blok-propsync-quickbar__row { flex-direction: column; }
    .blok-quickbar__segment { width: 100%; }
    .blok-quickbar__search { flex: 1 1 auto; min-width: 0; max-height: 96px; }
    .blok-quickbar__submit { width: 100%; min-height: 44px; font-size: 16px; }
    .blok-quickbar__segment input[type="text"],
    .blok-quickbar__segment input[type="number"],
    .blok-propsync-select__input { font-size: 16px; }
    .blok-propsync-select__control { min-height: 44px; padding: 0.35rem 0.6rem; }
    
    .blok-propsync-select__option { padding: 0.75rem 0.9rem; }
}

.blok-propsync-search label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.blok-propsync-search input,
.blok-propsync-search select {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
}

/* Custom searchable select */
.blok-propsync-select { position: relative; }
.blok-propsync-select__control {
    width: 100%;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: transparent;
    color: inherit;
    font-family: var(--font-1);
}
/* Dropdown chevron icon */
.blok-propsync-select__icon { display: inline-flex; align-items: center; opacity: 0.85; }
.blok-propsync-select__icon svg { width: 16px; height: 16px; display: block; color: inherit; transition: transform .2s ease; }
.blok-propsync-select__control[aria-expanded="true"] .blok-propsync-select__icon svg { transform: rotate(180deg); }
.blok-propsync-select__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 300px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    z-index: 1000;
    color: var(--second-color, #777777);
}
.blok-propsync-select__search {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: var(--second-color, #777777);
}
.blok-propsync-select__input {
    flex: 1 1 auto;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    color: var(--second-color, #777777);
}
.blok-propsync-select__list { max-height: 260px; overflow: auto; margin: 0; padding: 0.25rem 0; list-style: none; }
.blok-propsync-select__option { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0.75rem; cursor: pointer; color: var(--second-color, #777777); }
.blok-propsync-select__option:hover { background: rgba(0,0,0,0.04); }
.blok-propsync-select__check { opacity: 0.2; }
.blok-propsync-select__option.is-selected .blok-propsync-select__check { opacity: 1; }

/* Range select styles */
.blok-propsync-select__search.flex-center { 
    gap: 0.5rem; 
    max-width: 300px;
    padding: 0.5rem;
}
.blok-propsync-range__min,
.blok-propsync-range__max {
    flex: 1 1 0;
    min-width: 0;
    max-width: 120px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 0.4rem 0.5rem;
    font-size: 0.9rem;
    color: var(--second-color, #777777);
}
.blok-propsync-range__sep { 
    opacity: 0.6; 
    color: var(--second-color, #777777);
    flex-shrink: 0;
}
.blok-propsync-suggest .blok-propsync-select__option .blok-propsync-select__check { opacity: 0.2; }
.blok-propsync-suggest .blok-propsync-select__option.is-selected .blok-propsync-select__check { opacity: 1; }

/* Price select */
.blok-propsync-select__search .blok-propsync-unit {
    font-weight: 600;
    opacity: 0.7;
    color: var(--second-color, #777777);
    flex-shrink: 0;
}

.blok-propsync-price__min,
.blok-propsync-price__max {
    flex: 1 1 0;
    min-width: 0;
    max-width: 105px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 0.4rem 0.5rem;
    font-size: 0.9rem;
    color: var(--second-color, #777777);
}

/* Price instructions */
.blok-propsync-price__instructions {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
    color: var(--second-color, #777777);
    line-height: 1.4;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    text-align: center;
}

/* Price control with label and value */
.blok-propsync-select__control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blok-propsync-select__label-text {
    font-weight: 500;
    white-space: nowrap;
}

.blok-propsync-select__value {
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 1 auto;
}

.blok-propsync-select__control.has-value .blok-propsync-select__value {
    font-weight: 600;
}

.blok-propsync-pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.blok-propsync-pagination a,
.blok-propsync-pagination span {
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.blok-propsync-pagination .is-active {
    background: #212b36;
    color: #fff;
    border-color: #212b36;
}

.blok-propsync-alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    background: rgba(225, 29, 72, 0.1);
    color: #c81e55;
    margin: 1rem 0;
}

.blok-propsync-loading {
    text-align: center;
    padding: 2rem 0;
    font-weight: 500;
}

.blok-propsync-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    z-index: 10000;
}

.blok-propsync-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.blok-propsync-modal__dialog {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.blok-propsync-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.4rem;
}
.blok-propsync-account {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.blok-propsync-account__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.blok-propsync-account__greeting {
    font-weight: 600;
    color: #1f2937;
}

.blok-propsync-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #111827;
    background: #111827;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 1.25rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
}

.blok-propsync-button:hover {
    background: #0b1320;
    color: #ffffff;
}

.blok-propsync-button--secondary {
    background: transparent;
    color: #111827;
}

.blok-propsync-button--secondary:hover {
    background: #111827;
    color: #ffffff;
}

.blok-propsync-button.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.blok-map-card__address a {
    color: inherit;
    text-decoration: none;
}

.blok-map-card__address a:hover {
    text-decoration: underline;
}

.blok-propsync-account-modal {
    position: relative;
    max-width: 480px;
    width: 100%;
    padding: 2rem;
}

.blok-propsync-account-modal__tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.blok-propsync-account-modal__tabs button {
    flex: 1;
    border: 1px solid #111827;
    background: transparent;
    color: #111827;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.blok-propsync-account-modal__tabs button.is-active {
    background: #111827;
    color: #ffffff;
}

.blok-propsync-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blok-propsync-form__label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f2937;
}

.blok-propsync-form input[type="text"],
.blok-propsync-form input[type="email"],
.blok-propsync-form input[type="tel"],
.blok-propsync-form input[type="password"] {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    transition: border 0.2s ease;
}

.blok-propsync-form input:focus {
    outline: none;
    border-color: #111827;
}

.blok-propsync-form__notice {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #b91c1c;
}

.blok-propsync-form__notice[data-type="info"] {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #1d4ed8;
}

.blok-propsync-account__view {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.blok-propsync-account[data-blok-account-state="logged-in"] [data-blok-account-when="logged-in"],
.blok-propsync-account[data-blok-account-state="logged-out"] [data-blok-account-when="logged-out"] {
    display: inline-flex;
}


.blok-propsync-account {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.blok-propsync-account__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.blok-propsync-account__view {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.blok-propsync-account[data-blok-account-state="logged-in"] [data-blok-account-when="logged-in"],
.blok-propsync-account[data-blok-account-state="logged-out"] [data-blok-account-when="logged-out"] {
    display: inline-flex;
}

.blok-propsync-account__greeting {
    font-weight: 600;
    color: #1f2937;
}

.blok-propsync-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #111827;
    background: #111827;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 1.25rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
}

.blok-propsync-button:hover {
    background: #0b1320;
    color: #ffffff;
}

.blok-propsync-button--secondary {
    background: transparent;
    color: #111827;
}

.blok-propsync-button--secondary:hover {
    background: #111827;
    color: #ffffff;
}

.blok-propsync-button.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.blok-propsync-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    z-index: 10000;
}

.blok-propsync-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.blok-propsync-modal__dialog {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
    position: relative;
}

.blok-propsync-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.blok-propsync-account-modal__tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.blok-propsync-account-modal__tabs button {
    flex: 1;
    border: 1px solid #111827;
    background: transparent;
    color: #111827;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.blok-propsync-account-modal__tabs button.is-active {
    background: #111827;
    color: #ffffff;
}

.blok-propsync-account-modal__panels {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.blok-propsync-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blok-propsync-form__label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f2937;
}

.blok-propsync-form input[type="text"],
.blok-propsync-form input[type="email"],
.blok-propsync-form input[type="tel"],
.blok-propsync-form input[type="password"] {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    transition: border 0.2s ease;
}

.blok-propsync-form input:focus {
    outline: none;
    border-color: #111827;
}

.blok-propsync-form__notice {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #b91c1c;
}

.blok-propsync-form__notice[data-type="info"] {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #1d4ed8;
}

.blok-propsync-modal.is-open .blok-propsync-modal__dialog {
    animation: blok-propsync-modal-in 0.2s ease;
}

@keyframes blok-propsync-modal-in {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.blok-suggest__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blok-suggest__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 8px;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.blok-suggest__item:hover,
.blok-suggest__item:focus-visible {
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    outline: none;
}

.blok-suggest__label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blok-suggest__remove {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    color: rgba(15, 23, 42, 0.7);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    padding: 0;
    font-size: 0.75rem;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.blok-suggest__remove:hover,
.blok-suggest__remove:focus-visible {
    background: rgba(15, 23, 42, 0.12);
    border-color: rgba(15, 23, 42, 0.35);
    color: rgba(15, 23, 42, 0.9);
    outline: none;
    transform: scale(1.05);
}

.blok-suggest__remove:active {
    transform: scale(0.95);
}

/* Property Type Refinement Filter Dropdown */
.blok-map__filter-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blok-map__filter-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
}

.blok-map__filter-wrapper {
    position: relative;
}

.blok-map__filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: white;
    border: 1px solid #d1d5db;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.blok-map__filter-toggle:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.blok-map__filter-toggle svg {
    transition: transform 0.2s;
}

.blok-map__filter-toggle.is-open svg {
    transform: rotate(180deg);
}

.blok-map__filter-toggle [data-filter-count] {
    font-weight: 600;
    color: var(--brand-color-1);
}

.blok-map__filter-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 220px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    overflow: hidden;
}

.blok-map__filter-options {
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem;
}

.blok-map__filter-option {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.15s;
    user-select: none;
}

.blok-map__filter-option:hover {
    background: #f3f4f6;
}

.blok-map__filter-option input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    background-color: white;
    position: relative;
    transition: all 0.2s;
}

.blok-map__filter-option input[type="checkbox"]:checked {
    background-color: var(--brand-color-1);
    border-color: var(--brand-color-1);
}

.blok-map__filter-option input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.blok-map__filter-option span {
    font-size: 0.875rem;
    color: #374151;
}

.blok-map__filter-option input[type="checkbox"]:checked ~ span {
    font-weight: 500;
}

/* Card action buttons overlay */
.blok-card__actions {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.blok-card__action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #374151;
    text-decoration: none;
}

.blok-card__action-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blok-card__action-btn--map {
    background: var(--brand-color-1);
    color: white;
}

.blok-card__action-btn--map:hover {
    background: var(--brand-color-1)
}

.blok-card__action-btn svg {
    width: 16px;
    height: 16px;
}

.blok-map__filter-apply {
    width: 100%;
    padding: 0.75rem;
    background: var(--brand-color-1);
    color: white;
    border: none;
    border-top: 1px solid #e5e7eb;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.blok-map__filter-apply:hover {
    background: var(--brand-color-1);
}

.blok-map__filter-apply:active {
    transform: scale(0.98);
}

/* Hierarchical Property Type Selection Styles */
.blok-propsync-property-type-menu {
    max-height: 400px;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.blok-propsync-property-type-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
    background: white;
    z-index: 1;
}

.blok-propsync-property-type-clear-all {
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    transition: color 0.2s ease;
}

.blok-propsync-property-type-clear-all:hover {
    color: #111827;
}

.blok-propsync-property-type-list-wrapper {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.blok-propsync-property-type-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blok-propsync-property-type-category {
    border-bottom: 1px solid #f3f4f6;
}

.blok-propsync-property-type-category:last-child {
    border-bottom: none;
}

.blok-propsync-property-type-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.blok-propsync-property-type-category-header:hover {
    background-color: #f9fafb;
}

.blok-propsync-property-type-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
    min-width: 0;
}

.blok-propsync-property-type-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.blok-propsync-property-type-checkbox-label input[type="checkbox"]:hover {
    border-color: var(--brand-color-4, #9baf1e);
}

.blok-propsync-property-type-checkbox-label input[type="checkbox"]:checked {
    background-color: var(--brand-color-4, #9baf1e);
    border-color: var(--brand-color-4, #9baf1e);
}

.blok-propsync-property-type-checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    position: absolute;
    top: 2px;
    left: 5px;
    transform: rotate(45deg);
}

.blok-propsync-property-type-label {
    font-size: 14px;
    color: var(--second-color);
    user-select: none;
}

.blok-propsync-property-type-category-header .blok-propsync-property-type-label {
    font-weight: 600;
}

.blok-propsync-property-type-expand {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.blok-propsync-property-type-expand svg {
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
}

.blok-propsync-property-type-expand.is-expanded svg {
    transform: rotate(0deg);
}

.blok-propsync-property-type-expand svg path {
    stroke: #6b7280;
}

.blok-propsync-property-type-subcategories {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f9fafb;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.blok-propsync-property-type-subcategories[hidden] {
    display: none;
}

.blok-propsync-property-type-subcategories:not([hidden]) {
    max-height: 500px;
}

.blok-propsync-property-type-subitem {
    padding: 8px 16px 8px 48px;
}

.blok-propsync-property-type-subitem .blok-propsync-property-type-label {
    font-size: 13px;
    color: var(--second-color);
    font-weight: 400;
}

.blok-propsync-property-type-footer {
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
    background: white;
    position: sticky;
    bottom: 0;
    z-index: 1;
}

.blok-propsync-property-type-apply {
    background: var(--brand-color-1, #004f71);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.blok-propsync-property-type-apply:hover {
    background: var(--brand-color-2, #003a52);
    transform: translateY(-1px);
}

/* Indeterminate checkbox styling */
.blok-propsync-property-type-category-checkbox:indeterminate {
    background: var(--brand-color-4, #9baf1e);
    border-color: var(--brand-color-4, #9baf1e);
}

.blok-propsync-property-type-category-checkbox:indeterminate::after {
    content: '';
    display: block;
    width: 10px;
    height: 2px;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .blok-propsync-property-type-menu {
        max-height: 300px;
    }
    
    .blok-propsync-property-type-subitem {
        padding: 8px 16px 8px 36px;
    }
}

/* Advanced Search Collapsible Styling */
.blok-propsync-advanced-toggle {
    flex: 0 0 auto;
    display: flex;
}

.blok-propsync-advanced-toggle-btn {
    width: 100%;
    height: 100%;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: transparent;
    color: inherit;
    font-family: var(--font-1);
    border: none;
    font-size: inherit;
}

.blok-propsync-advanced-toggle-text {
    color: #000000;
}

.blok-propsync-advanced-toggle-icon {
    display: inline-flex;
    align-items: center;
    opacity: 0.85;
}

.blok-propsync-advanced-toggle-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    color: inherit;
    transition: transform 0.2s ease;
}

.blok-propsync-advanced-toggle-btn[aria-expanded="true"] .blok-propsync-advanced-toggle-icon svg {
    transform: rotate(180deg);
}

.blok-propsync-advanced-search-content {
    display: none;
    margin-top: 16px;
}

.blok-propsync-advanced-search-content:not([hidden]) {
    display: flex;
}

/* Advanced Search Dropdown Menu Styling */
.blok-propsync-advanced-search-content .blok-propsync-select__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 300px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    z-index: 1000;
    color: var(--second-color, #777777);
    padding: 0;
    margin: 0;
    list-style: none;
}

.blok-propsync-advanced-search-content .blok-propsync-select__menu li {
    list-style: none;
    margin: 0;
}

.blok-propsync-advanced-search-content .blok-propsync-select__menu button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    color: var(--second-color, #777777);
    font-family: inherit;
    font-size: inherit;
    transition: background-color 0.15s ease;
}

.blok-propsync-advanced-search-content .blok-propsync-select__menu button:hover {
    background: rgba(0,0,0,0.04);
}

.blok-propsync-advanced-search-content .blok-propsync-select__menu button:focus {
    outline: none;
    background: rgba(0,0,0,0.06);
}

/* Leaflet tile fix - only on larger screens (tablets and desktops) */
@media (min-width: 769px) {
    .leaflet-container img.leaflet-tile {
        mix-blend-mode: normal;
        width: 256px !important;
        height: 256px !important;
    }
}