.c-sr-results-map {
    background: #fff;
    border: 1px solid #d7e5dc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(30, 80, 55, .08);
    margin-bottom: 16px;
}

.c-sr-results-map .p-map-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 13px 16px 11px;
    border-bottom: 1px solid #e8f0eb;
}

.c-sr-results-map .p-map-head > div:first-child {
    min-width: 0;
    flex: 1 1 260px;
}

.c-sr-results-map .p-map-title {
    color: #1d5d42;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.c-sr-results-map .p-map-subtitle,
.c-sr-results-map .p-map-count {
    color: #68756d;
    font-size: 14px;
    line-height: 1.35;
}

.c-sr-results-map .p-map-line-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    background-color: #0159c3;
    vertical-align: 1px;
}

.c-sr-results-map .p-map-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    text-align: right;
}

.c-sr-results-map .p-map-mode-row {
    display: flex;
    flex: 1 0 100%;
    justify-content: flex-start;
    min-width: 0;
}

.c-sr-results-map .p-map-show-all,
.c-sr-results-map .p-map-show-all-villas,
.c-sr-results-map .js-sr-results-map-show-all {
    flex: 0 0 auto;
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    padding: 7px 13px;
    border: 1px solid #f07600 !important;
    border-radius: 999px;
    background: #ff8a00 !important;
    background-color: #ff8a00 !important;
    box-shadow: 0 3px 9px rgba(240, 118, 0, .26);
    color: #fff !important;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
}

.c-sr-results-map .p-map-show-all:hover,
.c-sr-results-map .p-map-show-all:focus,
.c-sr-results-map .p-map-show-all-villas:hover,
.c-sr-results-map .p-map-show-all-villas:focus,
.c-sr-results-map .js-sr-results-map-show-all:hover,
.c-sr-results-map .js-sr-results-map-show-all:focus {
    background: #e97800 !important;
    background-color: #e97800 !important;
    border-color: #d86f00 !important;
    color: #fff !important;
    outline: none;
}

.c-sr-results-map .p-map-price-filter {
    flex: 1 0 100%;
    padding: 10px 12px;
    border: 1px solid #d6e7dd;
    border-radius: 8px;
    background: #f7fbf8;
}

.c-sr-results-map .p-map-price-filter.is-active {
    border-color: #9fceb2;
    background: #f1faf4;
}

.c-sr-results-map .p-map-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 10px;
}

.c-sr-results-map .p-map-price-title {
    color: #1d5d42;
    font-size: 14px;
    font-weight: 800;
}

.c-sr-results-map .p-map-price-value {
    color: #344d3e;
    font-size: 14px;
    font-weight: 700;
}

.c-sr-results-map .p-map-price-reset {
    margin-left: auto;
    padding: 0;
    border: 0;
    border-bottom: 1px dashed currentColor;
    background: transparent;
    color: #2f8f5b;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.c-sr-results-map .p-map-price-sliders {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin-top: 8px;
}

.c-sr-results-map .p-map-price-slider {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #5c6e64;
    font-size: 13px;
    font-weight: 700;
}

.c-sr-results-map .p-map-price-sliders input[type="range"] {
    width: 100%;
    height: 24px;
    margin: 0;
    accent-color: #2f8f5b;
    cursor: pointer;
}

.c-sr-results-map .p-map-shell {
    position: relative;
    height: 370px;
    min-height: 300px;
    background: #eef4f1;
}

.c-sr-results-map .p-map-canvas {
    width: 100%;
    height: 100%;
    background-color: #eef4f1;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.c-sr-results-map .p-map-canvas.has-static-map {
    position: relative;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.c-sr-results-map .p-map-canvas.has-static-map.is-map-dragging {
    cursor: grabbing;
}

.c-sr-results-map .p-map-zoom-controls {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 8;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(32, 82, 56, .18);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(34, 76, 53, .18);
}

.c-sr-results-map .p-map-zoom-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(32, 82, 56, .12);
    background: #fff;
    color: #1d5d42;
    cursor: pointer;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.c-sr-results-map .p-map-zoom-button:last-child {
    border-bottom: 0;
}

.c-sr-results-map .p-map-zoom-button:hover,
.c-sr-results-map .p-map-zoom-button:focus {
    background: #f2faf5;
    color: #0f5736;
    outline: none;
}

.c-sr-results-map .p-map-zoom-button:disabled {
    color: #93a89a;
    cursor: default;
    opacity: .62;
}

.c-sr-results-map .p-map-zoom-button:disabled:hover,
.c-sr-results-map .p-map-zoom-button:disabled:focus {
    background: #fff;
}

.c-sr-results-map .p-map-static,
.c-sr-results-map .p-map-static-img,
.c-sr-results-map .p-map-static-frame {
    width: 100%;
    height: 100%;
}

.c-sr-results-map .p-map-static {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    background: #e8f1ec;
    transform-origin: 0 0;
    will-change: transform;
}

.c-sr-results-map .p-map-static:not(.is-map-pending) {
    z-index: 1;
}

.c-sr-results-map .p-map-static.is-map-pending {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transform: none !important;
    transition: opacity .12s ease;
}

.c-sr-results-map .p-map-static.is-map-pending.is-map-ready {
    opacity: 1;
}

.c-sr-results-map .p-map-target-placeholder {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(47, 109, 79, .13), rgba(255, 255, 255, .45)),
        #e8f1ec;
}

