/* -------------- LOADING -------------- */
@keyframes bentral-animation{0%{top:8px;height:64px}50%,to{top:24px;height:32px}}.hover-zoom{transition:.2s}.hover-zoom:hover{transform:scale(1.1);transition:.3s}.bentral-search-loader{width:100%;text-align:center;padding:40px}.bentral-animation{display:inline-block;position:relative;width:80px;height:80px}.bentral-animation div{display:inline-block;position:absolute;left:8px;width:16px;background:rgba(0,0,0,.2);animation:bentral-animation 1.2s cubic-bezier(0,.5,.5,1) infinite}.bentral-animation div:nth-child(1){left:8px;animation-delay:-.24s}.bentral-animation div:nth-child(2){left:32px;animation-delay:-.12s}.bentral-animation div:nth-child(3){left:56px;animation-delay:0ms}.bentra-empty-search-result,.bentra-error-search-result{text-align:center;padding:40px}
/* -------------- HOVER ZOOM -------------- */
.hover-zoom { transition: 0.2s; } .hover-zoom:hover { transform: scale(1.1); transition: 0.3s; }
/* -------------- RESULTS LOADER -------------- */
.bentra-empty-search-result,.bentra-error-search-result,.bentral-search-loader{text-align:center;padding:40px}.bentral-search-loader{width:100%}.bentral-animation{display:inline-block;position:relative;width:80px;height:80px}.bentral-animation div{display:inline-block;position:absolute;left:8px;width:16px;background:rgba(0,0,0,.2);animation:1.2s cubic-bezier(0,.5,.5,1) infinite bentral-animation}.bentral-animation div:first-child{left:8px;animation-delay:-.24s}.bentral-animation div:nth-child(2){left:32px;animation-delay:-.12s}.bentral-animation div:nth-child(3){left:56px;animation-delay:0s}@keyframes bentral-animation{0%{top:8px;height:64px}100%,50%{top:24px;height:32px}}
/* -------------------- SWIPER ------------------- */
.story__slider{width:100%;height:300px;border-radius:6px;overflow:hidden}.story__slide{position:relative}.story__slide img,.story__slide video{height:100%;width:100%;object-fit:cover;object-position:center}.story__pagination{bottom:unset!important;top:8px!important;display:flex;padding:0 4px}.story__pagination .swiper-pagination-bullet{flex-grow:1;border-radius:100vh;height:3px;margin:0 2px!important;background-color:rgba(247,247,245,.4);opacity:1}.story__pagination .swiper-pagination-bullet .swiper-pagination-progress{height:100%;width:0%;border-radius:100vh;background-color:#f7f7f5}.story__next,.story__prev{height:100%;width:50%;top:0;margin-top:0}.story__next::after,.story__prev::after{content:none}.story__prev{left:0}.story__next{right:0}.story__slider .slider-image{background-size:cover;background-position:center center;width:100%;height:100%}.swiper-button-next,.swiper-button-prev{color:rgb(0 0 0 / 50%)!important}.bentral-result{visibility:hidden;-webkit-transition:border-color .25s ease-in;-moz-transition:border-color .25s ease-in;-o-transition:border-color .25s ease-in;transition:border-color .25s ease-in}.bentral-result.visible{visibility:visible}
.story__fullscreen{position:absolute;right:10px;top:10px;z-index:12;width:34px!important;height:34px!important;min-width:34px;border:0!important;border-radius:6px;background:transparent!important;cursor:pointer;padding:0!important;transition:background-color .2s ease,transform .2s ease}.story__fullscreen:hover,.story__fullscreen:focus{background:rgba(0,0,0,.55)!important;transform:scale(1.03);outline:none}.story__fullscreen:before,.story__fullscreen:after{content:"";position:absolute;width:10px;height:10px;border-color:#fff;border-style:solid}.story__fullscreen:before{top:8px;left:8px;border-width:2px 0 0 2px}.story__fullscreen:after{right:8px;bottom:8px;border-width:0 2px 2px 0}.story__slider:fullscreen,.story__slider:-webkit-full-screen{width:100vw!important;height:100vh!important;border-radius:0;background:#000}.story__slider:fullscreen .story__wrapper,.story__slider:fullscreen .story__slide,.story__slider:-webkit-full-screen .story__wrapper,.story__slider:-webkit-full-screen .story__slide{height:100%}.story__slider:fullscreen .slider-image,.story__slider:-webkit-full-screen .slider-image{background-size:contain;background-repeat:no-repeat}.story__slider.is-fullscreen .story__fullscreen{background:transparent!important}.story__slider.is-fullscreen .story__fullscreen:hover,.story__slider.is-fullscreen .story__fullscreen:focus{background:rgba(255,255,255,.2)!important}

/* -------------------- TABS FOR RESULTS ------------------- */
.bentral-search-results .search-results .head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 0;
    flex-wrap: wrap;
}
.bentral-search-results .search-results .head .count {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5rem;
    color: #1f2937;
    margin: 0;
}

.bentral-search-results .search-results .head .view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.bentral-search-results .search-results  .head .btn {
    background: transparent;
    color: #606060;
    text-transform: capitalize;
    border: 0;
    border-radius: 10px;
    padding: 0 10px;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.bentral-search-results .search-results .head .btn.is-active {
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.bentral-search-results .search-results  .head .btn:hover {
    background: #e5e7eb;
}

.bentral-search-results .search-results .body {
    width: 100%;
    min-width: 0;
}

.bentral-search-results .search-results .body .view-panel {
    width: 100%;
}

.bentral-search-results .search-results .body .map-view {
    width: 100%;
}

.bentral-search-results .search-results.has-map.map-active {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

.bentral-search-results .search-results.has-map.map-active .body,
.bentral-search-results .search-results.has-map.map-active .map-view,
.bentral-search-results .search-results.has-map.map-active .map-shell,
.bentral-search-results .search-results.has-map.map-active .property-on-map {
    width: 100%;
    max-width: 100%;
}

.bentral-search-results .search-results .body .map-shell {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #eef2f7;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.bentral-search-results .search-results .body .property-on-map {
    width: 100% !important;
    min-height: 520px;
    display: block;
}

.bentral-search-results .search-results.map-active .body {
    display: block;
}

.bentral-search-results .search-results .body .property-on-map > div {
    width: 100% !important;
}

@media (max-width: 767px) {
    .bentral-search-results .search-results .head {
        align-items: stretch;
    }

    .bentral-search-results .search-results .head .view {
        width: 100%;
        justify-content: stretch;
    }

    .bentral-search-results .search-results .head .btn {
        flex: 1 1 0;
        text-align: center;
    }

    .bentral-search-results .search-results .body .property-on-map {
        min-height: 420px;
    }
}

/* Default result card: supports {{ image-swiper }} (slider or single image) */
.bentral-result-card-media {
    position: relative;
    overflow: hidden;
}

.bentral-result-card-visual {
    position: relative;
    min-height: 220px;
}

.bentral-result-card-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(6, 27, 65, 0) 0%, rgb(6 27 65 / 80%) 100%);
}

.bentral-result-card-visual .story,
.bentral-result-card-visual .story__slider {
    height: 100%;
    min-height: 220px;
}

.bentral-result-card-visual .image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
}

.bentral-result-card-visual .image-bg + .title {
    display: none;
}

.bentral-result-card-media > .price,
.bentral-result-card-media > .title {
    position: relative;
    z-index: 2;
}
