/* ======================
 LAYOUT & CONTAINER
======================= */
.hvnly-archive-property-wrapper {
    padding: 50px 0;
}

.hvnly-archive-property-wrapper .hvnly-property-section-title h1.property-archive-title {
    font-size: 2rem;
    font-weight: var(--hvnly-font-weight-semibold);
}

/* ======================
    SEARCH FORM STYLES
======================= */
.hvnly-property-search-form {
    background: var(--hvnly-card-bg);
    border-radius: var(--hvnly-card-radius);
    padding: var(--hvnly-card-padding);
    box-shadow: var(--hvnly-card-shadow);
    /* margin-bottom: 2rem; */
}

.hvnly-property-search-tabs {
    display: flex;
    margin-bottom: 0;
    border-radius: var(--hvnly-button-radius);
    gap: 0.25rem;
}

.hvnly-property-search-tab {
    padding: 0.75rem 1.5rem;
    color: var(--hvnly-brand-primary);
    cursor: pointer;
    transition: all var(--hvnly-transition-time);
    border-radius: var(--hvnly-button-radius);
    text-align: center;
    background: rgba(108, 96, 254, 0.05);
    font-size: 1rem;
    font-weight: var(--hvnly-font-weight-medium);
}

.hvnly-property-search-tab.active {
    background: var(--hvnly-brand-primary);
    color: var(--hvnly-color-white);
    box-shadow: 0 2px 8px rgba(108, 96, 254, 0.3);
}

.hvnly-property-search-tab:hover:not(.active) {
    background: var(--hvnly-brand-primary);
    color: var(--hvnly-color-white);
}

.hvnly-property-form-group-fields-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}

.hvnly-property-form-group-fields-main {
    display: flex;
    gap: 1rem;
    max-width: 100%;
    width: 100%;
    justify-content: space-between;
}

.hvnly-property-form-group-fields-main .hvnly-property-form-item {
    position: relative;
    width: 33%;
}

.hvnly-property-form-group-fields-wrapper .hvnly-property-search-submit {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--hvnly-brand-primary);
    border: 1px solid var(--hvnly-brand-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--hvnly-color-bg-white);
    font-size: 14px;
    font-weight: 500;
}

.hvnly-property-form-group-fields-wrapper .hvnly-property-search-submit:hover {
    background: var(--hvnly-button-bg-hover);
}

/* Havenlytics Filter Toggle Styles */
.hvnly-property-search-form .hvnly-property-filter-toggle-wrapper {
    display: flex;
    align-items: center;
}

.hvnly-property-search-form .hvnly-property-filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9.5px 20px;
    background: var(--hvnly-brand-secondary);
    border: 1px solid var(--hvnly-brand-secondary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--hvnly-color-bg-white);
    font-size: 14px;
    font-weight: 500;
}

.hvnly-property-search-form .hvnly-property-filter-toggle:hover {
    background: var(--hvnly-button-bg-hover);
    border-color: var(--hvnly-button-bg-hover);
}

.hvnly-property-search-form .hvnly-property-filter-toggle.active {
    background: var(--hvnly-brand-primary);
    border-color: var(--hvnly-brand-primary);
    color: var(--hvnly-color-white);
}

.hvnly-property-search-form .hvnly-property-filter-toggle.active .hvnly-filter-toggle-icon svg {
    transform: rotate(180deg);
}

.hvnly-property-search-form .hvnly-filter-toggle-icon svg,
.hvnly-property-search-form .hvnly-search-icon svg {
    transition: transform 0.3s ease;
}

.hvnly-property-search-form .hvnly-property-additional-filters {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    margin-top: 0;
}

.hvnly-property-search-form .hvnly-property-additional-filters.active {
    max-height: 200px;
    opacity: 1;
    margin-top: 20px;
}

.hvnly-property-search-form .hvnly-property-additional-filters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.hvnly-property-search-form 
.hvnly-property-additional-filters-grid 
.hvnly-property-additional-field-item select{
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--hvnly-input-border);
    border-radius: var(--hvnly-input-radius);
    font-size: 0.95rem;
    background: var(--hvnly-color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 1rem center;
    background-size: 16px;
    appearance: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .hvnly-property-search-form .hvnly-property-additional-filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hvnly-property-search-form .hvnly-property-additional-filters-grid {
        grid-template-columns: 1fr;
    }

    .hvnly-property-search-form .hvnly-property-form-group-fields-wrapper {
        flex-wrap: wrap;
    }

    .hvnly-property-search-form .hvnly-property-filter-toggle-wrapper {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    .hvnly-property-search-form .hvnly-property-filter-toggle {
        width: 100%;
        justify-content: center;
    }
}

/* ======================
   MULTI-SELECT DROPDOWN STYLES - GLOBAL
======================= */
.hvnly-property-form-group-fields-wrapper .hvnly-property-taxonomyDropdown-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--hvnly-color-white);
    border: 1px solid var(--hvnly-border-color);
    border-radius: var(--hvnly-input-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 10;
    max-height: 280px;
    overflow-y: auto;
    display: none;
    margin-top: 4px;
}

.hvnly-property-taxonomyDropdown-items.hvnly-active {
    display: block;
}

.hvnly-property-form-group-fields-wrapper .hvnly-property-taxonomyDropdown-items ul {
    padding: 0.5rem 0;
    position: relative;
    padding-top: 45px;
    margin: 0;
}

.hvnly-property-form-group-fields-wrapper .hvnly-property-taxonomyDropdown-items li {
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: background-color var(--hvnly-transition-time);
    border-bottom: 1px solid #f5f5f5;
}

.hvnly-property-form-group-fields-wrapper .hvnly-property-taxonomyDropdown-items li:last-child {
    border-bottom: none;
}

.hvnly-property-form-group-fields-wrapper .hvnly-property-taxonomyDropdown-items li:hover {
    background-color: #f8f9fa;
}

/* Improved Checkbox Styles - Global */
.hvnly-property-taxonomyDropdown-items .hvnly-property-dropdown-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 14px;
    padding: 0.75rem 1rem;
    margin: 0;
    width: 100%;
    transition: all 0.2s ease;
}

/* Hide default checkbox */
.hvnly-property-dropdown-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom checkbox - Global */
.hvnly-property-custom-mlt-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    background: var(--hvnly-color-white);
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* Checked state - Global */
.hvnly-property-dropdown-checkbox input[type="checkbox"]:checked + .hvnly-property-custom-mlt-checkbox {
    background: var(--hvnly-brand-primary);
    border-color: var(--hvnly-brand-primary);
}

.hvnly-property-dropdown-checkbox input[type="checkbox"]:checked + .hvnly-property-custom-mlt-checkbox::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid var(--hvnly-color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Focus state */
.hvnly-property-dropdown-checkbox input[type="checkbox"]:focus + .hvnly-property-custom-mlt-checkbox {
    border-color: var(--hvnly-brand-primary);
    box-shadow: 0 0 0 2px rgba(108, 96, 254, 0.2);
}

/* Hover state */
.hvnly-property-dropdown-checkbox:hover .hvnly-property-custom-mlt-checkbox {
    border-color: #bbb;
}

.hvnly-property-dropdown-checkbox input[type="checkbox"]:checked:hover + .hvnly-property-custom-mlt-checkbox {
    background: var(--hvnly-brand-primary);
    border-color: var(--hvnly-brand-primary);
}

.hvnly-property-checkbox-mlt-label {
    color: #333;
    font-weight: 400;
    transition: color 0.2s ease;
}

.hvnly-property-dropdown-checkbox:hover .hvnly-property-checkbox-mlt-label {
    color: var(--hvnly-brand-primary);
}

/* Reset button - Global */
.hvnly-property-taxonomyDropdown-items .hvnly-property-dropdown-reset {
    padding: 0.75rem 1rem;
    color: var(--hvnly-brand-primary);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    width: 100%;
    text-align: right;
    transition: background-color 0.2s ease;
}

.hvnly-property-dropdown-reset:hover {
    background: #e9ecef;
    color: var(--hvnly-brand-primary);
}

/* Close button - Global */
.hvnly-property-form-group-fields-main .hvnly-property-dropdown-tags-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    cursor: pointer;
    color: #6c757d;
    opacity: 0;
    transition: all 0.2s ease;
    border-radius: 3px;
    padding: 2px;
    z-index: 11;
}

