.hdf-template-wrap {
    box-sizing: border-box;
    width: min(1180px, calc(100% - 40px));
    margin: 40px auto;
}

.hdf-properties {
    box-sizing: border-box;
    max-width: 100%;
    --hdf-brand: #51CCB7;
    --hdf-columns-desktop: 3;
    --hdf-columns-tablet: 2;
    --hdf-columns-mobile: 1;
    --hdf-gap: 28px;
    --hdf-radius: 18px;
    --hdf-image-ratio: 4 / 3;
    --hdf-font-family: inherit;
    --hdf-title-size: 22px;
    --hdf-body-size: 15px;
    --hdf-price-size: 20px;
    --hdf-card-shadow: 0 14px 34px rgba(0,0,0,.08);
    display: grid;
    grid-template-columns: repeat(var(--hdf-columns-desktop), minmax(0, 1fr));
    gap: var(--hdf-gap);
    width: min(100%, var(--hdf-detail-max-width));
    max-width: 100%;
    margin: 24px auto;
    font-family: var(--hdf-font-family);
    overflow-x: clip;
}

.hdf-properties *,
.hdf-property-detail *,
.hdf-lightbox * {
    box-sizing: border-box;
}

.hdf-property-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--hdf-radius);
    overflow: hidden;
    box-shadow: var(--hdf-card-shadow);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.hdf-card-image-link {
    position: relative;
    display: block;
    aspect-ratio: var(--hdf-image-ratio);
    background: #f3f3f3;
    overflow: hidden;
    text-decoration: none !important;
}

.hdf-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.hdf-card-image-link:hover .hdf-card-image {
    transform: scale(1.03);
}

.hdf-card-placeholder {
    height: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7f7f7, #e6e6e6);
    color: #555;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hdf-status {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--hdf-brand);
    color: #fff !important;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hdf-status-inline {
    position: static;
    display: inline-flex;
    margin-bottom: 14px;
}

.hdf-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.hdf-card-title {
    margin: 0;
    font-size: var(--hdf-title-size);
    line-height: 1.25;
    color: #111;
}

.hdf-card-title a {
    color: #1f2b35 !important;
    text-decoration: none !important;
}

.hdf-card-title a:hover {
    color: #1f2b35 !important;
    text-decoration: none !important;
}

.hdf-price {
    font-size: var(--hdf-price-size);
    font-weight: 750;
    color: #111;
}

.hdf-meta,
.hdf-detail-meta {
    color: #666;
    font-size: var(--hdf-body-size);
    line-height: 1.5;
}

.hdf-description {
    color: #555;
    line-height: 1.65;
    font-size: var(--hdf-body-size);
}

.hdf-card-actions,
.hdf-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
}

.hdf-button,
.hdf-search-form button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    background: var(--hdf-brand);
    color: #fff !important;
    border: 1px solid var(--hdf-brand);
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 750;
    line-height: 1.1;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .18s ease, opacity .18s ease, background .18s ease;
}

.hdf-button:hover,
.hdf-search-form button:hover {
    transform: translateY(-1px);
    opacity: .92;
}

.hdf-button-primary {
    flex: 1 1 auto;
}

.hdf-button-secondary {
    background: #fff;
    color: #111 !important;
    border-color: rgba(0,0,0,.18);
}

.hdf-search-form {
    --hdf-brand: #51CCB7;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    margin: 24px 0;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 18px;
}

.hdf-search-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
}

.hdf-search-form input {
    min-height: 44px;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    padding: 8px 12px;
}

.hdf-empty,
.hdf-error {
    padding: 18px 20px;
    border-radius: 14px;
    background: #f7f7f7;
    color: #333;
}

.hdf-error {
    background: #fff2f2;
    color: #7a0000;
}

.hdf-property-detail {
    --hdf-brand: #51CCB7;
    --hdf-detail-max-width: 1240px;
    --hdf-detail-body-width: 920px;
    --hdf-gallery-columns-desktop: 3;
    --hdf-gallery-columns-tablet: 2;
    --hdf-gallery-columns-mobile: 1;
    --hdf-gap: 18px;
    --hdf-radius: 18px;
    --hdf-image-ratio: 4 / 3;
    --hdf-font-family: inherit;
    --hdf-body-size: 16px;
    --hdf-price-size: 28px;
    width: min(100%, var(--hdf-detail-max-width));
    max-width: 100%;
    margin: 24px auto;
    font-family: var(--hdf-font-family);
    overflow-x: clip;
}