.c-sr-results-map .p-map-seo-fallback {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(47, 109, 79, .13), rgba(255, 255, 255, .45)),
        #e8f1ec;
}

.c-sr-results-map .p-map-seo-fallback-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: 520px;
}

.c-sr-results-map .p-map-seo-fallback-title,
.c-sr-results-map .p-map-seo-fallback-subtitle,
.c-sr-results-map .p-map-seo-fallback-target {
    display: inline-block;
    max-width: 100%;
    padding: 7px 12px;
    border: 1px solid rgba(47, 109, 79, .12);
    border-radius: 6px;
    background: rgba(255, 255, 255, .94);
    color: #264f3b;
    line-height: 1.3;
    box-shadow: 0 8px 20px rgba(42, 83, 61, .11);
}

.c-sr-results-map .p-map-seo-fallback-title {
    font-size: 16px;
    font-weight: 700;
}

.c-sr-results-map .p-map-seo-fallback-subtitle,
.c-sr-results-map .p-map-seo-fallback-target {
    font-size: 13px;
    font-weight: 600;
}

.c-sr-results-map .p-map-placeholder-grid {
    position: absolute;
    inset: -20%;
    background-image:
        linear-gradient(rgba(47, 109, 79, .13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 109, 79, .13) 1px, transparent 1px);
    background-size: 42px 42px;
    transform: rotate(-8deg) scale(1.1);
}

.c-sr-results-map .p-map-static-img,
.c-sr-results-map .p-map-static-frame {
    display: block;
    position: relative;
    z-index: 1;
    border: 0;
    object-fit: cover;
}

.c-sr-results-map .p-map-static-frame {
    pointer-events: none;
}

.c-sr-results-map .p-map-static:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .16);
    pointer-events: none;
}

.c-sr-results-map .p-map-static-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    transform: translate(-50%, -100%);
    pointer-events: none;
}

.c-sr-results-map .p-map-static-marker span {
    position: relative;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: #e53935;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .24);
    transform: rotate(-45deg);
}

.c-sr-results-map .p-map-static-marker span:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}

.c-sr-results-map .p-map-placeholder-caption {
    position: absolute;
    left: 50%;
    top: calc(50% + 18px);
    z-index: 2;
    max-width: min(360px, calc(100% - 32px));
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #264a3c;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    transform: translateX(-50%);
    box-shadow: 0 7px 18px rgba(42, 83, 61, .13);
}

.c-sr-results-map .p-map-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    max-width: calc(100% - 32px);
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    color: #2f6d4f;
    font-weight: 600;
    pointer-events: none;
    text-align: center;
    box-shadow: 0 8px 20px rgba(42, 83, 61, .14);
}

.c-sr-results-map .p-map-loader.is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.c-sr-results-map .p-map-canvas.has-static-map ~ .p-map-loader,
.c-sr-results-map .p-map-loader.is-map-progressive {
    top: auto;
    bottom: 16px;
    transform: translateX(-50%);
    max-width: min(460px, calc(100% - 32px));
    border: 1px solid rgba(47, 109, 79, .12);
}

.c-sr-results-map .p-map-loader.is-loading:before {
    content: "";
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(47, 109, 79, .22);
    border-top-color: #2f6d4f;
    border-radius: 50%;
    animation: hn-map-loader-spin .8s linear infinite;
}

@keyframes hn-map-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

.p-sr-map-price-placemark {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    height: 31px;
    padding: 0 10px;
    border: 2px solid #2f8f5b;
    border-radius: 999px;
    background: #fff;
    color: #1f6a43;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transform: translate(-50%, -105%);
    box-shadow: 0 5px 14px rgba(33, 88, 58, .24);
    cursor: pointer;
}

button.p-sr-map-price-placemark {
    appearance: none;
    margin: 0;
}

.p-sr-map-price-placemark:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 10px;
    height: 10px;
    background: inherit;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateX(-50%) rotate(45deg);
}

.p-sr-map-price-placemark.active {
    border-color: #f08a24;
    background: #f08a24;
    color: #fff;
    box-shadow: 0 7px 18px rgba(191, 91, 15, .34);
}