.hvnly-property-tax-multichebox:hover .hvnly-property-dropdown-tags-close {
    opacity: 1;
}

.hvnly-property-dropdown-tags-close:hover {
    color: var(--hvnly-brand-error);
}

/* Selected items container - Global */
.hvnly-property-selected-items-container-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    min-height: 20px;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
}

.hvnly-property-selected-single-item {
    background: var(--hvnly-brand-primary);
    color: var(--hvnly-color-white);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.hvnly-property-selected-single-item-remove {
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    opacity: 0.8;
}

.hvnly-property-selected-single-item-remove:hover {
    opacity: 1;
}

/* ======================
    MAIN CONTENT LAYOUT
======================= */
.hvnly-content-wrapper 

.hvnly-with-sidebar__contents__grids {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

/* ======================
    FILTER SIDEBAR STYLES
======================= */
.hvnly-content-wrapper 

.hvnly-with-sidebar__contents__grids .hvnly-property-filter-sidebar {
    background: var(--hvnly-card-bg);
    border-radius: var(--hvnly-card-radius);
    padding: var(--hvnly-card-padding);
    box-shadow: var(--hvnly-card-shadow);
    height: fit-content;
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}
.hvnly-content-wrapper 

.hvnly-with-sidebar__contents__grids .hvnly-property-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hvnly-border-color);
}
.hvnly-content-wrapper 

.hvnly-with-sidebar__contents__grids .hvnly-property-filter-header .hvnly-property-reset-filters-btn {
    background: transparent;
    border: transparent;
}
.hvnly-content-wrapper 

.hvnly-with-sidebar__contents__grids .hvnly-property-filter-title {
    font-size: 1.25rem;
    font-weight: var(--hvnly-font-weight-regular);
    margin: 0;
}
.hvnly-content-wrapper 

.hvnly-with-sidebar__contents__grids .hvnly-property-filter-group {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--hvnly-border-color);
    padding-bottom: 1rem;
}
.hvnly-content-wrapper 

.hvnly-with-sidebar__contents__grids .hvnly-property-filter-group-content .hvnly-property-filter-group {
    margin-bottom: 0;
    border-bottom: 0px solid var(--hvnly-border-color);
    padding-bottom: 0;
}
.hvnly-content-wrapper 

.hvnly-with-sidebar__contents__grids .hvnly-property-filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.hvnly-content-wrapper 

.hvnly-with-sidebar__contents__grids .hvnly-property-filter-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
}
.hvnly-content-wrapper 

.hvnly-with-sidebar__contents__grids .hvnly-property-filter-group-title {
    font-size: 1rem;
    font-weight: var(--hvnly-font-weight-regular);
    color: var(--hvnly-text-primary);
    margin: 0;
}
.hvnly-content-wrapper 

.hvnly-with-sidebar__contents__grids .hvnly-property-filter-group-toggle {
    color: var(--hvnly-text-secondary);
}
.hvnly-content-wrapper 

.hvnly-with-sidebar__contents__grids .hvnly-property-filter-group-toggle i {
    font-size: 14px;
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}
.hvnly-content-wrapper 

.hvnly-with-sidebar__contents__grids .hvnly-property-filter-group.collapsed .hvnly-property-filter-group-toggle i {
    transform: rotate(180deg);
}
.hvnly-content-wrapper 

.hvnly-with-sidebar__contents__grids .hvnly-property-filter-group-content {
    margin-top: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}
.hvnly-content-wrapper 

.hvnly-with-sidebar__contents__grids .hvnly-property-filter-group.collapsed .hvnly-property-filter-group-content {
    margin-top: 0;
    height: 0;
    opacity: 0;
    display: none;
}
.hvnly-content-wrapper 
.hvnly-with-sidebar__contents__grids .hvnly-property-filter-label {
    display: block;
    font-size: var(--hvnly-font-size-label);
    font-weight: var(--hvnly-font-weight-regular);
    margin-bottom: 0.35rem;
    color: var(--hvnly-text-primary);
}
.hvnly-content-wrapper 
.hvnly-with-sidebar__contents__grids .hvnly-property-form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--hvnly-input-border);
    border-radius: var(--hvnly-input-radius);
    font-size: 0.95rem;
    background: var(--hvnly-color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 1rem center;
    background-size: 16px;
    appearance: none;
}

/* ======================
    DUAL RANGE SLIDER STYLES - MODERN DESIGN
======================= */
.hvnly-property-range-slider {
    width: 100%;
    margin: var(--hvnly-space-md) 0 calc(var(--hvnly-space-md) * 1.5);
    padding: 0 10px;
}

.hvnly-property-range-slider__container {
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
}

.hvnly-property-range-slider__track {
    position: absolute;
    width: 100%;
    height: 6px;
    background: var(--hvnly-slider-track);
    border-radius: var(--hvnly-input-radius);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.hvnly-property-range-slider__progress {
    position: absolute;
    height: 6px;
    background: linear-gradient(90deg, var(--hvnly-brand-primary), var(--hvnly-brand-secondary));
    border-radius: var(--hvnly-input-radius);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    left: 0%;
    right: 0%;
    transition: all var(--hvnly-transition-time);
}

.hvnly-property-range-slider input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 0;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    margin: 0;
    pointer-events: none;
    z-index: 2;
    border: 0;
}

.hvnly-property-range-slider input:focus {
    box-shadow: 0 0 0 0px rgba(108, 96, 254, 0.15) !important;
}

.hvnly-property-range-slider input[type="range"]:nth-child(1) {
    left: 0;
}

.hvnly-property-range-slider input[type="range"]:nth-child(2) {
    right: 0;
}

/* Webkit Thumb Styles */
.hvnly-property-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--hvnly-color-bg-white);
    border: 2px solid var(--hvnly-brand-primary);
    cursor: pointer;
    transition: all var(--hvnly-transition-time);
    box-shadow: var(--hvnly-card-shadow);
    pointer-events: auto;
}

.hvnly-property-range-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(108, 96, 254, 0.4);
    border-color: var(--hvnly-button-bg-hover);
    background: var(--hvnly-color-gray-100);
}

.hvnly-property-range-slider input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.1);
    box-shadow: 0 2px 10px rgba(108, 96, 254, 0.5);
}

/* Firefox Thumb Styles */
.hvnly-property-range-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--hvnly-color-bg-white);
    border: 2px solid var(--hvnly-brand-primary);
    cursor: pointer;
    transition: all var(--hvnly-transition-time);
    box-shadow: var(--hvnly-card-shadow);
    pointer-events: auto;
}

.hvnly-property-range-slider input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(108, 96, 254, 0.4);
    border-color: var(--hvnly-button-bg-hover);
    background: var(--hvnly-color-gray-100);
}

.hvnly-property-range-slider input[type="range"]::-moz-range-thumb:active {
    transform: scale(1.1);
    box-shadow: 0 2px 10px rgba(108, 96, 254, 0.5);
}

/* Track Styles */
.hvnly-property-range-slider input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: transparent;
    border-radius: var(--hvnly-input-radius);
    border: none;
}

.hvnly-property-range-slider input[type="range"]::-moz-range-track {
    width: 100%;
    height: 6px;
    background: transparent;
    border-radius: var(--hvnly-input-radius);
    border: none;
}

/* Values Display */
.hvnly-property-range-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--hvnly-space-md);
    padding: 0 5px;
}

.hvnly-property-range-value {
    color: var(--hvnly-text-primary);
    font-size: 0.95rem;
    min-width: 100px;
    text-align: center;
}

.hvnly-property-range-separator {
    color: var(--hvnly-text-secondary);
    font-weight: var(--hvnly-font-weight-medium);
    margin: 0 10px;
    font-size: var(--hvnly-font-size-label);
}

/* Focus States for Accessibility */
.hvnly-property-range-slider input[type="range"]:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(108, 96, 254, 0.2);
}