.hdf-gallery {
    display: grid;
    grid-template-columns: repeat(var(--hdf-gallery-columns-desktop), minmax(0, 1fr));
    gap: var(--hdf-gap);
    margin-bottom: 32px;
}

.hdf-gallery a {
    display: block;
    overflow: hidden;
    border-radius: var(--hdf-radius);
    background: #f3f3f3;
}

.hdf-gallery img {
    width: 100%;
    aspect-ratio: var(--hdf-image-ratio);
    object-fit: cover;
    display: block;
}

.hdf-detail-body {
    max-width: var(--hdf-detail-body-width);
    margin: 0 auto;
}

.hdf-detail-title {
    margin: 0 0 12px;
    line-height: 1.15;
}

.hdf-detail-price {
    font-size: var(--hdf-price-size);
    font-weight: 800;
    margin-bottom: 10px;
}

.hdf-detail-description {
    margin-top: 28px;
}

.hdf-section-title {
    margin-top: 32px;
}

.hdf-features {
    columns: 2;
    column-gap: 32px;
}

.hdf-features li {
    break-inside: avoid;
    margin-bottom: 8px;
}

.hdf-admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.hdf-admin-side {
    background: #fff;
    border: 1px solid #dcdcde;
    padding: 18px;
    border-radius: 8px;
}

.hdf-diagnostics details {
    margin-top: 10px;
}

.hdf-diagnostics pre,
.hdf-diagnostics textarea {
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    padding: 10px;
    overflow: auto;
}

@media (max-width: 1024px) {
    .hdf-properties {
    box-sizing: border-box;
    max-width: 100%;
        grid-template-columns: repeat(var(--hdf-columns-tablet), minmax(0, 1fr));
    }

    .hdf-gallery {
        grid-template-columns: repeat(var(--hdf-gallery-columns-tablet), minmax(0, 1fr));
    }

    .hdf-admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hdf-template-wrap {
    box-sizing: border-box;
        width: min(100% - 24px, 1180px);
        margin: 24px auto;
    }

    .hdf-properties {
    box-sizing: border-box;
    max-width: 100%;
        grid-template-columns: repeat(var(--hdf-columns-mobile), minmax(0, 1fr));
        gap: 18px;
    }

    .hdf-gallery {
        grid-template-columns: repeat(var(--hdf-gallery-columns-mobile), minmax(0, 1fr));
        gap: 12px;
    }

    .hdf-card-body {
        padding: 18px;
    }

    .hdf-button-primary,
    .hdf-button-secondary {
        flex: 1 1 100%;
        width: 100%;
    }

    .hdf-features {
        columns: 1;
    }
}

/* v1.4 detail carousel and lightbox */
.hdf-property-detail {
    --hdf-carousel-slides-desktop: 3;
    --hdf-carousel-slides-tablet: 1;
    --hdf-carousel-slides-mobile: 1;
    --hdf-carousel-slides-current: var(--hdf-carousel-slides-desktop);
}

.hdf-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 32px;
    overflow: visible;
}

.hdf-carousel-viewport {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hdf-carousel-track {
    display: flex;
    transition: transform .28s ease;
    will-change: transform;
    margin-left: 0;
    margin-right: 0;
}

.hdf-carousel-slide {
    flex: 0 0 calc(100% / var(--hdf-carousel-slides-current));
    box-sizing: border-box;
    padding-left: calc(var(--hdf-gap) / 2);
    padding-right: calc(var(--hdf-gap) / 2);
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.hdf-carousel-slide:focus {
    outline: none;
}

.hdf-carousel-slide:focus-visible img {
    box-shadow: 0 0 0 3px var(--hdf-brand);
}

.hdf-carousel-slide img {
    width: 100%;
    aspect-ratio: var(--hdf-image-ratio);
    object-fit: cover;
    display: block;
    border-radius: var(--hdf-radius);
    background: #f3f3f3;
}

.hdf-carousel-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.12);
    background: rgba(255,255,255,.92);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

.hdf-carousel-prev {
    left: 12px;
}

.hdf-carousel-next {
    right: 12px;
}

.hdf-carousel-nav:disabled {
    opacity: .35;
    cursor: default;
}

.hdf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.86);
    padding: 28px;
}