.c-sr-results-map .p-map-target-marker {
    position: absolute;
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: min(280px, calc(100% - 24px));
    transform: translate(-14px, -100%);
    pointer-events: none;
}

.c-sr-results-map .p-map-target-marker span {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: #e53935;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .24);
    transform: rotate(-45deg);
}

.c-sr-results-map .p-map-target-marker em {
    overflow: hidden;
    max-width: 230px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #264a3c;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(42, 83, 61, .16);
}

.c-sr-results-map .p-map-card {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 4;
    width: min(380px, calc(100% - 32px));
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 38px rgba(28, 55, 42, .24);
}

.c-sr-results-map .p-map-card-close {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid #dce8e1;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: #52685c;
    cursor: pointer;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(28, 55, 42, .12);
}

.c-sr-results-map .p-map-card-link {
    display: flex;
    gap: 12px;
    min-width: 0;
    padding: 10px 42px 10px 10px;
    color: inherit;
    text-decoration: none;
}

.c-sr-results-map .p-map-card-photo {
    flex: 0 0 92px;
    width: 92px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background: #e6eee9;
}

.c-sr-results-map .p-map-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-sr-results-map .p-map-card-text {
    min-width: 0;
    flex: 1 1 auto;
}

.c-sr-results-map .p-map-card-title {
    overflow: hidden;
    color: #1f4430;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.c-sr-results-map .p-map-card-address {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 3px;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.c-sr-results-map .p-map-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    margin-top: 7px;
    color: #53645a;
    font-size: 12px;
    line-height: 1.25;
}

.c-sr-results-map .p-map-card-rating {
    color: #d47518;
    font-weight: 800;
}

.c-sr-results-map .p-map-card-total {
    margin-top: 6px;
    color: #1f4430;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.c-sr-results-map .p-map-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.c-sr-results-map .p-map-card-price {
    color: #1f7a4b;
    font-weight: 800;
}

.c-sr-results-map .p-map-card-open {
    padding: 5px 10px;
    border-radius: 6px;
    background: #2f8f5b;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.sr-property-card .p-show-on-map {
    color: #2f8f5b;
    font-size: 13px;
    white-space: nowrap;
}

.yt-card-photo-empty {
    min-height: 190px;
    background: #eef4f1;
}

.c-sr-results-map-modal .modal-dialog {
    max-width: 980px;
}

.c-sr-results-map-modal .modal-body {
    padding: 12px;
}

.c-sr-results-map-modal .p-modal-map {
    margin-bottom: 0;
    border: 0;
    box-shadow: none;
}

.c-sr-results-map-modal .p-map-shell {
    height: min(72vh, 620px);
    min-height: 420px;
}

@media (max-width: 767.98px) {
    .c-sr-results-map .p-map-actions {
        width: 100%;
        align-items: flex-start;
        justify-content: space-between;
        text-align: left;
    }

    .c-sr-results-map .p-map-mode-row {
        width: 100%;
    }

    .c-sr-results-map .p-map-show-all {
        right: 10px;
        bottom: 10px;
        max-width: calc(100% - 20px);
        padding: 7px 11px;
        font-size: 12px;
    }

    .c-sr-results-map .p-map-price-sliders {
        grid-template-columns: minmax(0, 1fr);
    }

    .c-sr-results-map .p-map-shell {
        height: 320px;
    }

    .c-sr-results-map .p-map-zoom-controls {
        left: 10px;
        top: 10px;
        border-radius: 7px;
    }

    .c-sr-results-map .p-map-zoom-button {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }

    .c-sr-results-map .p-map-seo-fallback-content {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: calc(100% - 24px);
    }

    .c-sr-results-map .p-map-seo-fallback-title {
        font-size: 14px;
    }

    .c-sr-results-map .p-map-seo-fallback-subtitle,
    .c-sr-results-map .p-map-seo-fallback-target {
        font-size: 12px;
    }

    .c-sr-results-map .p-map-canvas.has-static-map ~ .p-map-loader,
    .c-sr-results-map .p-map-loader.is-map-progressive {
        right: auto;
        bottom: 10px;
        left: 12px;
        max-width: min(236px, calc(100% - 24px));
        padding: 7px 10px;
        font-size: 12px;
        line-height: 1.25;
        text-align: left;
        transform: none;
    }

    .c-sr-results-map .p-map-loader.is-loading:before {
        width: 12px;
        height: 12px;
    }

    .c-sr-results-map .p-map-card {
        top: 10px;
        right: 10px;
        bottom: auto;
        left: 10px;
        width: auto;
        max-height: min(170px, calc(100% - 20px));
        overflow-y: auto;
    }

    .c-sr-results-map .p-map-card-photo {
        flex-basis: 82px;
        width: 82px;
        height: 64px;
    }
}