.hvnly-property-range-slider input[type="range"]:focus::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(108, 96, 254, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hvnly-property-range-slider {
        margin: calc(var(--hvnly-space-md) * 0.8) 0 var(--hvnly-space-md);
    }

    .hvnly-property-range-value {
        min-width: 80px;
        padding: 0.5rem 1rem;
        font-size: var(--hvnly-font-size-label);
    }

    .hvnly-property-range-slider input[type="range"]::-webkit-slider-thumb {
        width: 20px;
        height: 20px;
    }

    .hvnly-property-range-slider input[type="range"]::-moz-range-thumb {
        width: 20px;
        height: 20px;
    }

    .hvnly-property-range-separator {
        margin: 0 5px;
        font-size: var(--hvnly-font-size-meta);
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hvnly-property-range-values {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hvnly-property-range-separator {
        margin: 0;
    }

    .hvnly-property-range-value {
        min-width: 120px;
    }
}

/* ======================
    CHECKBOX STYLES - MODERN DESIGN
======================= */
.hvnly-content-wrapper 
.hvnly-property-filter-sidebar
.hvnly-property-filter-group
.hvnly-property-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.hvnly-content-wrapper 
.hvnly-property-filter-sidebar
.hvnly-property-filter-group
.hvnly-property-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    /* cursor: pointer; */
    font-size: 0.95rem;
    margin: 0;
    padding: 0;
}
.hvnly-content-wrapper 
.hvnly-property-filter-sidebar
.hvnly-property-filter-group
.hvnly-property-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    width: auto;
}

/* Custom checkbox box */
.hvnly-content-wrapper 
.hvnly-property-filter-sidebar
.hvnly-property-filter-group
.hvnly-property-filter-checkbox::before {
    content: "";
    width: 21px;
    height: 21px;
    border: 1px solid var(--hvnly-input-border);
    border-radius: 4px;
    display: block;
    flex-shrink: 0;
    transition: all var(--hvnly-transition-time);
    background: var(--hvnly-color-white);
}
.hvnly-content-wrapper 
.hvnly-property-filter-sidebar
.hvnly-property-filter-group
.hvnly-property-filter-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 18px;
    height: 18px;
    z-index: 1;
    left: 0;
    top: 0;
}

/* Checked state */
.hvnly-content-wrapper 
.hvnly-property-filter-sidebar
.hvnly-property-filter-group
.hvnly-property-filter-checkbox.checked::before {
    background: var(--hvnly-brand-primary);
    border-color: var(--hvnly-brand-primary);
}
.hvnly-content-wrapper 
.hvnly-property-filter-sidebar
.hvnly-property-filter-group
.hvnly-property-filter-checkbox.checked::after {
    content: "✓";
    color: var(--hvnly-color-white);
    font-size: 13px;
    font-weight: bold;
    position: absolute;
    left: 5px;
    top: 3px;
    z-index: 2;
}

/* Text span */
.hvnly-content-wrapper 
.hvnly-property-filter-sidebar
.hvnly-property-filter-group
.hvnly-property-filter-checkbox span {
    display: block;
    flex: 1;
    margin-left: 0;
    line-height: 1.4;
}

/* Hover states */
.hvnly-content-wrapper 
.hvnly-property-filter-sidebar
.hvnly-property-filter-group
.hvnly-property-checkbox-label:hover 
.hvnly-property-filter-checkbox:not(.checked)::before {
    border-color: var(--hvnly-brand-primary);
    background-color: rgba(108, 96, 254, 0.05);
}

/* Focus accessibility */
.hvnly-content-wrapper 
.hvnly-property-filter-sidebar
.hvnly-property-filter-group
.hvnly-property-filter-checkbox input:focus + span {
    outline: 2px solid var(--hvnly-brand-primary);
    outline-offset: 2px;
    border-radius: 2px;
}
.hvnly-content-wrapper 
.hvnly-property-filter-sidebar
.hvnly-property-filter-group
.hvnly-property-filter-checkbox input:focus ~ span {
    outline: 0px solid var(--hvnly-brand-primary);
    outline-offset: 0px;
    border-radius: 0px;
}

/* ======================
    PROPERTY GRID & LIST VIEWS - FIXED
======================= */
.hvnly-property-grid-view {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Grid View - 2 columns */
.hvnly-grid-view {
    grid-template-columns: repeat(2, 1fr);
}

/* List View - 1 column with flex layout */
.hvnly-list-view {
    display: flex;
    flex-direction: column;
}

.hvnly-list-view .hvnly-property-grid-list-item {
    display: flex;
    flex-direction: row;
}

.hvnly-list-view .hvnly-property-grid-list-thumb {
    width: 450px;
    height: auto;
    flex-shrink: 0;
}

.hvnly-list-view .hvnly-property--grid-list--single__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hvnly-list-view .hvnly-property--grid-list--features {
    gap: 2rem;
}

/* ======================
    PROPERTY CARD STYLES
======================= */
.hvnly-property-display-shortcode .hvnly-property-archive-container .hvnly-property-grid-list-item ,
.hvnly-property--grid--listings .hvnly-property-grid-list-item {
    background: var(--hvnly-card-bg);
    border-radius: var(--hvnly-card-radius);
    overflow: hidden;
    box-shadow: var(--hvnly-card-shadow);
    transition: all var(--hvnly-transition-time);
}

/* .hvnly-property--grid--listings .hvnly-property-grid-list-item .hvnly-property-grid-list-thumb a.hvnly-property-gallery-link{display: block;} */

.hvnly-property-display-shortcode .hvnly-property-archive-container .hvnly-property-grid-list-item:hover,
.hvnly-property--grid--listings .hvnly-property-grid-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hvnly-property-grid-list-thumb {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.hvnly-property-display-shortcode .hvnly-property-archive-container .hvnly-property-card-image,
.hvnly-property--grid--listings .hvnly-property-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--hvnly-transition-time);
}
.hvnly-property-display-shortcode .hvnly-property-archive-container .hvnly-property-grid-list-item:hover 
.hvnly-property-display-shortcode .hvnly-property-archive-container .hvnly-property-card-image ,
.hvnly-property--grid--listings .hvnly-property-grid-list-item:hover 
.hvnly-property--grid--listings .hvnly-property-card-image 
{
    transform: scale(1.05);
}

.hvnly-property-display-shortcode .hvnly-property-archive-container .hvnly-property--grid-list--overlay, 
.hvnly-property--grid--listings .hvnly-property--grid-list--overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    z-index: 2;
}
.hvnly-property-display-shortcode .hvnly-property-archive-container .hvnly-property--grid-list--overlay .hvnly-property--grid-list-top--overlay, 
.hvnly-property--grid--listings .hvnly-property--grid-list-top--overlay {
    display: flex;
    justify-content: space-between;
}

.hvnly-property-display-shortcode .hvnly-property-archive-container
.hvnly-property--grid-list-top--overlay 
.hvnly-property-grid-list-top-badge-left ,

.hvnly-property--grid--listings 
.hvnly-property--grid-list-top--overlay 
.hvnly-property-grid-list-top-badge-left 
{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}

.hvnly-property-display-shortcode .hvnly-property-archive-container
.hvnly-property--grid-list-top--overlay 
.hvnly-property-grid-list-top-badge-right, 
.hvnly-property--grid--listings 
.hvnly-property--grid-list-top--overlay 
.hvnly-property-grid-list-top-badge-right 
{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}

.hvnly-property-display-shortcode .hvnly-property-archive-container  .hvnly-property--grid-list--bottom-overlay ,
.hvnly-property--grid--listings .hvnly-property--grid-list--bottom-overlay 
{
    display: flex;
    justify-content: space-between;
}

.hvnly-property-display-shortcode .hvnly-property-archive-container 
.hvnly-property--grid-list--bottom-overlay 
.hvnly-property-grid-list-bottom-badge-left ,
.hvnly-property--grid--listings 
.hvnly-property--grid-list--bottom-overlay 
.hvnly-property-grid-list-bottom-badge-left 
{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}

.hvnly-property-display-shortcode .hvnly-property-archive-container 
.hvnly-property--grid-list--bottom-overlay 
.hvnly-property-grid-list-bottom-badge-right,

.hvnly-property--grid--listings 
.hvnly-property--grid-list--bottom-overlay 
.hvnly-property-grid-list-bottom-badge-right 
{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}