.hdf-lightbox.is-open {
    display: flex;
}

.hdf-lightbox img {
    max-width: min(1200px, 92vw);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 10px;
    background: #111;
}

.hdf-lightbox-close,
.hdf-lightbox-prev,
.hdf-lightbox-next {
    position: absolute;
    border: 0;
    background: rgba(255,255,255,.92);
    color: #111;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hdf-lightbox-close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    font-size: 28px;
}

.hdf-lightbox-prev,
.hdf-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 999px;
    font-size: 38px;
}

.hdf-lightbox-prev {
    left: 22px;
}

.hdf-lightbox-next {
    right: 22px;
}

@media (max-width: 1024px) {
    .hdf-property-detail {
        --hdf-carousel-slides-current: var(--hdf-carousel-slides-tablet);
    }
}

@media (max-width: 767px) {
    .hdf-property-detail {
        --hdf-carousel-slides-current: var(--hdf-carousel-slides-mobile);
    }

    .hdf-carousel-nav {
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

    .hdf-lightbox {
        padding: 14px;
    }

    .hdf-lightbox-prev,
    .hdf-lightbox-next {
        width: 42px;
        height: 42px;
        font-size: 30px;
    }

    .hdf-lightbox-prev {
        left: 10px;
    }

    .hdf-lightbox-next {
        right: 10px;
    }
}

/* v1.4.1 fixes from video review */
html.hdf-lightbox-lock,
body.hdf-lightbox-lock {
    overflow: hidden !important;
}

.hdf-property-detail a,
.hdf-property-detail button,
.hdf-properties a,
.hdf-properties button {
    -webkit-tap-highlight-color: transparent;
}

.hdf-property-detail img,
.hdf-properties img {
    max-width: 100%;
}

.hdf-card-actions .hdf-button {
    width: 100%;
}

/* v1.4.2 asset-load and Elementor override fixes */
.hdf-property-detail .hdf-carousel-slide,
.hdf-property-detail .hdf-carousel-slide:hover,
.hdf-property-detail .hdf-carousel-slide:focus,
.hdf-property-detail .hdf-carousel-slide:focus-visible,
.hdf-property-detail .hdf-carousel-slide:active {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    color: inherit !important;
    text-decoration: none !important;
}

.hdf-property-detail .hdf-carousel-slide:focus img,
.hdf-property-detail .hdf-carousel-slide:focus-visible img,
.hdf-property-detail .hdf-carousel-slide:active img,
.hdf-property-detail .hdf-carousel-slide:hover img {
    outline: 0 !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.hdf-property-detail .hdf-carousel-nav,
.hdf-property-detail .hdf-carousel-nav:hover,
.hdf-property-detail .hdf-carousel-nav:focus,
.hdf-property-detail .hdf-carousel-nav:focus-visible,
.hdf-property-detail .hdf-carousel-nav:active,
.hdf-lightbox .hdf-lightbox-close,
.hdf-lightbox .hdf-lightbox-close:hover,
.hdf-lightbox .hdf-lightbox-close:focus,
.hdf-lightbox .hdf-lightbox-prev,
.hdf-lightbox .hdf-lightbox-prev:hover,
.hdf-lightbox .hdf-lightbox-prev:focus,
.hdf-lightbox .hdf-lightbox-next,
.hdf-lightbox .hdf-lightbox-next:hover,
.hdf-lightbox .hdf-lightbox-next:focus {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: rgba(255,255,255,.94) !important;
    color: #111 !important;
    border-color: rgba(0,0,0,.12) !important;
    outline: 0 !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.12) !important;
    text-decoration: none !important;
}

.hdf-property-detail .hdf-carousel-view-all,
.hdf-property-detail .hdf-carousel-view-all:hover,
.hdf-property-detail .hdf-carousel-view-all:focus,
.hdf-property-detail .hdf-carousel-view-all:focus-visible,
.hdf-property-detail .hdf-carousel-view-all:active {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.12) !important;
    background: rgba(255,255,255,.94) !important;
    color: #111 !important;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
    outline: 0 !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.12) !important;
    text-decoration: none !important;
}

.hdf-property-detail .hdf-carousel-view-all:hover {
    transform: translateY(-1px);
}

.hdf-properties .hdf-card-image-link:focus,
.hdf-properties .hdf-card-image-link:focus-visible,
.hdf-properties .hdf-card-title a:focus,
.hdf-properties .hdf-card-title a:focus-visible,
.hdf-properties .hdf-button:focus,
.hdf-properties .hdf-button:focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
}

.hdf-properties,
.hdf-property-detail,
.hdf-carousel,
.hdf-carousel-viewport,
.hdf-carousel-track {
    min-width: 0;
}


/* v1.4.3 ordering, search styling and image-quality refinements */
.hdf-property-detail .hdf-detail-intro {
    text-align: center;
    margin-bottom: 26px;
}

.hdf-property-detail .hdf-detail-intro .hdf-status-inline {
    margin-left: auto;
    margin-right: auto;
}

.hdf-property-detail .hdf-carousel {
    margin-top: 0;
    margin-bottom: 36px;
}

.hdf-property-detail .hdf-detail-copy {
    text-align: left;
}

.hdf-property-detail .hdf-detail-description {
    margin-top: 0;
}

.hdf-property-detail .hdf-section-title:empty,
.hdf-property-detail .hdf-features:empty {
    display: none !important;
}

.hdf-status,
.hdf-status-inline,
.hdf-button-primary,
.hdf-search-form button {
    color: #fff !important;
}

.hdf-button-primary:hover,
.hdf-search-form button:hover,
.hdf-button-primary:focus,
.hdf-search-form button:focus {
    color: #fff !important;
}

.hdf-search-form.hdf-search-form-enhanced {
    --hdf-brand: #51CCB7;
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(5, minmax(130px, 1fr)) auto;
    align-items: end;
    gap: 14px;
    width: min(100%, var(--hdf-detail-max-width, 1240px));
    margin: 28px auto 36px;
    padding: 24px;
    background: #f7f7f7;
    border: 1px solid rgba(0,0,0,.04);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0,0,0,.04);
}

.hdf-search-form .hdf-search-field {
    min-width: 0;
    gap: 8px;
    color: #1f2b35;
    font-weight: 750;
    font-size: 13px;
    letter-spacing: .02em;
}

.hdf-search-form .hdf-search-field-wide {
    min-width: 220px;
}

.hdf-search-form input,
.hdf-search-form select {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 12px;
    padding: 9px 12px;
    background: #fff;
    color: #1f2b35;
    font: inherit;
    box-shadow: none;
}

.hdf-search-form input:focus,
.hdf-search-form select:focus {
    outline: 0;
    border-color: var(--hdf-brand);
    box-shadow: 0 0 0 3px rgba(81,204,183,.18);
}

.hdf-search-submit {
    display: flex;
    align-items: end;
}

.hdf-search-form button {
    min-height: 46px;
    white-space: nowrap;
    padding-left: 22px;
    padding-right: 22px;
}