.hvnly-property-display-shortcode .hvnly-property-archive-container
.hvnly-property-grid-list-tag,

.hvnly-property--grid--listings 
.hvnly-property-grid-list-tag 
{
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--hvnly-brand-accent);
    color: var(--hvnly-color-white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: var(--hvnly-font-weight-regular);
}

.hvnly-property-display-shortcode .hvnly-property-archive-container
.hvnly-property--grid-list--favorite ,

.hvnly-property--grid--listings 
.hvnly-property--grid-list--favorite 
{
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) ;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--hvnly-text-primary);
    transition: all var(--hvnly-transition-time) !important;
    border: 0 !important;
    padding: 0 !important;
}

.hvnly-property-field-footer 
.hvnly-property--grid-list--footer
.hvnly-property--grid-list--favorite {

    background: var(--hvnly-brand-primary);color: var(--hvnly-color-white);
   
}
.hvnly-property-display-shortcode .hvnly-property-archive-container
.hvnly-property--grid-list--favorite i,

.hvnly-property--grid--listings 
.hvnly-property--grid-list--favorite i
{font-size: var(--hvnly-font-size-xs);}


.hvnly-property-display-shortcode .hvnly-property-archive-container
.hvnly-property--grid-list--favorite:hover 
,
.hvnly-property--grid--listings 
.hvnly-property--grid-list--favorite:hover 
{
    /* background: var(--hvnly-color-white); */
    color: var(--hvnly-color-white);
    transform: scale(1.1);
}

.hvnly-property-display-shortcode .hvnly-property-archive-container 
.hvnly-property-grid-list-bottom-badge-left
.hvnly-property-field-mode-preset
.hvnly-property-grid-list-price-header,
.hvnly-property--grid--listings 
.hvnly-property-grid-list-bottom-badge-left
.hvnly-property-field-mode-preset
.hvnly-property-grid-list-price-header
{
    font-size: var(--hvnly-font-size-price);
    font-weight: var(--hvnly-font-weight-regular);
    color: var(--hvnly-color-white);
    background: var(--hvnly-brand-primary);
    padding: 5px 15px;
    border-radius: var(--hvnly-button-radius);
}

.hvnly-property-display-shortcode .hvnly-property-archive-container 
.hvnly-property-grid-list-price-header ,

.hvnly-property--grid--listings 
.hvnly-property-grid-list-price-header {
    font-size: var(--hvnly-font-size-md-price);
    font-weight: var(--hvnly-font-weight-semibold);
    color: var(--hvnly-text-primary);
    /* margin-bottom: 0.2rem; */
}

.hvnly-property-display-shortcode .hvnly-property-archive-container 
.hvnly-property-view-count-field 
.hvnly-property-view-count ,

.hvnly-property--grid--listings 
.hvnly-property-view-count-field 
.hvnly-property-view-count ,
.hvnly-property-field-schedule-tour 
.hvnly-property-schedule-tour,
.hvnly-property-field-rating-star
.hvnly-property-rating-star
{
    font-size: var(--hvnly-font-size-xs);
    font-weight: var(--hvnly-font-weight-regular);
    color: var(--hvnly-color-white);
    background: var(--hvnly-brand-primary);
    padding: 5px 8px;
    border-radius: var(--hvnly-button-radius);display: inline-block;
}

.hvnly-property-display-shortcode .hvnly-property-archive-container 
.hvnly-property-view-count-field 
.hvnly-property-view-count i,
.hvnly-property--grid--listings 
.hvnly-property-view-count-field 
.hvnly-property-view-count i,
.hvnly-property-field-schedule-tour 
.hvnly-property-schedule-tour i,
.hvnly-property-field-rating-star
.hvnly-property-rating-star i
{
    font-size: var(--hvnly-font-size-xs);
}
.hvnly-property--grid-list--single__content {
    padding: var(--hvnly-card-padding);
}

.hvnly-property--grid-list--single__content .hvnly-property--grid-list--header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hvnly-property--grid-list--single__content .hvnly-property--grid-list--avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hvnly-color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--hvnly-text-secondary);
    flex-shrink: 0;
}

.hvnly-property--grid-list--single__content .hvnly-property--grid-list--header .hvnly-property--grid-list--title-header {
    flex: 1;
}
.hvnly-property--grid-list--single__content .hvnly-property--grid-list--header .hvnly-property--grid-list--title-header .hvnly-property--grid-list--title {
    font-size: 1.25rem;
    font-weight: var(--hvnly-font-weight-semibold);
    color: var(--hvnly-text-primary);
    margin-bottom: 0;
    line-height: 1.4;margin-top: 0;
}
.hvnly-property--grid-list--single__content .hvnly-property--grid-list--header .hvnly-property--grid-list--title-header .hvnly-property--grid-list--title a:hover {
    color: var(--hvnly-brand-secondary);
    /* text-decoration: underline; */
}
.hvnly-property--grid-list--single__content .hvnly-property--grid-list--rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.hvnly-property--grid-list--single__content .hvnly-property--grid-list--stars {
    display: flex;
    gap: 0.125rem;
}

.hvnly-property--grid-list--single__content .hvnly-property--grid-list--stars .filled {
    color: #f39c12;
}

.hvnly-property--grid-list--single__content .hvnly-property--grid-list--rating-value {
    font-weight: var(--hvnly-font-weight-semibold);
    color: var(--hvnly-text-primary);
}

.hvnly-property--grid-list--single__content .hvnly-property--grid-list--rating-reviews {
    color: var(--hvnly-text-secondary);
    font-size: 0.875rem;
}

.hvnly-property--grid-list--single__content 
.hvnly-property--grid-list--location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--hvnly-text-secondary);
    font-size: 0.95rem;
}

.hvnly-property--grid-list--single__content 
.hvnly-property--grid-list--location i{
    color: var(--hvnly-status-off)
}

.hvnly-property--grid-list--single__content 
.hvnly-property--grid-list--excerpt {
    margin-bottom: 1rem;
    color: var(--hvnly-text-secondary);
    line-height: 1.5;
    font-size: var(--hvnly-font-size-excerpt);
}

.hvnly-property--grid-list--single__content 
.hvnly-property--grid-list--features {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid var(--hvnly-border-color);
    border-bottom: 1px solid var(--hvnly-border-color);
    background-color: #F7F6FF;
    padding-top: 1rem;
}

.hvnly-property--grid-list--single__content 
.hvnly-property--grid-list--feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--hvnly-text-secondary);
    font-size: 14px;
}

.hvnly-property--grid-list--single__content 
.hvnly-property--grid-list--feature .hvnly-property--feature-lists{ color: var(--hvnly-status-off);}

.hvnly-property--grid-list--single__content 
.hvnly-property--grid-list--feature i{ color: var(--hvnly-status-off);}

.hvnly-property--grid-list--single__content 
.hvnly-property--grid-list--feature .hvnly-property-feature-number{ color:var(--hvnly-text-secondary); font-weight: var(--hvnly-font-weight-semibold);}

.hvnly-property--grid-list--single__content 
.hvnly-property--grid-list--details {
    margin-bottom: 1rem;
}

.hvnly-property--grid-list--single__content 
.hvnly-property--grid-list--detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--hvnly-text-secondary);
    font-size: 0.95rem;
}

.hvnly-property--grid-list--single__content 
.hvnly-property--grid-list--detail-icon {
    width: 24px;
    text-align: center;
    color: var(--hvnly-brand-primary);
}

.hvnly-property--grid-list--single__content 
.hvnly-property--grid-list--footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--hvnly-border-color);
}

.hvnly-property--grid-list--single__content .hvnly-btn-primary {
    display: inline-block;
    padding: 10px 15px;
    background: var(--hvnly-button-bg);
    border-radius: var(--hvnly-button-radius);
    text-decoration: none;
    color: var(--hvnly-button-color);
    font-weight: var(--hvnly-font-weight-medium);
    cursor: pointer;
    transition: all var(--hvnly-transition-time);
    font-size: 14px;
}

.hvnly-property--grid-list--single__content .hvnly-btn-primary:hover {
    background: var(--hvnly-button-bg-hover);
}