@media (max-width: 1200px) {
    .hdf-search-form.hdf-search-form-enhanced {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hdf-search-form.hdf-search-form-enhanced {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 12px;
    }

    .hdf-search-submit,
    .hdf-search-form button {
        width: 100%;
    }

    .hdf-property-detail .hdf-detail-copy {
        text-align: center;
    }

    .hdf-property-detail .hdf-detail-actions {
        justify-content: center;
    }
}

/* v1.4.4 search, lightbox, paragraph spacing and hover-state fixes */
.hdf-property-detail,
.hdf-properties,
.hdf-search-form,
.hdf-search-form * {
    font-family: "Montserrat", Arial, sans-serif !important;
}

.hdf-lightbox {
    background: rgba(0,0,0,.88) !important;
    padding: clamp(18px, 4vw, 46px) !important;
}

.hdf-lightbox img {
    display: block !important;
    width: min(1180px, 92vw) !important;
    height: auto !important;
    max-width: 92vw !important;
    max-height: 84vh !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    background: #111 !important;
    box-shadow: 0 22px 70px rgba(0,0,0,.42) !important;
}

.hdf-lightbox .hdf-lightbox-close,
.hdf-lightbox .hdf-lightbox-prev,
.hdf-lightbox .hdf-lightbox-next {
    box-shadow: none !important;
}

.hdf-detail-description {
    line-height: 1.82 !important;
    color: #5f6872 !important;
    text-align: left !important;
}

.hdf-detail-description p {
    margin: 0 0 18px !important;
}

.hdf-detail-description p:last-child {
    margin-bottom: 0 !important;
}

.hdf-status,
.hdf-status-inline,
.hdf-button-primary,
.hdf-search-form button,
.hdf-properties .hdf-button-primary,
.hdf-property-detail .hdf-status {
    color: #fff !important;
}

.hdf-button-primary,
.hdf-search-form button,
.hdf-properties .hdf-button-primary {
    background: var(--hdf-brand) !important;
    border-color: var(--hdf-brand) !important;
    box-shadow: none !important;
}

.hdf-button-primary:hover,
.hdf-button-primary:focus,
.hdf-button-primary:active,
.hdf-search-form button:hover,
.hdf-search-form button:focus,
.hdf-search-form button:active,
.hdf-properties .hdf-button-primary:hover,
.hdf-properties .hdf-button-primary:focus,
.hdf-properties .hdf-button-primary:active {
    background: #263659 !important;
    border-color: #263659 !important;
    color: #fff !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
}

.hdf-button-secondary:hover,
.hdf-button-secondary:focus,
.hdf-button-secondary:active {
    background: #263659 !important;
    border-color: #263659 !important;
    color: #fff !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
}

.hdf-search-form.hdf-search-form-enhanced {
    --hdf-search-blue: #263659;
    display: block !important;
    width: min(100%, var(--hdf-detail-max-width, 1180px)) !important;
    margin: 30px auto 52px !important;
    padding: clamp(20px, 2.4vw, 30px) !important;
    background: #f6f6f6 !important;
    border: 1px solid rgba(38,54,89,.06) !important;
    border-radius: 20px !important;
    box-shadow: none !important;
}

.hdf-search-form .hdf-search-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px 18px !important;
    align-items: end !important;
    width: 100% !important;
}

.hdf-search-form .hdf-search-field,
.hdf-search-form label.hdf-search-field {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    gap: 7px !important;
    margin: 0 !important;
    color: #263659 !important;
    font-family: "Montserrat", Arial, sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0 !important;
    line-height: 1.25 !important;
}

.hdf-search-form .hdf-search-field-wide {
    grid-column: span 2 !important;
}

.hdf-search-form .hdf-search-field span {
    display: block !important;
    color: #263659 !important;
    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.hdf-search-form input,
.hdf-search-form select {
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 10px 13px !important;
    border: 1px solid rgba(38,54,89,.16) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #263659 !important;
    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
    outline: none !important;
}

.hdf-search-form input::placeholder {
    color: rgba(38,54,89,.5) !important;
}

.hdf-search-form input:focus,
.hdf-search-form select:focus {
    border-color: var(--hdf-brand) !important;
    box-shadow: 0 0 0 3px rgba(81,204,183,.18) !important;
}

.hdf-search-submit {
    display: flex !important;
    align-items: end !important;
    min-width: 0 !important;
}

.hdf-search-form button {
    width: 100% !important;
    min-height: 48px !important;
    padding: 12px 24px !important;
    border-radius: 999px !important;
    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    text-transform: none !important;
}

@media (max-width: 1100px) {
    .hdf-search-form .hdf-search-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .hdf-search-form .hdf-search-field-wide {
        grid-column: span 3 !important;
    }
}

@media (max-width: 767px) {
    .hdf-lightbox img {
        width: 92vw !important;
        max-height: 78vh !important;
    }
    .hdf-search-form .hdf-search-grid {
        grid-template-columns: 1fr !important;
    }
    .hdf-search-form .hdf-search-field-wide {
        grid-column: span 1 !important;
    }
    .hdf-detail-description {
        text-align: center !important;
    }
}


/* v1.4.6: hard override search grid, high-resolution lightbox display and feature cleanup */
.hdf-search-form.hdf-search-form-enhanced {
    box-sizing: border-box !important;
    width: min(100%, 1180px) !important;
    max-width: 100% !important;
    margin: 30px auto 52px !important;
    padding: 28px !important;
    background: #f6f6f6 !important;
    border: 1px solid rgba(38,54,89,.06) !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    overflow: hidden !important;
    display: block !important;
    font-family: "Montserrat", Arial, sans-serif !important;
}

.hdf-search-form.hdf-search-form-enhanced > .hdf-search-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px 22px !important;
    align-items: end !important;
    width: 100% !important;
}