.hvnly-property--grid-list--single__content .hvnly-property--grid-list--actions {
    display: flex;
    gap: 0.5rem;
}

.hvnly-property--grid-list--single__content .hvnly-property--grid-list--action-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--hvnly-button-radius);
    background: var(--hvnly-color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hvnly-text-secondary);
    transition: all var(--hvnly-transition-time);
}

.hvnly-property--grid-list--single__content .hvnly-property--grid-list--action-btn:hover {
    background: var(--hvnly-border-color);
    color: var(--hvnly-brand-primary);
}

.hvnly-property--grid-list--single__content .hvnly-property--grid-list--views {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--hvnly-text-secondary);
    font-size: 0.875rem;
}

/* ========== PROPERTY GALLERY CAROUSEL ========== */
.hvnly-property-display-shortcode .hvnly-property-archive-container  .hvnly-property-gallery-main ,
.hvnly-property--grid--listings .hvnly-property-gallery-main 
{
    position: relative;
    width: 100%;
    height: 100%;
}

.hvnly-property-display-shortcode .hvnly-property-archive-container  .hvnly-property-carousel-gallery ,
.hvnly-property--grid--listings .hvnly-property-carousel-gallery 
{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hvnly-property-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hvnly-property-carousel-slide {
    min-width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
}

.hvnly-property-display-shortcode .hvnly-property-archive-container 
.hvnly-list-view .hvnly-property-carousel-slide ,
.hvnly-property--grid--listings 
.hvnly-list-view .hvnly-property-carousel-slide 
{
    height: auto;
}

.hvnly-property-carousel-nav {
    position: absolute;
    top: 35%;
    left: 0;
    width: 100%;
    height: 30%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.hvnly-property-grid-list-item:hover .hvnly-property-carousel-nav {
    opacity: 1;
}

.hvnly-property-carousel-nav-btn {
    background-color: rgba(255, 255, 255, 0.85) !important;
    border: none !important;
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    font-size: 12px !important;
    color: var(--hvnly-brand-primary) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    padding: 0 !important;
}

.hvnly-property-carousel-nav-btn:hover {
    background: var(--hvnly-brand-primary) !important;
    transform: scale(1.1);
    color: var(--hvnly-color-bg-white) !important;
}

.hvnly-property-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 3;
}

.hvnly-property-carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hvnly-property-carousel-indicator.hvnly-property-carousel-active {
    background: var(--hvnly-color-bg-white);
    transform: scale(1.3);
}

/* ======================
    VIEW CONTROLS STYLES
======================= */
.hvnly-property-display-shortcode .hvnly-property-archive-container .hvnly-property--view--controls,
.hvnly-property--grid--listings .hvnly-property--view--controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hvnly-property-display-shortcode .hvnly-property-archive-container .hvnly-property-results-header-left ,
.hvnly-property--grid--listings .hvnly-property-results-header-left {
    font-size: 0.95rem;
    color: var(--hvnly-text-secondary);
}

.hvnly-property-display-shortcode .hvnly-property-archive-container .hvnly-property-results-header-left p ,
.hvnly-property--grid--listings .hvnly-property-results-header-left p {
    margin-bottom: 0;
}

.hvnly-property-display-shortcode .hvnly-property-archive-container .hvnly-property-view-options ,
.hvnly-property--grid--listings .hvnly-property-view-options {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hvnly-property-display-shortcode .hvnly-property-archive-container .hvnly-property-view-options,
.hvnly-property--grid--listings .hvnly-property-view-options p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--hvnly-text-secondary);
}

.hvnly-property-sort-dropdown {
    position: relative;
}

.hvnly-property-sort-select {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid var(--hvnly-border-color);
    border-radius: var(--hvnly-input-radius);
    font-size: 0.9rem;
    background: var(--hvnly-color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
    background-size: 16px;
    appearance: none;
    cursor: pointer;
}

.hvnly-property-view-buttons {
    display: flex;
    gap: 0.5rem;
}

.hvnly-property-view-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--hvnly-input-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hvnly-card-bg);
    border: 1px solid var(--hvnly-border-color);
    color: var(--hvnly-text-secondary);
    transition: all var(--hvnly-transition-time);
}

.hvnly-property-view-btn.active {
    background: var(--hvnly-brand-primary);
    border-color: var(--hvnly-brand-primary);
    color: var(--hvnly-color-white);
}

.hvnly-property-view-btn:hover:not(.active) {
    background: var(--hvnly-brand-secondary);
}

/* ======================
    MAP VIEW STYLES
======================= */
.hvnly-map-view {
    height: 600px;
    background: var(--hvnly-color-bg-light);
    border-radius: var(--hvnly-card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.hvnly-map-placeholder {
    text-align: center;
    color: var(--hvnly-text-secondary);
}

.hvnly-map-icon {
    font-size: 3rem;
    color: var(--hvnly-brand-primary);
    margin-bottom: 1rem;
}

/* ======================
    PAGINATION STYLES
======================= */
/* Numbered Pagination Styles */
#hvnly-property-pagination .hvnly-property-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    gap: 0.5rem;
}

#hvnly-property-pagination .hvnly-property-pagination-info {
    text-align: center;
    color: var(--hvnly-text-secondary);
    font-size: 0.9rem;
}

#hvnly-property-pagination .hvnly-property-pagination-list {
    display: flex;
    gap: 0.25rem;
}

#hvnly-property-pagination .hvnly-property-pagination-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--hvnly-button-radius);
    background: var(--hvnly-color-bg-white);
    border: 1px solid var(--hvnly-border-color);
    color: var(--hvnly-text-secondary);
    font-weight: var(--hvnly-font-weight-semibold);
    transition: all var(--hvnly-transition-time);
    cursor: pointer;
    font-size: 14px;
}

#hvnly-property-pagination .hvnly-property-pagination-item:hover {
    background: var(--hvnly-color-bg-light);
}

#hvnly-property-pagination .hvnly-property-pagination-item.active {
    background: var(--hvnly-brand-primary);
    border-color: var(--hvnly-brand-primary);
    color: var(--hvnly-color-white);
}

#hvnly-property-pagination .hvnly-property-pagination-item.dots {
    cursor: default;
    border: none;
}

#hvnly-property-pagination .hvnly-property-pagination-item.dots:hover {
    background: transparent;
}

#hvnly-property-pagination .hvnly-property-pagination-prev i,
.hvnly-property-pagination-next i {
    width: auto;
    padding: 0 1rem;
    font-size: 14px;
}

/* Load More Button Styles */
.hvnly-property-load-more-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
}

.hvnly-property-load-more-btn {
    padding: 0.75rem 2rem;
    background: var(--hvnly-brand-primary);
    color: var(--hvnly-color-white);
    border-radius: var(--hvnly-button-radius);
    font-weight: var(--hvnly-font-weight-semibold);
    transition: all var(--hvnly-transition-time);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.hvnly-property-load-more-btn:hover {
    background: var(--hvnly-button-bg-hover);
    transform: translateY(-2px);
}

.hvnly-property-load-more-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.hvnly-load-more-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--hvnly-color-white);
    animation: hvnly-spin 1s ease-in-out infinite;
}

@keyframes hvnly-spin {
    to {
        transform: rotate(360deg);
    }
}

.hvnly-property-load-more-info {
    margin-top: 1rem;
    color: var(--hvnly-text-secondary);
    font-size: 0.9rem;
}

/* ======================
    RESPONSIVE DESIGN
======================= */
@media (max-width: 1024px) {
    .hvnly-with-sidebar__contents__grids {
        grid-template-columns: 1fr;
    }

    .hvnly-with-sidebar__contents__grids .hvnly-property-filter-sidebar {
        position: static;
    }

    .hvnly-grid-view {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hvnly-list-view .hvnly-property-grid-list-item {
        /* flex-direction: column; */
    }

    .hvnly-list-view .hvnly-property-grid-list-thumb {
        /* width: 100%;
        height: 240px; */
    }

    .hvnly-header-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .hvnly-user-nav {
        width: 100%;
        justify-content: space-between;
    }

    .hvnly-property--view--controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hvnly-property-view-options {
        width: 100%;
        justify-content: space-between;
    }

    .hvnly-property-form-group-fields-wrapper {
        flex-direction: column;
    }
    .hvnly-property-search-tab {
        padding: var(--hvnly-space-md) var(--hvnly-space-lg);
       
    }
    .hvnly-property-form-group-fields-main {
        flex-direction: column;
    }

    .hvnly-property-form-group-fields-main 
    .hvnly-property-form-item {
        width: 100%;
    }

    .hvnly-property-search-tabs {
        display: flex;
    }
    .hvnly-property-search-form 
    .hvnly-property-filter-toggle-wrapper {
        width: 100%;
    }
    .hvnly-property-search-form 
    .hvnly-property-filter-toggle {
        width: 100%;
    }

    /* Responsive pagination */
    .hvnly-property-pagination {
        flex-wrap: wrap;
    }

    .hvnly-property-pagination-item {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* Havenlytics AJAX Styles */
.hvnly-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.hvnly-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--hvnly-brand-primary);
    border-radius: 50%;
    animation: hvnly-spin 1s linear infinite;
}

@keyframes hvnly-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hvnly-ajax-error {
    background: #f8d7da !important;
    color: #721c24 !important;
    padding: 12px !important;
    margin: 15px 0 !important;
    border: 1px solid #f5c6cb !important;
    border-radius: 4px !important;
    font-size: 14px;
}

/* View controls */
.hvnly-property-view-btn {
    background: var(--hvnly-brand-primary);
    border: 1px solid var(--hvnly-brand-primary);
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--hvnly-color-white);
}

.hvnly-property-view-btn.active {
    background: var(--hvnly-brand-primary);
    color: var(--hvnly-color-white);
    border-color: var(--hvnly-brand-primary);
}

.hvnly-property-view-btn:hover {
    background: #e9ecef;
}

.hvnly-property-view-btn.active:hover {
    background: var(--hvnly-brand-secondary);
}

/* Loading states */
.hvnly-property-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hvnly-property-pagination-item.active {
    background: var(--hvnly-brand-primary);
    color: var(--hvnly-color-white);
}

/* Carousel styles */
.hvnly-property-carousel-indicator.active {
    background: var(--hvnly-brand-secondary);
}


/* Property posted date and time badge */
.hvnly-property-grid-list-top-badge-left .hvnly-property-date-posted {
    display: inline-flex;
    align-items: center;
    gap: var(--hvnly-space-xs);
    padding: 4px 8px;
    border-radius: var(--hvnly-border-radius-lg);
    font-size: var(--hvnly-font-size-xs);
    font-weight: var(--hvnly-font-weight-regular);
    line-height: var(--hvnly-font-size-md);
    color:var(--hvnly-text-primary);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--hvnly-transition-time);
}

.hvnly-property-grid-list-top-badge-left .hvnly-property-date-posted i {
    font-size: 12px;
    flex-shrink: 0;
    color: var(--hvnly-text-primary);
}



/*  Grid overlay  All Badge css*/

/* Property Badges Styles with Dropdown */
.hvnly-property-grid-list-top-badge-left .hvnly-property-thumbnail-badges--labels,
.hvnly-property-grid-list-bottom-badge-left .hvnly-property-thumbnail-badges--labels,
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-property-thumbnail-badges--labels {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hvnly-space-xs);
    align-items: center;
    z-index: 20;
    position: relative;
}

.hvnly-property-grid-list-top-badge-left .hvnly-property-thumbnail-badge ,
.hvnly-property-grid-list-bottom-badge-left .hvnly-property-thumbnail-badge ,
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-property-thumbnail-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--hvnly-space-xs);
    padding: 4px 8px;
    border-radius: var(--hvnly-border-radius-lg);
    font-size: var(--hvnly-font-size-xs);
    font-weight: var(--hvnly-font-weight-regular);
    line-height: var(--hvnly-font-size-md);
    color: var(--hvnly-color-white);
    background-color: var(--hvnly-brand-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--hvnly-transition-time);
}

.hvnly-property-grid-list-top-badge-left .hvnly-badge-dropdown-container,
.hvnly-property-grid-list-bottom-badge-left .hvnly-badge-dropdown-container ,
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-badge-dropdown-container {
    position: relative;
    display: inline-block;
}

.hvnly-property-grid-list-top-badge-left .hvnly-badge-more-indicator,
.hvnly-property-grid-list-bottom-badge-left .hvnly-badge-more-indicator,
.hvnly-property--grid-list--footer .hvnly-property-type-more-indicator,
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-badge-more-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--hvnly-brand-primary);
    color: var(--hvnly-color-white);
    font-size: var(--hvnly-font-size-xs);
    font-weight: var(--hvnly-font-weight-regular);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--hvnly-transition-time);
}

.hvnly-property-grid-list-top-badge-left .hvnly-badge-more-indicator:hover,
.hvnly-property-grid-list-bottom-badge-left .hvnly-badge-more-indicator:hover,
.hvnly-property--grid-list--footer .hvnly-property-type-more-indicator:hover ,
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-badge-more-indicator:hover {
    background-color: var(--hvnly-brand-secondary);
    transform: scale(1.05);
}

.hvnly-property-grid-list-top-badge-left .hvnly-badges-dropdown,
.hvnly-property-grid-list-bottom-badge-left .hvnly-badges-dropdown ,
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-badges-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: var(--hvnly-space-xs);
    background: var(--hvnly-color-white);
    border-radius: var(--hvnly-border-radius-md);
    box-shadow: var(--hvnly-shadow-card);
    border: 1px solid var(--hvnly-border-color);
    padding: var(--hvnly-space-sm);
    min-width: 140px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--hvnly-transition-time);
}

/* Fix for bottom badge dropdowns to show above */
.hvnly-property-grid-list-bottom-badge-left .hvnly-badges-dropdown ,
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-badges-dropdown {
    bottom: 100%;
    top: auto;
    margin-top: 0;
    margin-bottom: var(--hvnly-space-xs);
    transform: translateY(10px);
}

.hvnly-property--grid-list--footer .hvnly-property-types-dropdown {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: var(--hvnly-space-xs);
    background: var(--hvnly-color-white);
    border-radius: var(--hvnly-border-radius-md);
    box-shadow: var(--hvnly-shadow-card);
    border: 1px solid var(--hvnly-border-color);
    padding: var(--hvnly-space-sm);
    min-width: 140px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--hvnly-transition-time);
}

.hvnly-property-grid-list-top-badge-left 
.hvnly-badge-dropdown-container:hover 
.hvnly-badges-dropdown,
.hvnly-property-grid-list-bottom-badge-left 
.hvnly-badge-dropdown-container:hover 
.hvnly-badges-dropdown,
.hvnly-property--grid-list--footer .hvnly-property-type-dropdown-container:hover .hvnly-property-types-dropdown ,
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-badge-dropdown-container:hover .hvnly-badges-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Fix hover transform for bottom badge dropdowns */
.hvnly-property-grid-list-bottom-badge-left 
.hvnly-badge-dropdown-container:hover 
.hvnly-badges-dropdown ,
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-badge-dropdown-container:hover .hvnly-badges-dropdown {
    transform: translateY(0);
}

.hvnly-property-grid-list-top-badge-left .hvnly-badges-dropdown .hvnly-property-thumbnail-badge,
.hvnly-property-grid-list-bottom-badge-left .hvnly-badges-dropdown .hvnly-property-thumbnail-badge,
.hvnly-property--grid-list--footer .hvnly-property-types-dropdown .hvnly-property-type-link ,
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-badges-dropdown .hvnly-property-thumbnail-badge {
    margin-bottom: var(--hvnly-space-xs);
    width: 100%;
    justify-content: flex-start;
}

.hvnly-property-grid-list-top-badge-left .hvnly-badges-dropdown .hvnly-property-thumbnail-badge:last-child,
.hvnly-property-grid-list-bottom-badge-left .hvnly-badges-dropdown .hvnly-property-thumbnail-badge:last-child,
.hvnly-property--grid-list--footer .hvnly-property-types-dropdown .hvnly-property-type-link:last-child ,
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-badges-dropdown .hvnly-property-thumbnail-badge:last-child {
    margin-bottom: 0;
}