.hdf-search-form.hdf-search-form-enhanced .hdf-search-field,
.hdf-search-form.hdf-search-form-enhanced label.hdf-search-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
    font-family: "Montserrat", Arial, sans-serif !important;
    color: #263659 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.hdf-search-form.hdf-search-form-enhanced .hdf-search-field-wide {
    grid-column: auto !important;
}

.hdf-search-form.hdf-search-form-enhanced .hdf-search-submit {
    display: flex !important;
    align-items: end !important;
    width: 100% !important;
    margin: 0 !important;
}

.hdf-search-form.hdf-search-form-enhanced input,
.hdf-search-form.hdf-search-form-enhanced select,
.hdf-search-form.hdf-search-form-enhanced button {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    font-family: "Montserrat", Arial, sans-serif !important;
    box-shadow: none !important;
}

.hdf-search-form.hdf-search-form-enhanced button,
.hdf-search-form.hdf-search-form-enhanced button:hover,
.hdf-search-form.hdf-search-form-enhanced button:focus,
.hdf-search-form.hdf-search-form-enhanced button:active {
    color: #fff !important;
    outline: none !important;
    text-decoration: none !important;
    transform: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

.hdf-search-form.hdf-search-form-enhanced button:hover,
.hdf-search-form.hdf-search-form-enhanced button:focus,
.hdf-search-form.hdf-search-form-enhanced button:active {
    background: #263659 !important;
    border-color: #263659 !important;
}

.hdf-lightbox img {
    width: auto !important;
    height: auto !important;
    max-width: min(1400px, 92vw) !important;
    max-height: 88vh !important;
    object-fit: contain !important;
    image-rendering: auto !important;
}

.hdf-detail-description {
    max-width: 860px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hdf-detail-description p {
    margin: 0 0 18px !important;
}

.hdf-property-detail .hdf-section-title + .hdf-detail-actions {
    margin-top: 0 !important;
}

@media (max-width: 1024px) {
    .hdf-search-form.hdf-search-form-enhanced > .hdf-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .hdf-search-form.hdf-search-form-enhanced {
        padding: 20px !important;
    }

    .hdf-search-form.hdf-search-form-enhanced > .hdf-search-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* v1.4.6 final targeted fixes: search layout, high-res carousel display, no blank Features heading */
.hdf-search-form.hdf-search-form-enhanced {
    box-sizing: border-box !important;
    width: min(100%, 1180px) !important;
    max-width: 100% !important;
    margin: 30px auto 52px !important;
    padding: 30px !important;
    background: #f6f6f6 !important;
    border: 1px solid rgba(38,54,89,.06) !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    overflow: hidden !important;
    display: block !important;
    font-family: "Montserrat", Arial, sans-serif !important;
}

.hdf-search-form.hdf-search-form-enhanced > .hdf-search-grid {
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px 24px !important;
    align-items: flex-end !important;
    width: 100% !important;
    max-width: 100% !important;
}

.hdf-search-form.hdf-search-form-enhanced .hdf-search-field,
.hdf-search-form.hdf-search-form-enhanced .hdf-search-submit {
    box-sizing: border-box !important;
    width: calc((100% - 72px) / 4) !important;
    max-width: calc((100% - 72px) / 4) !important;
    flex: 0 0 calc((100% - 72px) / 4) !important;
    margin: 0 !important;
    min-width: 0 !important;
}

.hdf-search-form.hdf-search-form-enhanced .hdf-search-field,
.hdf-search-form.hdf-search-form-enhanced label.hdf-search-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    font-family: "Montserrat", Arial, sans-serif !important;
    color: #263659 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.hdf-search-form.hdf-search-form-enhanced .hdf-search-field span {
    display: block !important;
    margin: 0 !important;
    font-family: "Montserrat", Arial, sans-serif !important;
    color: #263659 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.hdf-search-form.hdf-search-form-enhanced input,
.hdf-search-form.hdf-search-form-enhanced select {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 10px 13px !important;
    border: 1px solid rgba(38,54,89,.16) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #263659 !important;
    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    outline: none !important;
}

.hdf-search-form.hdf-search-form-enhanced .hdf-search-submit {
    display: flex !important;
    align-items: flex-end !important;
    padding-top: 21px !important;
}

.hdf-search-form.hdf-search-form-enhanced button,
.hdf-search-form.hdf-search-form-enhanced button:hover,
.hdf-search-form.hdf-search-form-enhanced button:focus,
.hdf-search-form.hdf-search-form-enhanced button:active {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 12px 20px !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.hdf-search-form.hdf-search-form-enhanced button {
    background: #51CCB7 !important;
    border: 1px solid #51CCB7 !important;
}

.hdf-search-form.hdf-search-form-enhanced button:hover,
.hdf-search-form.hdf-search-form-enhanced button:focus,
.hdf-search-form.hdf-search-form-enhanced button:active {
    background: #263659 !important;
    border-color: #263659 !important;
}

.hdf-property-detail .hdf-section-title,
.hdf-property-detail .hdf-features {
    display: none !important;
}

.hdf-carousel-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    image-rendering: auto !important;
}

@media (max-width: 1024px) {
    .hdf-search-form.hdf-search-form-enhanced .hdf-search-field,
    .hdf-search-form.hdf-search-form-enhanced .hdf-search-submit {
        width: calc((100% - 24px) / 2) !important;
        max-width: calc((100% - 24px) / 2) !important;
        flex-basis: calc((100% - 24px) / 2) !important;
    }
}

@media (max-width: 640px) {
    .hdf-search-form.hdf-search-form-enhanced {
        padding: 20px !important;
    }
    .hdf-search-form.hdf-search-form-enhanced > .hdf-search-grid {
        gap: 16px !important;
    }
    .hdf-search-form.hdf-search-form-enhanced .hdf-search-field,
    .hdf-search-form.hdf-search-form-enhanced .hdf-search-submit {
        width: 100% !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
    }
    .hdf-search-form.hdf-search-form-enhanced .hdf-search-submit {
        padding-top: 0 !important;
    }
}

/* v1.5.0 homepage property carousel shortcode: [hosford_daft_carousel] */
.hdf-property-carousel {
    --hdf-brand: #51CCB7;
    --hdf-gap: 28px;
    --hdf-radius: 18px;
    --hdf-image-ratio: 4 / 3;
    --hdf-font-family: inherit;
    --hdf-title-size: 22px;
    --hdf-body-size: 15px;
    --hdf-price-size: 20px;
    --hdf-card-shadow: 0 14px 34px rgba(0,0,0,.08);
    --hdf-pc-slides-desktop: 5;
    --hdf-pc-slides-tablet: 2;
    --hdf-pc-slides-mobile: 1;
    --hdf-pc-slides-current: var(--hdf-pc-slides-desktop);
    position: relative;
    box-sizing: border-box;
    width: min(100%, var(--hdf-detail-max-width, 1240px));
    max-width: 100%;
    margin: 24px auto;
    font-family: var(--hdf-font-family);
    overflow: visible;
}

.hdf-property-carousel,
.hdf-property-carousel * {
    box-sizing: border-box;
}

.hdf-property-carousel-viewport {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hdf-property-carousel-track {
    display: flex;
    align-items: stretch;
    transition: transform .32s ease;
    will-change: transform;
    margin-left: calc(var(--hdf-gap) / -2);
    margin-right: calc(var(--hdf-gap) / -2);
}

.hdf-property-carousel-slide {
    flex: 0 0 calc(100% / var(--hdf-pc-slides-current));
    min-width: 0;
    padding-left: calc(var(--hdf-gap) / 2);
    padding-right: calc(var(--hdf-gap) / 2);
    display: flex;
}

.hdf-property-carousel-slide .hdf-property-card {
    width: 100%;
    min-height: 100%;
}

.hdf-property-carousel-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(38,54,89,.12);
    background: rgba(255,255,255,.94);
    color: #263659;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
    padding: 0;
}

.hdf-property-carousel-nav:hover,
.hdf-property-carousel-nav:focus,
.hdf-property-carousel-nav:active {
    background: #263659 !important;
    border-color: #263659 !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.12) !important;
    outline: none !important;
}

.hdf-property-carousel-prev {
    left: -18px;
}

.hdf-property-carousel-next {
    right: -18px;
}

.hdf-property-carousel-nav:disabled {
    opacity: .35;
    cursor: default;
}

.hdf-property-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.hdf-property-carousel-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: rgba(38,54,89,.22);
    cursor: pointer;
}

.hdf-property-carousel-dot.is-active {
    background: var(--hdf-brand);
}

@media (max-width: 1024px) {
    .hdf-property-carousel {
        --hdf-pc-slides-current: var(--hdf-pc-slides-tablet);
    }

    .hdf-property-carousel-prev {
        left: -12px;
    }

    .hdf-property-carousel-next {
        right: -12px;
    }
}

@media (max-width: 767px) {
    .hdf-property-carousel {
        --hdf-pc-slides-current: var(--hdf-pc-slides-mobile);
        width: 100%;
        margin: 20px auto;
    }

    .hdf-property-carousel-track {
        margin-left: 0;
        margin-right: 0;
    }

    .hdf-property-carousel-slide {
        padding-left: 0;
        padding-right: 0;
    }

    .hdf-property-carousel-prev {
        left: 8px;
    }

    .hdf-property-carousel-next {
        right: 8px;
    }
}

/* v1.5.1 carousel polish only: compact homepage carousel cards, visible-slide controls, bottom-aligned CTAs */
.hdf-property-carousel {
    --hdf-carousel-title-size: 18px;
    --hdf-carousel-price-size: 15px;
    --hdf-carousel-body-size: 13px;
    --hdf-gap: 24px;
    width: min(100%, var(--hdf-detail-max-width, 1240px));
    max-width: 100%;
    overflow: visible;
}

.hdf-property-carousel .hdf-property-carousel-track {
    align-items: stretch !important;
}

.hdf-property-carousel .hdf-property-carousel-slide {
    flex: 0 0 calc(100% / var(--hdf-pc-slides-current)) !important;
    width: calc(100% / var(--hdf-pc-slides-current)) !important;
    min-width: 0 !important;
    align-self: stretch !important;
    display: flex !important;
}

.hdf-property-carousel .hdf-property-card {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.hdf-property-carousel .hdf-card-image-link {
    aspect-ratio: 4 / 3 !important;
    flex: 0 0 auto !important;
}

.hdf-property-carousel .hdf-card-body {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 18px !important;
    gap: 9px !important;
}

.hdf-property-carousel .hdf-card-title {
    font-size: var(--hdf-carousel-title-size, var(--hdf-title-size, 18px)) !important;
    line-height: 1.22 !important;
    margin: 0 !important;
    color: #263659 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.hdf-property-carousel .hdf-card-title a {
    color: #263659 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-decoration: none !important;
}

.hdf-property-carousel .hdf-price {
    font-size: var(--hdf-carousel-price-size, var(--hdf-price-size, 15px)) !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.hdf-property-carousel .hdf-meta {
    font-size: var(--hdf-carousel-body-size, var(--hdf-body-size, 13px)) !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

.hdf-property-carousel .hdf-card-actions {
    margin-top: auto !important;
    padding-top: 12px !important;
    width: 100% !important;
}

.hdf-property-carousel .hdf-button.hdf-button-primary {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
    color: #fff !important;
}

.hdf-property-carousel .hdf-status {
    font-size: 11px !important;
    padding: 7px 12px !important;
    color: #fff !important;
}

.hdf-property-carousel .hdf-property-carousel-nav {
    top: 50% !important;
}

@media (max-width: 1024px) {
    .hdf-property-carousel {
        --hdf-pc-slides-current: var(--hdf-pc-slides-tablet) !important;
    }
}

@media (max-width: 767px) {
    .hdf-property-carousel {
        --hdf-pc-slides-current: var(--hdf-pc-slides-mobile) !important;
        width: 100% !important;
    }

    .hdf-property-carousel .hdf-card-title {
        -webkit-line-clamp: 4 !important;
    }
}

/* v1.5.2 carousel-only CTA alignment fix */
.hdf-property-carousel .hdf-card-body {
    min-height: var(--hdf-carousel-card-body-height, auto) !important;
    display: flex !important;
    flex-direction: column !important;
}

.hdf-property-carousel .hdf-card-actions {
    margin-top: auto !important;
}

.hdf-property-carousel .hdf-button.hdf-button-primary {
    margin-top: 0 !important;
}