.hvnly-property-grid-list-top-badge-left .hvnly-property-thumbnail-badge i,
.hvnly-property-grid-list-bottom-badge-left .hvnly-property-thumbnail-badge i,
.hvnly-property--grid-list--footer .hvnly-property-type-link i ,
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-property-thumbnail-badge i {
    font-size: 12px;
    flex-shrink: 0;
}

.hvnly-property-grid-list-top-badge-left .hvnly-badge-text,
.hvnly-property-grid-list-bottom-badge-left .hvnly-badge-text,
.hvnly-property--grid-list--footer .hvnly-property-type-text ,
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-badge-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Display all badges style */
.hvnly-property-grid-list-top-badge-left .hvnly-badges-display-all,
.hvnly-property-grid-list-bottom-badge-left .hvnly-badges-display-all,
.hvnly-property--grid-list--footer .hvnly-property-types-display-all ,
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-badges-display-all {
    flex-wrap: wrap;
}

/* Property Types Styles for footer */
.hvnly-property--grid-list--footer .hvnly-property-field-types .hvnly-property-type-label{font-size: var(--hvnly-font-size-xs); font-weight: var(--hvnly-font-weight-medium); color: var(--hvnly-text-secondary); margin-right: 6px;}

.hvnly-property--grid-list--footer .hvnly-property-field-types {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hvnly-space-xs);
    align-items: center;
    z-index: 20;
    position: relative;
}

.hvnly-property--grid-list--footer .hvnly-property-type-link {
    display: inline-flex;
    align-items: center;
    gap: var(--hvnly-space-xs);
    padding: 4px 8px;
    border-radius: var(--hvnly-border-radius-lg);
    font-size: var(--hvnly-font-size-xs);
    font-weight: var(--hvnly-font-weight-regular);
    line-height: var(--hvnly-font-size-md);
    color: var(--hvnly-color-white);
    background-color: var(--hvnly-brand-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--hvnly-transition-time);
    text-decoration: none;
}

.hvnly-property--grid-list--footer .hvnly-property-type-link:hover {
    color: var(--hvnly-color-white);
    text-decoration: none;
    background-color: var(--hvnly-brand-secondary);
}

.hvnly-property--grid-list--footer .hvnly-property-type-dropdown-container {
    position: relative;
    display: inline-block;
    z-index: 1001;
}

/* Responsive */
@media (max-width: 768px) {
    .hvnly-property-search-form {

        margin-bottom: 0;
    }

   .hvnly-property-display-shortcode .hvnly-property-archive-container .hvnly-property-view-count-field .hvnly-property-view-count, 
    .hvnly-property--grid--listings .hvnly-property-view-count-field .hvnly-property-view-count, 
    .hvnly-property-field-schedule-tour .hvnly-property-schedule-tour, 
    .hvnly-property-field-rating-star .hvnly-property-rating-star {
        font-size: 14px;
       
    }

    .hvnly-property-grid-list-top-badge-left .hvnly-property-thumbnail-badge {
        /* font-size: 10px;
        padding: 3px 6px; */
    }

    .hvnly-property-grid-list-top-badge-left .hvnly-badge-more-indicator,
    .hvnly-property--grid-list--footer .hvnly-property-type-more-indicator {
        /* width: 22px;
        height: 22px;
        font-size: 10px; */
    }

    .hvnly-property-grid-list-top-badge-left .hvnly-badges-dropdown {
        min-width: 120px;
    }

    .hvnly-property--grid-list--footer .hvnly-property-types-dropdown {
        min-width: 120px;
        right: 0;
        left: auto;
    }

    .hvnly-property-grid-list-top-badge-left .hvnly-badges-display-all .hvnly-property-thumbnail-badge,
    .hvnly-property--grid-list--footer .hvnly-property-types-display-all .hvnly-property-type-link {
        margin-bottom: 2px;
    }

    .hvnly-property--grid-list--footer .hvnly-property-type-link {
        /* font-size: 10px;
        padding: 3px 6px; */
    }
}

/* Property Status Styles with Dropdown */
.hvnly-property-grid-list-top-badge-left .hvnly-thumbnail-status--labels,
.hvnly-property-grid-list-bottom-badge-left .hvnly-thumbnail-status--labels
{
    display: flex;
    flex-wrap: wrap;
    gap: var(--hvnly-space-xs);
    align-items: center;
    z-index: 20;
    position: relative;
}

.hvnly-property-grid-list-top-badge-left .hvnly-thumbnail-status,
.hvnly-property-grid-list-bottom-badge-left .hvnly-thumbnail-status {
    display: inline-flex;
    align-items: center;
    gap: var(--hvnly-space-xs);
    padding: 4px 8px;
    border-radius: var(--hvnly-border-radius-lg);
    font-size: var(--hvnly-font-size-xs);
    font-weight: var(--hvnly-font-weight-regular);
  line-height: var(--hvnly-font-size-md);
    color: var(--hvnly-color-white);
    background-color: var(--hvnly-brand-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--hvnly-transition-time);
}

.hvnly-property-grid-list-top-badge-left .hvnly-status-dropdown-container , 
.hvnly-property-grid-list-bottom-badge-left .hvnly-status-dropdown-container {
    position: relative;
    display: inline-block;
}

.hvnly-property-grid-list-top-badge-left .hvnly-status-more-indicator, 
.hvnly-property-grid-list-bottom-badge-left .hvnly-status-more-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--hvnly-brand-primary);
    color: var(--hvnly-color-white);
    font-size: var(--hvnly-font-size-xs);
    font-weight: var(--hvnly-font-weight-regular);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--hvnly-transition-time);
}

.hvnly-property-grid-list-top-badge-left .hvnly-status-more-indicator:hover , 
.hvnly-property-grid-list-bottom-badge-left .hvnly-status-more-indicator:hover {
    background-color: var(--hvnly-brand-secondary);
    transform: scale(1.05);
}

.hvnly-property-grid-list-top-badge-left .hvnly-status-dropdown, 
.hvnly-property-grid-list-bottom-badge-left .hvnly-status-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: var(--hvnly-space-xs);
    background: var(--hvnly-color-white);
    border-radius: var(--hvnly-border-radius-md);
    box-shadow: var(--hvnly-shadow-card);
    border: 1px solid var(--hvnly-border-color);
    padding: var(--hvnly-space-sm);
    min-width: 140px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--hvnly-transition-time);
}

/* Property Posted Styles css */
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-property-field-time .hvnly-property-date-posted{    text-decoration: none;
    font-size: 14px;
    color: var(--hvnly-text-secondary);}
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-property-field-time .hvnly-property-date-posted i {
    font-size: 14px;
    color: var(--hvnly-status-off);
}

/* ============================================
   FOOTER SPECIFIC STATUS DROPDOWN STYLES
   (Bottom to top animation on hover)
   ============================================ */

/* Add footer to the status labels selector */
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-thumbnail-status--labels {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hvnly-space-xs);
    align-items: center;
    z-index: 20;
    position: relative;
}

/* Footer status badge styling */
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-thumbnail-status {
    display: inline-flex;
    align-items: center;
    gap: var(--hvnly-space-xs);
    padding: 4px 8px;
    border-radius: var(--hvnly-border-radius-lg);
    font-size: var(--hvnly-font-size-xs);
    font-weight: var(--hvnly-font-weight-regular);
    line-height: var(--hvnly-font-size-md);
    color: var(--hvnly-color-white);
    background-color: var(--hvnly-brand-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--hvnly-transition-time);
}

/* Footer status dropdown container */
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-status-dropdown-container {
    position: relative;
    display: inline-block;
}

/* Footer status more indicator */
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-status-more-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--hvnly-brand-primary);
    color: var(--hvnly-color-white);
    font-size: var(--hvnly-font-size-xs);
    font-weight: var(--hvnly-font-weight-regular);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--hvnly-transition-time);
}

/* Footer status more indicator hover */
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-status-more-indicator:hover {
    background-color: var(--hvnly-brand-secondary);
    transform: scale(1.05);
}

/* Footer status dropdown - positioned bottom to top */
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-status-dropdown {
    position: absolute;
    bottom: 100%; /* Changed from top: 100% to bottom: 100% */
    top: auto; /* Reset top positioning */
    left: 0;
    margin-top: 0;
    margin-bottom: var(--hvnly-space-xs); /* Changed from margin-top to margin-bottom */
    background: var(--hvnly-color-white);
    border-radius: var(--hvnly-border-radius-md);
    box-shadow: var(--hvnly-shadow-card);
    border: 1px solid var(--hvnly-border-color);
    padding: var(--hvnly-space-sm);
    min-width: 140px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); /* Changed from -10px to 10px for bottom animation */
    transition: all var(--hvnly-transition-time);
}

/* Show footer dropdown on hover (bottom to top animation) */
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-status-dropdown-container:hover .hvnly-status-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Animate from bottom to top */
}

/* Footer dropdown status items */
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-status-dropdown .hvnly-thumbnail-status {
    margin-bottom: var(--hvnly-space-xs);
    width: 100%;
    justify-content: flex-start;
}

/* Remove margin from last status item in footer dropdown */
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-status-dropdown .hvnly-thumbnail-status:last-child {
    margin-bottom: 0;
}

/* Footer status icon sizing */
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-thumbnail-status i {
    font-size: 12px;
    flex-shrink: 0;
}

/* Footer status text truncation */
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-status-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer display all statuses */
.hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-status-display-all {
    flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE STYLES FOR FOOTER STATUS
   ============================================ */

@media (max-width: 768px) {
    /* Mobile footer status styling */
    .hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-thumbnail-status {
        /* font-size: 10px;
        padding: 3px 6px; */
    }
    
    /* Mobile footer more indicator */
    .hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-status-more-indicator {
        /* width: 22px;
        height: 22px;
        font-size: 10px; */
    }
    
    /* Mobile footer dropdown positioning */
    .hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-status-dropdown {
        min-width: 120px;
        right: 0;
        left: auto;
    }
    
    /* Mobile footer display all spacing */
    .hvnly-property-field-footer .hvnly-property--grid-list--footer .hvnly-status-display-all .hvnly-thumbnail-status {
        margin-bottom: 2px;
    }
}


/* Fix for bottom status dropdowns to show above */
.hvnly-property-grid-list-bottom-badge-left .hvnly-status-dropdown {
    bottom: 100%;
    top: auto;
    margin-top: 0;
    margin-bottom: var(--hvnly-space-xs);
    transform: translateY(10px);
}

.hvnly-property-grid-list-top-badge-left .hvnly-status-dropdown-container:hover .hvnly-status-dropdown ,
.hvnly-property-grid-list-bottom-badge-left .hvnly-status-dropdown-container:hover .hvnly-status-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Fix hover transform for bottom status dropdowns */
.hvnly-property-grid-list-bottom-badge-left .hvnly-status-dropdown-container:hover .hvnly-status-dropdown {
    transform: translateY(0);
}

.hvnly-property-grid-list-top-badge-left .hvnly-status-dropdown .hvnly-thumbnail-status , 
.hvnly-property-grid-list-bottom-badge-left .hvnly-status-dropdown .hvnly-thumbnail-status {
    margin-bottom: var(--hvnly-space-xs);
    width: 100%;
    justify-content: flex-start;
}

.hvnly-property-grid-list-top-badge-left .hvnly-status-dropdown .hvnly-thumbnail-status:last-child ,
.hvnly-property-grid-list-bottom-badge-left .hvnly-status-dropdown .hvnly-thumbnail-status:last-child {
    margin-bottom: 0;
}

.hvnly-property-grid-list-top-badge-left .hvnly-thumbnail-status i ,
.hvnly-property-grid-list-bottom-badge-left .hvnly-thumbnail-status i {
    font-size: 12px;
    flex-shrink: 0;
}

.hvnly-property-grid-list-top-badge-left .hvnly-status-text , 
.hvnly-property-grid-list-bottom-badge-left .hvnly-status-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Display all statuses style */
.hvnly-property-grid-list-top-badge-left .hvnly-status-display-all, 
.hvnly-property-grid-list-bottom-badge-left .hvnly-status-display-all {
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .hvnly-property-grid-list-top-badge-left .hvnly-thumbnail-status , 
    .hvnly-property-grid-list-bottom-badge-left .hvnly-thumbnail-status {
        /* font-size: 10px;
        padding: 3px 6px; */
    }

    .hvnly-property-grid-list-top-badge-left .hvnly-status-more-indicator , 
    .hvnly-property-grid-list-bottom-badge-left .hvnly-status-more-indicator {
        /* width: 22px;
        height: 22px;
        font-size: 10px; */
    }

    .hvnly-property-grid-list-top-badge-left .hvnly-status-dropdown,
    .hvnly-property-grid-list-bottom-badge-left .hvnly-status-dropdown {
        min-width: 120px;
    }

    .hvnly-property-grid-list-top-badge-left .hvnly-status-display-all .hvnly-thumbnail-status ,
    .hvnly-property-grid-list-bottom-badge-left .hvnly-status-display-all .hvnly-thumbnail-status {
        margin-bottom: 2px;
    }
    
    /* Ensure bottom dropdowns still show above on mobile */
    .hvnly-property-grid-list-bottom-badge-left .hvnly-badges-dropdown,
    .hvnly-property-grid-list-bottom-badge-left .hvnly-status-dropdown {
        bottom: 100%;
        top: auto;
    }
}

/* Fix for bottom dropdowns overflow and z-index */
.hvnly-property-grid-list-bottom-badge-left .hvnly-badge-dropdown-container,
.hvnly-property-grid-list-bottom-badge-left .hvnly-status-dropdown-container {
    overflow: visible;
}

.hvnly-property-grid-list-bottom-badge-left .hvnly-badges-dropdown,
.hvnly-property-grid-list-bottom-badge-left .hvnly-status-dropdown {
    z-index: 1000;
}


/* ========== PROPERTY CONTENT FEATURES  ========== */
.hvnly-property-display-shortcode .hvnly-property-archive-container
.hvnly-property--grid-list--single__content
.hvnly-property-field-content 
.hvnly-property--grid-list--content 
.hvnly-property-contact-info-mode-preset ,
.hvnly-property--grid--listings 
.hvnly-property-grid-view 
.hvnly-property--grid-list--single__content
.hvnly-property-field-content 
.hvnly-property--grid-list--content 
.hvnly-property-contact-info-mode-preset 
{
display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--hvnly-text-secondary);
    font-size: 14px;
}
.hvnly-property-display-shortcode .hvnly-property-archive-container
.hvnly-property--grid-list--single__content
.hvnly-property-field-content 
.hvnly-property--grid-list--content 
.hvnly-property-contact-info-mode-preset 
.hvnly-property-content-feature-icon,
.hvnly-property--grid--listings 
.hvnly-property-grid-view 
.hvnly-property--grid-list--single__content
.hvnly-property-field-content 
.hvnly-property--grid-list--content 
.hvnly-property-contact-info-mode-preset 
.hvnly-property-content-feature-icon
{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(108, 96, 254, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;

}
.hvnly-property-display-shortcode .hvnly-property-archive-container
.hvnly-property--grid-list--single__content
.hvnly-property-field-content 
.hvnly-property--grid-list--content 
.hvnly-property-contact-info-mode-preset i,

.hvnly-property--grid--listings 
.hvnly-property-grid-view 
.hvnly-property--grid-list--single__content
.hvnly-property-field-content 
.hvnly-property--grid-list--content 
.hvnly-property-contact-info-mode-preset 
i{
        font-size: 14px;
    color: var(--hvnly-status-off);
}

.hvnly-property-display-shortcode .hvnly-property-archive-container

.hvnly-property--grid-list--single__content
.hvnly-property-field-content 
.hvnly-property--grid-list--content 
.hvnly-property-contact-info-mode-preset a,

.hvnly-property--grid--listings 
.hvnly-property-grid-view 
.hvnly-property--grid-list--single__content
.hvnly-property-field-content 
.hvnly-property--grid-list--content 
.hvnly-property-contact-info-mode-preset a
{
    text-decoration: none;
    font-size: 14px;    color: var(--hvnly-text-secondary);
}