/* Treasure Search Results Modernization Next 0.3.33 — route-scoped candidate styles. */

body.tvr-search-modernization-next {
    --tvr-next-host-top-offset: 0px;
    --tvr-next-header-height: 88px;
    --tvr-next-toolbar-height: 64px;
    --tvr-next-workspace-max: 3000px;
    --tvr-next-workspace-gutter: clamp(16px, 3vw, 64px);
    --tvr-next-workspace-width: min(var(--tvr-next-workspace-max), calc(100% - var(--tvr-next-workspace-gutter) - var(--tvr-next-workspace-gutter)));
    --tvr-next-search-cluster-width: 25rem;
    --tvr-next-navy: #07263b;
    --tvr-next-cream: #fbf5ed;
    --tvr-next-warm-gray: #a8adb1;
    --tvr-next-coral: #ef4545;
    --tvr-next-ink: #17384b;
    --tvr-next-muted: #607786;
    --tvr-next-line: #d7e1e5;
    --tvr-next-surface: #ffffff;
    --tvr-next-wash: #f5f8f8;
}

body.tvr-search-modernization-next.tvr-map-overlay-open {
    overflow: hidden;
}

body.tvr-search-modernization-next.tvr-filter-dialog-open {
    overflow: hidden;
}

body.tvr-search-modernization-next .abe-results-page {
    box-sizing: border-box;
    max-width: 100%;
}

body.tvr-search-modernization-next .abe-results-page .tvr-results-summary {
    box-sizing: border-box;
    width: var(--tvr-next-workspace-width);
    max-width: 100%;
    margin: 1rem auto 0.75rem;
    margin-inline: auto;
    padding-inline: clamp(1rem, 2.5vw, 2rem);
}

body.tvr-search-modernization-next .abe-results-page .tvr-results-summary h2 {
    margin: 0;
    color: var(--tvr-next-navy);
    font-size: clamp(1.05rem, 1.2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.2;
}

body.tvr-search-modernization-next .abe-results-page #abe-filters-activator,
body.tvr-search-modernization-next .abe-results-page .abe-filter-close,
body.tvr-search-modernization-next .abe-results-page .tvr-map-close {
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    touch-action: manipulation;
}

body.tvr-search-modernization-next .abe-results-page #abe-filters-activator:focus-visible,
body.tvr-search-modernization-next .abe-results-page .abe-filter-close:focus-visible,
body.tvr-search-modernization-next .abe-results-page .tvr-map-close:focus-visible,
body.tvr-search-modernization-next .abe-results-page .unit-button .button:focus-visible,
body.tvr-search-modernization-next .abe-results-page .tvr-search-amenity--has-tooltip:focus-visible {
    outline: 3px solid #ef5558;
    outline-offset: 3px;
}

body.tvr-search-modernization-next .abe-results-page.tvr-filters-open .abe-filters-wrapper {
    --tvr-next-filter-sheet-width: min(760px, calc(100vw - 2rem));
    --tvr-next-filter-sheet-padding: clamp(1rem, 3vw, 2rem);
    --tvr-next-filter-sheet-bottom: max(1rem, env(safe-area-inset-bottom));
    box-sizing: border-box;
    position: fixed;
    display: flex !important;
    flex-direction: column;
    inset: calc(var(--tvr-next-host-top-offset) + 1rem) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    z-index: 100000;
    width: var(--tvr-next-filter-sheet-width);
    max-width: none;
    height: auto;
    max-height: calc(100dvh - var(--tvr-next-host-top-offset) - 2rem);
    margin: 0 auto;
    padding: 1rem var(--tvr-next-filter-sheet-padding) calc(88px + env(safe-area-inset-bottom));
    overflow-x: clip;
    overflow-y: auto;
    border: 1px solid rgba(7, 38, 59, 0.16);
    border-radius: 16px;
    background: var(--tvr-next-surface);
    box-shadow: 0 24px 70px rgba(7, 38, 59, 0.28);
    color: var(--tvr-next-navy);
    scrollbar-gutter: stable;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .filter-header-wrapper {
    position: sticky;
    top: -1rem;
    z-index: 3;
    margin: -1rem 0 1rem;
    padding: 1rem 0 0.75rem;
    border-bottom: 1px solid var(--tvr-next-line);
    background: var(--tvr-next-surface);
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .filter-header-wrapper > .abe-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .filter-header-wrapper > .abe-row > .abe-column {
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .filter-heading-label h3 {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    line-height: 1.2;
}

body.tvr-search-modernization-next .abe-results-page .abe-filter-close {
    display: inline-flex;
    float: none;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 auto;
    gap: 0.4rem;
    min-width: 84px;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--tvr-next-line);
    border-radius: 999px;
    background: var(--tvr-next-surface);
    color: var(--tvr-next-navy);
    font-weight: 800;
    line-height: 1;
}

body.tvr-search-modernization-next .abe-results-page .abe-filter-close[data-tvr-visible-label]::before {
    content: attr(data-tvr-visible-label);
}

body.tvr-search-modernization-next .abe-results-page .abe-filter-close .fa-times::before {
    content: "\00d7";
    font: 700 1.25rem/1 system-ui, sans-serif;
}

body.tvr-search-modernization-next .abe-results-page .abe-filter-close:hover {
    border-color: var(--tvr-next-navy);
    background: var(--tvr-next-wash);
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper label,
body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper h3 {
    color: var(--tvr-next-navy);
    font-weight: 700;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper input,
body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper select,
body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper button,
body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .button {
    box-sizing: border-box;
    min-height: 44px;
    border-radius: 8px;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper > .abe-row,
body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper > div:not(.filter-header-wrapper):not(.tvr-filter-apply-row),
body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper > label {
    margin-inline: 0.25rem;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .clear-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

body.tvr-search-modernization-next .abe-results-page #abe-results-search .date-search-container .date-field {
    display: grid;
    min-width: 0;
    gap: 0.2rem;
}

body.tvr-search-modernization-next .abe-results-page #abe-results-search .date-field > [data-tvr-date-label] {
    display: block;
    margin: 0;
    color: var(--tvr-next-navy);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

body.tvr-search-modernization-next .abe-results-page #abe-results-search .date-field input[name="search-arrival"],
body.tvr-search-modernization-next .abe-results-page #abe-results-search .date-field input[name="search-departure"] {
    color: var(--tvr-next-navy) !important;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .tvr-price-range-suppressed {
    display: none !important;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .tvr-location-filter {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0.25rem;
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter h3,
body.tvr-search-modernization-next .abe-results-page .tvr-location-filter legend,
body.tvr-search-modernization-next .abe-results-page .tvr-location-filter label {
    color: var(--tvr-next-navy);
    font-weight: 700;
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter h3 {
    margin: 0;
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter fieldset {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 0.5rem 0.75rem;
    margin: 0;
    padding: 0;
    border: 0;
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter fieldset label {
    display: flex;
    align-items: center;
    min-height: 44px;
    gap: 0.55rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--tvr-next-line);
    border-radius: 8px;
    background: var(--tvr-next-wash);
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter .tvr-town-field {
    display: grid;
    gap: 0.35rem;
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter .tvr-town-native-select {
    display: none !important;
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter .tvr-town-picker {
    display: grid;
    gap: 0.35rem;
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter .tvr-town-picker-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 0.6rem 0.75rem;
    border: 2px solid var(--tvr-next-navy);
    border-radius: 8px;
    background: var(--tvr-next-surface) !important;
    color: var(--tvr-next-navy);
    font-weight: 700;
    text-align: left;
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter .tvr-town-picker-trigger[aria-invalid="true"] {
    border-color: var(--tvr-next-coral) !important;
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter .tvr-town-picker-trigger::after {
    content: "\25be";
    margin-left: 0.75rem;
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter .tvr-town-picker-trigger[aria-expanded="true"]::after {
    content: "\25b4";
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter .tvr-town-picker-menu[hidden] {
    display: none !important;
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter .tvr-town-picker-menu {
    display: grid;
    max-height: 15rem;
    gap: 0.25rem;
    padding: 0.35rem;
    overflow-y: auto;
    border: 1px solid var(--tvr-next-line);
    border-radius: 8px;
    background: var(--tvr-next-surface);
    box-shadow: 0 8px 24px rgba(7, 38, 59, 0.14);
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter .tvr-town-picker-menu [role="option"] {
    min-height: 44px;
    padding: 0.55rem 0.7rem;
    border: 1px solid transparent;
    border-radius: 6px;
    background: var(--tvr-next-surface);
    color: var(--tvr-next-navy);
    font-weight: 700;
    text-align: left;
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter .tvr-town-picker-menu [role="option"]:hover,
body.tvr-search-modernization-next .abe-results-page .tvr-location-filter .tvr-town-picker-menu [role="option"][aria-selected="true"] {
    border-color: var(--tvr-next-coral);
    background: var(--tvr-next-wash);
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter .tvr-town-picker-trigger:focus-visible,
body.tvr-search-modernization-next .abe-results-page .tvr-location-filter .tvr-town-picker-menu [role="option"]:focus-visible {
    outline: 3px solid #ef5558;
    outline-offset: 2px;
}

body.tvr-search-modernization-next .abe-results-page .tvr-location-filter .abe-column {
    width: 100% !important;
    max-width: none !important;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .clear-buttons .note {
    flex: 0 1 auto;
    width: 100%;
    color: var(--tvr-next-muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

@media (min-width: 601px) {
    body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .clear-buttons .note {
        flex: 1 1 260px;
        width: auto;
    }
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .filter-ac-holder {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-block: 1rem;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .first-filter-ac-wrapper,
body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .second-filter-ac-wrapper {
    display: contents;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .filter-ac-holder .abe-column,
body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .filter-ac-holder select {
    width: 100% !important;
    max-width: none !important;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .filter-ac-holder select {
    height: 52px !important;
    min-height: 52px !important;
    padding-inline: 0.85rem 2.25rem;
    border: 2px solid #b9c9d1 !important;
    background-color: var(--tvr-next-wash) !important;
    color: var(--tvr-next-navy);
    font-weight: 700;
    appearance: auto !important;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper input:focus-visible,
body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper select:focus-visible,
body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper button:focus-visible,
body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .button:focus-visible {
    outline: 3px solid #ef5558;
    outline-offset: 2px;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .type-checkboxes,
body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .attr-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem 1rem;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .amenities-popup-trigger {
    width: 100% !important;
    min-height: 52px;
    padding-inline: 1rem;
    border: 1px solid var(--tvr-next-line) !important;
    background: var(--tvr-next-surface) !important;
    color: var(--tvr-next-navy) !important;
    text-align: left;
    font-weight: 800;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .amenities-popup-panel:not([hidden]) {
    position: relative !important;
    inset: auto !important;
    z-index: 1;
    display: block;
    width: 100% !important;
    max-width: none !important;
    max-height: 300px;
    margin-top: 0.5rem;
    padding: 0.75rem;
    overflow-y: auto;
    border: 1px solid var(--tvr-next-line);
    border-radius: 10px;
    background: var(--tvr-next-surface);
    box-shadow: none;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .amenities-popup-search input {
    width: 100%;
    min-height: 48px;
    padding-inline: 0.85rem;
    border: 1px solid var(--tvr-next-line);
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .amenities-popup-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.65rem;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .amenities-popup-option,
body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .type-checkboxes .abe-column {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--tvr-next-line);
    border-radius: 9px;
    background: var(--tvr-next-wash);
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-height: 20px;
    margin-right: 0.55rem;
    accent-color: #e54b4f;
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .tvr-filter-apply-row {
    position: fixed;
    bottom: var(--tvr-next-filter-sheet-bottom);
    left: 50%;
    width: calc(var(--tvr-next-filter-sheet-width) - var(--tvr-next-filter-sheet-padding) - var(--tvr-next-filter-sheet-padding));
    transform: translateX(-50%);
    z-index: 4;
    margin: 0;
    padding: 0.9rem 0.25rem calc(1rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--tvr-next-line);
    background: var(--tvr-next-surface);
    box-shadow: 0 -8px 18px rgba(7, 38, 59, 0.08);
}

body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper #apply-filters {
    width: 100%;
    height: 56px !important;
    min-height: 56px !important;
    border: 2px solid var(--tvr-next-navy);
    background: var(--tvr-next-navy);
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.025em;
}

body.tvr-search-modernization-next .abe-results-page .tvr-share-search-control {
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0.5rem;
}

body.tvr-search-modernization-next .abe-results-page .tvr-share-search-button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0.55rem 0.8rem;
    border: 2px solid var(--tvr-next-navy);
    border-radius: 8px;
    background: var(--tvr-next-surface);
    color: var(--tvr-next-navy);
    font: inherit;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    cursor: pointer;
}

body.tvr-search-modernization-next .abe-results-page .tvr-share-search-button:hover {
    border-color: var(--tvr-next-coral);
}

body.tvr-search-modernization-next .abe-results-page .tvr-share-search-button:focus-visible {
    outline: 3px solid var(--tvr-next-coral);
    outline-offset: 2px;
    box-shadow: 0 0 0 1px var(--tvr-next-navy);
}

body.tvr-search-modernization-next .abe-results-page .tvr-share-search-status {
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 0;
    z-index: 6;
    min-width: 0;
    max-width: min(18rem, 80vw);
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    background: var(--tvr-next-navy);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

body.tvr-search-modernization-next .abe-results-page .tvr-share-search-status:empty {
    display: none;
}

@media (max-width: 600px) {
    body.tvr-search-modernization-next .abe-results-page.tvr-filters-open .abe-filters-wrapper {
        --tvr-next-filter-sheet-width: calc(100vw - 1rem);
        --tvr-next-filter-sheet-bottom: max(0.5rem, env(safe-area-inset-bottom));
        inset: calc(var(--tvr-next-host-top-offset) + 0.5rem) max(0.5rem, env(safe-area-inset-right)) max(0.5rem, env(safe-area-inset-bottom)) max(0.5rem, env(safe-area-inset-left));
        width: var(--tvr-next-filter-sheet-width);
        max-height: calc(100dvh - var(--tvr-next-host-top-offset) - 1rem);
        border-radius: 12px;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .filter-ac-holder,
    body.tvr-search-modernization-next .abe-results-page .abe-filters-wrapper .amenities-popup-options {
        grid-template-columns: 1fr;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-filter-close {
        min-width: 78px;
    }
}

@media (max-width: 767.98px) {
    body.tvr-search-modernization-next .abe-results-page #abe-results-search .date-search-container {
        display: flex !important;
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.35rem;
    }

    body.tvr-search-modernization-next .abe-results-page #abe-results-search .date-search-container .date-field {
        box-sizing: border-box;
        display: grid !important;
        grid-template-rows: auto auto;
        align-content: center;
        min-width: 0;
        min-height: 52px;
        gap: 0.1rem;
        padding: 0.3rem 0.35rem;
        border: 1px solid rgba(255, 255, 255, 0.65);
        border-radius: 7px;
        background: var(--tvr-next-surface);
        color: var(--tvr-next-navy);
    }

    body.tvr-search-modernization-next .abe-results-page #abe-results-search .date-field > [data-tvr-date-label] {
        display: block !important;
        color: var(--tvr-next-navy);
        font-size: 0.6rem;
        line-height: 1;
    }

    body.tvr-search-modernization-next .abe-results-page #abe-results-search .date-field input[name="search-arrival"],
    body.tvr-search-modernization-next .abe-results-page #abe-results-search .date-field input[name="search-departure"] {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        height: auto !important;
        min-height: 1rem !important;
        margin: 0;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0;
        background: transparent !important;
        color: var(--tvr-next-navy) !important;
        font-size: 0.68rem !important;
        font-weight: 700;
        line-height: 1.05;
        white-space: nowrap;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-map-overlay:not(.tvr-map-open) #map-container {
        position: fixed !important;
        z-index: 99998 !important;
        inset: calc(var(--tvr-next-host-top-offset) + 0.5rem) 0.5rem 0.5rem !important;
        display: block !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-map-overlay.tvr-map-open #map-container {
        position: fixed !important;
        z-index: 99998 !important;
        inset: calc(var(--tvr-next-host-top-offset) + 0.5rem) 0.5rem 0.5rem !important;
        display: block !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        background: var(--tvr-next-surface);
        border: 2px solid var(--tvr-next-navy);
        border-radius: 12px;
        overflow: hidden;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-map-overlay.tvr-map-open .tvr-map-close {
        position: fixed;
        z-index: 99999;
        top: calc(var(--tvr-next-host-top-offset) + 1rem);
        right: 1rem;
        display: inline-flex;
    }

    /* Keep the host-owned mobile controls in their original tree. The native
       switch row holds Favorites and Map; make both visible beside Sort. */
    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper .results-add-filters-wrapper {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper .results-add-filters-wrapper > .abe-column:last-child {
        width: 100px !important;
        min-width: 100px !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper .results-add-filters-wrapper > .abe-column:first-child,
    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper .abe-sort,
    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper .vrps-sorter-wrapper,
    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper .vrps-sorter-wrapper > .abe-column {
        min-width: 0 !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper .flex-switch {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper .flex-switch > .abe-column {
        display: block !important;
        width: 48px !important;
        min-width: 48px !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper .abe-map-activator {
        display: flex !important;
        width: 48px !important;
        min-width: 48px !important;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper .abe-map-activator .heading {
        display: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper .abe-map-activator .switch {
        width: 48px !important;
        min-width: 48px !important;
        height: 28px;
        margin: 0;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-mobile-actions-ready .tvr-mobile-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        gap: 0.5rem;
        margin: 0.75rem 1rem;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-mobile-actions-ready .tvr-mobile-actions > * {
        box-sizing: border-box;
        display: flex;
        min-width: 0;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-mobile-actions-ready .tvr-mobile-actions > .abe-row {
        display: block;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-mobile-actions-ready .tvr-mobile-actions .abe-sort,
    body.tvr-search-modernization-next .abe-results-page.tvr-mobile-actions-ready .tvr-mobile-actions .vrps-sorter-wrapper,
    body.tvr-search-modernization-next .abe-results-page.tvr-mobile-actions-ready .tvr-mobile-actions .vrps-sorter-wrapper > .abe-column {
        display: block;
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-mobile-actions-ready .tvr-mobile-actions .num-results-container,
    body.tvr-search-modernization-next .abe-results-page.tvr-mobile-actions-ready .tvr-mobile-actions .result-count,
    body.tvr-search-modernization-next .abe-results-page.tvr-mobile-actions-ready .tvr-mobile-actions #num-results {
        display: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-mobile-actions-ready .tvr-mobile-actions .abe-map-activator,
    body.tvr-search-modernization-next .abe-results-page.tvr-mobile-actions-ready .tvr-mobile-actions .favorites-link,
    body.tvr-search-modernization-next .abe-results-page.tvr-mobile-actions-ready .tvr-mobile-actions .vrpsorter,
    body.tvr-search-modernization-next .abe-results-page.tvr-mobile-actions-ready .tvr-mobile-actions #vrp-sorter {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        min-width: 0;
        min-height: 44px;
        margin: 0 !important;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-mobile-actions-ready .tvr-mobile-actions .abe-map-activator {
        gap: 0.4rem;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .unit-image {
        box-sizing: border-box;
        position: relative;
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
        min-height: 0;
        padding: 0 !important;
        aspect-ratio: 3 / 2;
        overflow: clip;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .abe-image-container,
    body.tvr-search-modernization-next .abe-results-page .abe-item .abe-image,
    body.tvr-search-modernization-next .abe-results-page .abe-item .lSSlideOuter,
    body.tvr-search-modernization-next .abe-results-page .abe-item .lSSlideWrapper {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .thumb-slider,
    body.tvr-search-modernization-next .abe-results-page .abe-item .thumb-slider > li,
    body.tvr-search-modernization-next .abe-results-page .abe-item .thumb-slider > li > a {
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .thumb-slider > li > a > img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: cover;
        object-position: center;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-jumbo {
        position: static !important;
        top: auto !important;
    }
}

body.tvr-search-modernization-next .abe-results-page .tvr-map-close {
    position: absolute;
    top: max(0.75rem, env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
    z-index: 8;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(7, 38, 59, 0.2);
    border-radius: 999px;
    background: var(--tvr-next-surface);
    color: var(--tvr-next-navy);
    box-shadow: 0 4px 18px rgba(7, 38, 59, 0.2);
    font: inherit;
    font-weight: 700;
}

body.tvr-search-modernization-next .abe-results-page .tvr-map-close:hover {
    border-color: var(--tvr-next-navy);
    background: var(--tvr-next-navy);
    color: #fff;
}

body.tvr-search-modernization-next .abe-results-page .tvr-map-zoom-controls {
    position: absolute;
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: calc(7.25rem + env(safe-area-inset-bottom));
    z-index: 8;
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(7, 38, 59, 0.2);
    border-radius: 10px;
    background: var(--tvr-next-surface);
    box-shadow: 0 4px 18px rgba(7, 38, 59, 0.2);
}

body.tvr-search-modernization-next .abe-results-page .tvr-map-zoom-button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--tvr-next-surface);
    color: var(--tvr-next-navy);
    cursor: pointer;
    font: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    touch-action: manipulation;
}

body.tvr-search-modernization-next .abe-results-page .tvr-map-zoom-button + .tvr-map-zoom-button {
    border-top: 1px solid rgba(7, 38, 59, 0.16);
}

body.tvr-search-modernization-next .abe-results-page .tvr-map-zoom-button:hover {
    background: var(--tvr-next-navy);
    color: #fff;
}

body.tvr-search-modernization-next .abe-results-page .tvr-map-zoom-button:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid var(--tvr-next-coral);
    outline-offset: -3px;
}

body.tvr-search-modernization-next .abe-results-page .tvr-map-zoom-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

body.tvr-search-modernization-next .abe-results-page .tvr-map-usage-hint {
    position: absolute;
    left: 50%;
    bottom: calc(0.875rem + env(safe-area-inset-bottom));
    z-index: 8;
    width: max-content;
    max-width: calc(100% - 8.5rem);
    margin: 0;
    padding: 0.4rem 0.65rem;
    transform: translateX(-50%);
    border: 1px solid rgba(7, 38, 59, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 3px 12px rgba(7, 38, 59, 0.16);
    color: var(--tvr-next-navy);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    pointer-events: none;
}

@media (min-width: 768px) and (max-width: 1279.98px) {
    body.tvr-search-modernization-next .abe-results-page.tvr-map-overlay:not(.tvr-map-open) #map-container {
        box-sizing: border-box;
        position: fixed !important;
        inset: calc(var(--tvr-next-host-top-offset) + max(0.75rem, env(safe-area-inset-top))) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
        z-index: -1;
        display: block !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-results,
    body.tvr-search-modernization-next .abe-results-page .unit-list {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-map-overlay.tvr-map-open #map-container {
        box-sizing: border-box;
        position: fixed !important;
        inset: calc(var(--tvr-next-host-top-offset) + max(0.75rem, env(safe-area-inset-top))) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
        z-index: 1300;
        display: block !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0;
        border: 1px solid rgba(7, 38, 59, 0.18);
        border-radius: 16px;
        background: var(--tvr-next-surface);
        box-shadow: 0 24px 70px rgba(7, 38, 59, 0.3);
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-map-overlay #abe-map-results {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 0;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-map-overlay.tvr-map-open .tvr-map-close {
        display: inline-flex;
    }
}

@media (min-width: 768px) {
    body.tvr-search-modernization-next .article-header > .results-hero-image,
    body.tvr-search-modernization-next .hero-holder,
    body.tvr-search-modernization-next .hero-holder + .e-con {
        display: none !important;
    }

    body.tvr-search-modernization-next .header-holder,
    body.tvr-search-modernization-next .header-holder.elementor-sticky__spacer {
        box-sizing: border-box;
        min-height: var(--tvr-next-header-height) !important;
        height: var(--tvr-next-header-height) !important;
        padding-block: 0 !important;
    }

    body.tvr-search-modernization-next .header-holder.elementor-sticky--active {
        top: var(--tvr-next-host-top-offset) !important;
    }

    body.tvr-search-modernization-next .header-holder .header-logo-holder,
    body.tvr-search-modernization-next .header-holder .menu-holder {
        min-height: var(--tvr-next-header-height) !important;
        height: var(--tvr-next-header-height) !important;
        align-items: center !important;
    }

    body.tvr-search-modernization-next .header-holder .header-logo-holder img {
        display: block;
        width: auto !important;
        max-width: min(250px, 28vw) !important;
        max-height: 64px !important;
        object-fit: contain;
    }

    body.tvr-search-modernization-next .header-holder .header-additional-info-holder {
        display: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page {
        padding-top: 0 !important;
        background: var(--tvr-next-wash);
    }

    body.tvr-search-modernization-next .abe-results-page .abe-jumbo {
        box-sizing: border-box;
        margin: 0 !important;
        width: 100% !important;
        max-width: none !important;
        padding-block: 0.6rem !important;
        padding-inline: 0 !important;
        border-radius: 0 !important;
        background: var(--tvr-next-navy);
        box-shadow: 0 7px 20px rgba(7, 38, 59, 0.14);
    }

    body.tvr-search-modernization-next .abe-results-page #abe-results-search {
        width: var(--tvr-next-workspace-width);
        max-width: none;
        margin-inline: auto;
    }

    body.tvr-search-modernization-next .abe-results-page #abe-results-search input,
    body.tvr-search-modernization-next .abe-results-page #abe-results-search select,
    body.tvr-search-modernization-next .abe-results-page #abe-results-search button,
    body.tvr-search-modernization-next .abe-results-page #abe-results-search .button {
        box-sizing: border-box;
        min-height: 44px;
        border-radius: 8px;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper {
        box-sizing: border-box;
        margin: 0 0 1rem !important;
        width: 100% !important;
        max-width: none !important;
        padding-inline: max(var(--tvr-next-workspace-gutter), calc(50% - 1500px)) !important;
        padding-block: 0.55rem !important;
        border-bottom: 1px solid var(--tvr-next-line);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 5px 14px rgba(7, 38, 59, 0.08);
        backdrop-filter: blur(10px);
    }

    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper select,
    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper a,
    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper .abe-map-activator {
        min-height: 44px;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-map-activator {
        display: flex !important;
        align-items: center;
    }

    body.tvr-search-modernization-next .abe-results-page .flex-switch > .abe-column:last-child {
        display: block !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-results {
        box-sizing: border-box;
        display: block;
        width: var(--tvr-next-workspace-width) !important;
        max-width: 100% !important;
        margin-inline: auto;
        padding: 0 clamp(1rem, 2.5vw, 2rem) 2rem;
    }

    body.tvr-search-modernization-next .abe-results-page .unit-list {
        box-sizing: border-box;
        display: grid;
        flex: 0 0 100% !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        width: 100% !important;
        max-width: 100% !important;
        gap: 1rem;
    }

    body.tvr-search-modernization-next .abe-results-page .unit-list > .abe-item {
        box-sizing: border-box;
        position: relative;
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        margin: 0 !important;
        border: 1px solid var(--tvr-next-line);
        border-radius: 16px;
        background: var(--tvr-next-surface);
        box-shadow: 0 5px 18px rgba(7, 38, 59, 0.08);
        cursor: pointer;
    }

    body.tvr-search-modernization-next .abe-results-page .unit-list > .abe-item:hover,
    body.tvr-search-modernization-next .abe-results-page .unit-list > .abe-item:focus-within {
        border-color: #b7c8ce;
        background: var(--tvr-next-surface);
        box-shadow: 0 8px 24px rgba(7, 38, 59, 0.12);
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item > .abe-row:first-child {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        align-items: stretch;
        width: 100%;
        min-width: 0;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .unit-image {
        position: relative;
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
        min-height: 0;
        aspect-ratio: 3 / 2;
        border-radius: 15px 15px 0 0;
        background: #e8eef1;
        overflow: clip;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .abe-image-container,
    body.tvr-search-modernization-next .abe-results-page .abe-item .abe-image,
    body.tvr-search-modernization-next .abe-results-page .abe-item .lSSlideOuter,
    body.tvr-search-modernization-next .abe-results-page .abe-item .lSSlideWrapper {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .lSSlideOuter {
        max-height: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .abe-image {
        max-height: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .thumb-slider,
    body.tvr-search-modernization-next .abe-results-page .abe-item .thumb-slider > li,
    body.tvr-search-modernization-next .abe-results-page .abe-item .thumb-slider > li > a {
        height: 100% !important;
        min-height: 0 !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .thumb-slider > li > a > img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        object-fit: cover;
        object-position: center;
        background: #e8eef1;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .unit-info {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
        padding: 0.8rem 1rem 0.65rem !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .unit-location {
        margin: 0 0 0.25rem;
        color: var(--tvr-next-muted);
        font-size: 0.66rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        line-height: 1.25;
        text-transform: uppercase;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .unit-location p {
        margin: 0;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .unit-name h2 {
        display: -webkit-box;
        min-height: 2.32em;
        margin: 0;
        overflow: hidden;
        color: var(--tvr-next-navy);
        font-size: clamp(0.98rem, 1.2vw, 1.15rem);
        font-weight: 500;
        line-height: 1.16;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .unit-name a {
        color: inherit;
        text-decoration: none;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .unit-name a::after {
        position: absolute;
        inset: 0;
        z-index: 1;
        border-radius: 15px;
        content: '';
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .unit-name a:focus-visible {
        outline: 3px solid var(--tvr-next-coral);
        outline-offset: 3px;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .unit-name a:focus-visible::after {
        outline: 3px solid var(--tvr-next-coral);
        outline-offset: 2px;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .icons-info,
    body.tvr-search-modernization-next .abe-results-page .abe-item .tvr-desktop-card-facts {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.25rem 0.5rem;
        margin: 0.45rem 0 0;
        color: var(--tvr-next-ink);
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1.3;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item.tvr-desktop-card-interior-ready .icons-info {
        display: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .rate-container {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        align-items: end;
        width: 100% !important;
        gap: 0;
        margin-top: auto !important;
        padding-top: 0.55rem;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .rate-container > .abe-column {
        box-sizing: border-box;
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .tvr-total-price-display {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        width: 100%;
        margin: 0;
        gap: 0.25rem;
        padding: 0 !important;
        color: var(--tvr-next-navy);
        font-size: 0.77rem;
        font-weight: 700;
        line-height: 1.25;
        text-align: left;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .tvr-total-price-display strong {
        order: -1;
        font-size: 0.98rem;
        line-height: 1.1;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .tvr-card-price-special {
        display: flex;
        order: -2;
        flex: 0 0 100%;
        align-items: baseline;
        gap: 0.45rem;
        color: var(--tvr-next-ink);
        font-size: 0.72rem;
        font-weight: 600;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .tvr-card-price-special s {
        color: var(--tvr-next-muted);
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .tvr-card-price-savings {
        color: var(--tvr-next-coral);
        font-weight: 800;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item.tvr-card-has-quoted-special .tvr-search-special-ribbon {
        display: none;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .rate-container > .unit-button {
        display: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page .tvr-search-amenities-wrap {
        box-sizing: border-box;
        width: 100%;
        padding: 0 1rem 0.9rem;
    }

    body.tvr-search-modernization-next .abe-results-page .tvr-search-amenities {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.35rem 0.55rem;
        width: 100%;
        margin: 0;
        padding: 0.7rem 0 0;
        border-top: 1px solid var(--tvr-next-line);
        list-style: none;
    }

    body.tvr-search-modernization-next .abe-results-page .tvr-search-amenity,
    body.tvr-search-modernization-next .abe-results-page .tvr-search-amenities-wrap > span {
        box-sizing: border-box;
        position: relative;
        display: flex;
        align-items: center;
        min-width: 0;
        min-height: 24px;
        gap: 0.3rem;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--tvr-next-navy);
        font-size: 0.7rem;
        font-weight: 700;
        line-height: 1.2;
    }

    body.tvr-search-modernization-next .abe-results-page .tvr-search-amenity:nth-child(n + 7) {
        display: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page .tvr-search-amenity__icon {
        display: inline-flex;
        flex: 0 0 1rem;
        align-items: center;
        justify-content: center;
        width: 1rem;
        height: 1rem;
        color: #0b5361;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .unit-image a,
    body.tvr-search-modernization-next .abe-results-page .abe-item .abe-favorite,
    body.tvr-search-modernization-next .abe-results-page .abe-item .lSAction > a,
    body.tvr-search-modernization-next .abe-results-page .abe-item .lSAction > button,
    body.tvr-search-modernization-next .abe-results-page .abe-item .lSPager,
    body.tvr-search-modernization-next .abe-results-page .abe-item .tvr-search-special-ribbon,
    body.tvr-search-modernization-next .abe-results-page .abe-item .tvr-search-amenity--has-tooltip {
        z-index: 2;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .abe-favorite {
        min-width: 44px;
        min-height: 44px;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .tvr-search-special-ribbon {
        position: absolute;
        right: auto;
        bottom: 0.75rem;
        left: 0;
        max-width: 84%;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .lSAction > a,
    body.tvr-search-modernization-next .abe-results-page .abe-item .lSAction > button {
        box-sizing: border-box;
        width: 44px;
        height: 44px;
        padding: 6px;
        background-repeat: no-repeat;
        background-origin: content-box;
        background-clip: content-box;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .lSPager {
        position: absolute;
        bottom: 0.55rem;
        left: 50%;
        display: flex;
        z-index: 2;
        gap: 0.3rem;
        margin: 0;
        padding: 0;
        list-style: none;
        transform: translateX(-50%);
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .lSPager button {
        display: block;
        width: 9px;
        height: 9px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.95);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.55);
        box-shadow: 0 1px 3px rgba(7, 38, 59, 0.35);
        cursor: pointer;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .lSPager button[aria-current="true"] {
        background: #fff;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-item .tvr-search-amenity--has-tooltip {
        z-index: 2;
    }

    body.tvr-search-modernization-next .abe-results-page .tvr-search-amenity__icon svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    body.tvr-search-modernization-next .abe-results-page .tvr-search-amenity__tooltip {
        position: absolute;
        bottom: calc(100% + 0.45rem);
        left: 0;
        right: 0;
        z-index: 20;
        width: auto;
        max-width: none;
        padding: 0.45rem 0.55rem;
        border-radius: 6px;
        background: var(--tvr-next-navy);
        color: #fff;
        font-size: 0.74rem;
        font-weight: 500;
        line-height: 1.3;
        white-space: normal;
        overflow-wrap: anywhere;
        opacity: 0;
        pointer-events: none;
        transform: translateY(0.25rem);
        transition: opacity 0.15s ease, transform 0.15s ease;
    }

    body.tvr-search-modernization-next .abe-results-page .tvr-search-amenity--has-tooltip:hover .tvr-search-amenity__tooltip,
    body.tvr-search-modernization-next .abe-results-page .tvr-search-amenity--has-tooltip:focus .tvr-search-amenity__tooltip,
    body.tvr-search-modernization-next .abe-results-page .tvr-search-amenity--has-tooltip:focus-within .tvr-search-amenity__tooltip {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    body.tvr-search-modernization-next .abe-results-page #abe-results-search {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 0.6rem;
    }

    body.tvr-search-modernization-next .abe-results-page #abe-results-search .abe-filters-activator {
        width: auto !important;
        min-width: 0;
    }

    body.tvr-search-modernization-next .abe-results-page #abe-results-search .date-search-container {
        width: 100% !important;
        min-width: 0;
    }

    body.tvr-search-modernization-next .abe-results-page #abe-results-search .date-search-container > .date-field,
    body.tvr-search-modernization-next .abe-results-page #abe-results-search .date-search-container input {
        min-width: 0;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-jumbo {
        position: relative;
        top: auto;
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper {
        position: relative;
        top: auto;
        min-height: 0;
        height: auto;
    }

    body.tvr-search-modernization-next .abe-results-page .tvr-share-search-control {
        max-width: 12rem;
        margin-left: auto;
    }
}

@media (min-width: 1024px) {
    body.tvr-search-modernization-next .abe-results-page .unit-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.tvr-search-modernization-next .abe-results-page .abe-jumbo {
        position: sticky;
        top: calc(var(--tvr-next-host-top-offset) + var(--tvr-next-header-height));
        z-index: 950;
        min-height: var(--tvr-next-toolbar-height) !important;
        height: var(--tvr-next-toolbar-height) !important;
        padding-block: 9px !important;
        border-bottom: 1px solid var(--tvr-next-warm-gray);
        background: var(--tvr-next-cream);
        box-shadow: 0 4px 12px rgba(7, 38, 59, 0.12);
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-filters-open .abe-jumbo {
        z-index: 1500;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper {
        position: sticky;
        top: calc(var(--tvr-next-host-top-offset) + var(--tvr-next-header-height));
        z-index: 960;
        min-height: var(--tvr-next-toolbar-height) !important;
        height: var(--tvr-next-toolbar-height);
        margin-block-start: calc(var(--tvr-next-toolbar-height) * -1) !important;
        margin-block-end: 1rem !important;
        padding-block: 9px !important;
        background: var(--tvr-next-cream);
        background-color: transparent;
        box-shadow: none;
        backdrop-filter: none;
        pointer-events: none;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-results {
        margin-top: 0 !important;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search {
        box-sizing: border-box;
        display: grid;
        grid-template-columns: minmax(0, 18rem) auto auto;
        align-items: center;
        gap: clamp(0.4rem, 0.8vw, 0.75rem);
        height: 44px;
        padding-block: 0;
        padding-inline: clamp(4.75rem, 8vw, 7rem) clamp(27rem, 44vw, 40rem);
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search > .abe-filters-activator,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search > .abe-button-res-wrapper {
        display: contents;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search .date-search-container {
        box-sizing: border-box;
        display: grid;
        grid-column: 1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        width: min(100%, 18rem);
        min-width: 0;
        gap: 0.4rem;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search .date-search-container > .abe-column {
        min-width: 0;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search .date-field {
        box-sizing: border-box;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-content: center;
        min-width: 0;
        min-height: 44px;
        gap: 0.1rem;
        padding: 0.25rem 0.55rem;
        border: 2px solid var(--tvr-next-navy);
        border-radius: 8px;
        background: var(--tvr-next-surface);
        color: var(--tvr-next-navy);
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search .date-field > [data-tvr-date-label] {
        color: var(--tvr-next-navy);
        font-size: 0.62rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search input[name="search-arrival"],
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search input[name="search-departure"] {
        width: 100%;
        min-width: 0;
        height: 44px;
        min-height: 44px;
        margin: 0;
        padding: 0;
        border: 2px solid var(--tvr-next-navy);
        border-radius: 8px;
        background: var(--tvr-next-surface);
        color: var(--tvr-next-navy);
        font-weight: 700;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search .date-field input[name="search-arrival"],
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search .date-field input[name="search-departure"] {
        height: auto;
        min-height: 1rem;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        line-height: 1.05;
        white-space: nowrap;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-filters-activator {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        height: 44px;
        min-height: 44px;
        margin: 0;
        gap: 0.4rem;
        padding: 0.55rem 0.75rem;
        border: 2px solid var(--tvr-next-navy);
        border-radius: 8px;
        background: var(--tvr-next-surface);
        color: var(--tvr-next-navy);
        font-weight: 800;
        white-space: nowrap;
        pointer-events: auto;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search .search-submit,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search .abe-button-res-wrapper > .abe-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: clamp(4.75rem, 6vw, 6.5rem);
        height: 44px;
        min-height: 44px;
        margin: 0;
        padding: 0.55rem 0.85rem;
        border: 2px solid var(--tvr-next-coral);
        border-radius: 8px;
        background: var(--tvr-next-navy);
        color: #fff;
        font-weight: 800;
        white-space: nowrap;
        pointer-events: auto;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper {
        display: grid;
        grid-template-columns: minmax(4.75rem, 7rem) minmax(0, 1fr) auto minmax(17rem, 17rem) auto auto auto;
        align-items: center;
        gap: clamp(0.4rem, 0.8vw, 0.75rem);
        border-bottom: 0;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper > .abe-row,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .results-add-filters-wrapper,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .results-add-filters-wrapper > .abe-column,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-sort,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .vrps-sorter-wrapper,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .vrps-sorter-wrapper > .abe-column,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .flex-switch,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .flex-switch > .abe-column {
        display: contents;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper > .abe-row > .abe-column:first-child {
        display: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .result-count,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .num-results-container {
        grid-column: 1;
        justify-self: start;
        align-self: center;
        min-width: 0;
        margin: 0;
        color: var(--tvr-next-ink);
        font-size: 0.78rem;
        font-weight: 700;
        line-height: 1.2;
        pointer-events: auto;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper label[for="vrp-sorter"] {
        grid-column: 3;
        color: var(--tvr-next-navy);
        font-size: 0.78rem;
        font-weight: 700;
        white-space: nowrap;
        pointer-events: auto;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper #vrp-sorter,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .vrpsorter {
        grid-column: 4;
        width: 100%;
        min-width: 0;
        height: 44px;
        min-height: 44px;
        margin: 0;
        padding: 0.5rem 0.65rem;
        border: 2px solid var(--tvr-next-navy);
        border-radius: 8px;
        background: var(--tvr-next-surface) !important;
        color: var(--tvr-next-navy);
        font-weight: 700;
        pointer-events: auto;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .tvr-share-search-control {
        grid-column: 5;
        grid-row: 1;
        align-self: center;
        width: auto;
        margin: 0;
        pointer-events: auto;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .tvr-share-search-button {
        width: auto;
        height: 44px;
        min-height: 44px;
        margin: 0;
        padding: 0.5rem 0.7rem;
        font-size: 0.78rem;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-map-activator {
        grid-column: 6;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 0;
        height: 44px;
        min-height: 44px;
        margin: 0;
        padding: 0.5rem 0.7rem;
        border: 2px solid var(--tvr-next-navy);
        border-radius: 8px;
        background: var(--tvr-next-surface);
        color: var(--tvr-next-navy);
        font-weight: 800;
        white-space: nowrap;
        pointer-events: auto;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-map-activator.map-active {
        border-color: var(--tvr-next-coral);
        color: var(--tvr-next-navy);
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .favorites-link,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-favorite-show > a {
        grid-column: 7;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        height: 44px;
        min-height: 44px;
        margin: 0;
        padding: 0.5rem 0.7rem;
        border: 2px solid var(--tvr-next-navy);
        border-radius: 8px;
        background: var(--tvr-next-surface);
        color: var(--tvr-next-navy);
        font-weight: 800;
        text-decoration: none;
        white-space: nowrap;
        pointer-events: auto;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-map-activator .switch {
        display: inline-block;
        width: 48px;
        min-width: 48px;
        height: 28px;
        min-height: 28px;
        margin: 0;
        pointer-events: auto;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-map-activator .slider {
        top: 0;
        bottom: 0;
        border-color: var(--tvr-next-navy);
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-favorite-show {
        display: contents;
        margin: 0;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready.tvr-filters-open #abe-filters-activator,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-filters-activator:hover,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-map-activator:hover,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .favorites-link:hover,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-favorite-show > a:hover {
        border-color: var(--tvr-next-coral);
        color: var(--tvr-next-navy);
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search input[name="search-arrival"]:focus-visible,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search input[name="search-departure"]:focus-visible,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-filters-activator:focus-visible,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search .search-submit:focus-visible,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search .abe-button-res-wrapper > .abe-button:focus-visible,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper #vrp-sorter:focus-visible,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .vrpsorter:focus-visible,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .tvr-share-search-button:focus-visible,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-map-activator:focus-visible,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .favorites-link:focus-visible,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-favorite-show > a:focus-visible {
        outline: 3px solid var(--tvr-next-coral);
        outline-offset: 2px;
        box-shadow: 0 0 0 1px var(--tvr-next-navy);
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-map-activator:focus-within {
        outline: 3px solid var(--tvr-next-coral);
        outline-offset: 2px;
        box-shadow: 0 0 0 1px var(--tvr-next-navy);
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .map-toggle:focus-visible + .slider {
        outline: 3px solid var(--tvr-next-coral);
        outline-offset: 3px;
        box-shadow: 0 0 0 1px var(--tvr-next-navy);
    }

    body.tvr-search-modernization-next .abe-results-page:not(.tvr-compact-toolbar-ready) .abe-jumbo {
        height: auto !important;
        padding-block: 0.6rem !important;
        border-bottom: 0;
        background: var(--tvr-next-navy);
        box-shadow: 0 7px 20px rgba(7, 38, 59, 0.14);
    }

    body.tvr-search-modernization-next .abe-results-page:not(.tvr-compact-toolbar-ready) .abe-sort-wrapper {
        top: calc(var(--tvr-next-host-top-offset) + var(--tvr-next-header-height) + var(--tvr-next-toolbar-height));
        height: auto;
        margin-block-start: 0 !important;
        padding-block: 0.55rem !important;
        border-bottom: 1px solid var(--tvr-next-line);
        background-color: rgba(255, 255, 255, 0.97);
        box-shadow: 0 5px 14px rgba(7, 38, 59, 0.08);
        backdrop-filter: blur(10px);
        pointer-events: auto;
    }
}

@media (min-width: 1024px) and (max-width: 1279.98px) {
    body.tvr-search-modernization-next .abe-results-page .abe-jumbo {
        min-height: 56px !important;
        height: 56px !important;
        padding-block: 6px !important;
        box-shadow: none;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper {
        top: calc(var(--tvr-next-host-top-offset) + var(--tvr-next-header-height) + 56px);
        min-height: 56px !important;
        height: 56px;
        margin-block-start: 0 !important;
        padding-block: 6px !important;
        border-bottom: 1px solid var(--tvr-next-warm-gray);
        background: var(--tvr-next-cream);
        box-shadow: 0 4px 12px rgba(7, 38, 59, 0.12);
        pointer-events: auto;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper {
        gap: 0.6rem;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search {
        padding-inline: 0;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper {
        grid-template-columns: minmax(5rem, 7rem) minmax(14rem, 24rem) auto auto auto;
        justify-content: center;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .result-count,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .num-results-container {
        grid-column: 1;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper #vrp-sorter,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .vrpsorter {
        grid-column: 2;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .tvr-share-search-control {
        grid-column: 3;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-map-activator {
        grid-column: 4;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .favorites-link,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-favorite-show > a {
        grid-column: 5;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search .date-field {
        gap: 0.25rem;
        padding-inline: 0.2rem;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search .date-search-container {
        gap: 0.25rem;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search .date-field > [data-tvr-date-label],
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper label[for="vrp-sorter"],
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .result-count,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .num-results-container {
        font-size: 0.7rem;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper label[for="vrp-sorter"] {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search input[name="search-arrival"],
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search input[name="search-departure"],
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-filters-activator,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search .search-submit,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search .abe-button-res-wrapper > .abe-button,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper #vrp-sorter,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .vrpsorter,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .tvr-share-search-button,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-map-activator,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .favorites-link,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-favorite-show > a {
        font-size: 0.76rem;
    }
}

@media (min-width: 768px) and (max-height: 700px) {
    body.tvr-search-modernization-next {
        --tvr-next-header-height: 72px;
    }

    body.tvr-search-modernization-next .header-holder .header-logo-holder img {
        max-height: 52px !important;
    }

}

@media (min-width: 1024px) and (max-height: 700px) {
    body.tvr-search-modernization-next .abe-results-page .abe-jumbo,
    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper {
        padding-block: 0.35rem !important;
    }
}

@media (min-width: 1280px) {
    body.tvr-search-modernization-next .abe-results-page .abe-jumbo .abe-form-wrapper {
        width: 100% !important;
        max-width: none !important;
        margin-inline: 0 !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-results {
        padding-inline: 0;
    }

    body.tvr-search-modernization-next .abe-results-page .tvr-results-summary {
        padding-inline: 0;
    }

    body.tvr-search-modernization-next .header-holder {
        width: 100% !important;
        max-width: none !important;
        padding-inline: max(var(--tvr-next-workspace-gutter), calc(50% - 1500px)) !important;
    }

    body.tvr-search-modernization-next .header-holder .header-logo-holder {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        justify-content: flex-start !important;
    }

    body.tvr-search-modernization-next .header-holder .header-logo-holder img {
        max-height: 68px !important;
    }

    body.tvr-search-modernization-next .header-holder .menu-holder {
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: none !important;
        justify-content: flex-end !important;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready #abe-results-search {
        grid-template-columns: minmax(0, 18rem) max-content;
        padding-inline: 0;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper {
        grid-template-columns: var(--tvr-next-search-cluster-width) minmax(4.75rem, 7rem) auto minmax(17rem, 17rem) minmax(1rem, 1fr) auto auto auto;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .result-count,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .num-results-container {
        grid-column: 2;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper label[for="vrp-sorter"] {
        grid-column: 3;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper #vrp-sorter,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .vrpsorter {
        grid-column: 4;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .tvr-share-search-control {
        grid-column: 6;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .favorites-link,
    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-favorite-show > a {
        grid-column: 7;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .flex-switch > .abe-column:first-child {
        display: block;
        grid-column: 8;
        grid-row: 1;
        width: auto !important;
        max-width: none !important;
        padding: 0 !important;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .abe-map-activator {
        grid-column: 8;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-compact-toolbar-ready .abe-sort-wrapper .flex-switch > .abe-column:last-child {
        display: block !important;
        grid-column: 7;
        grid-row: 1;
        width: auto !important;
        max-width: none !important;
        padding: 0 !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-results.map-active,
    body.tvr-search-modernization-next .abe-results-page.tvr-map-split.tvr-map-open .abe-results {
        display: grid;
        grid-template-columns: minmax(0, 58fr) minmax(320px, 42fr);
        align-items: start;
        gap: 1.25rem;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-results:not(.map-active) #map-container {
        display: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-results.map-active .unit-list,
    body.tvr-search-modernization-next .abe-results-page .abe-results.map-active #map-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-map-split:not(.tvr-map-open) .unit-list {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-map-split:not(.tvr-map-open) #map-container {
        display: none !important;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-map-split.tvr-map-open .unit-list {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-results.map-active #map-container,
    body.tvr-search-modernization-next .abe-results-page.tvr-map-split.tvr-map-open #map-container {
        box-sizing: border-box;
        position: sticky !important;
        top: calc(var(--tvr-next-host-top-offset) + var(--tvr-next-header-height) + var(--tvr-next-toolbar-height) + 1rem) !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: calc(100dvh - var(--tvr-next-host-top-offset) - var(--tvr-next-header-height) - var(--tvr-next-toolbar-height) - 2rem) !important;
        min-height: 440px;
        border: 1px solid var(--tvr-next-line);
        border-radius: 16px;
        background: var(--tvr-next-surface);
    }

    body.tvr-search-modernization-next .abe-results-page:not(.tvr-compact-toolbar-ready) .abe-results.map-active #map-container,
    body.tvr-search-modernization-next .abe-results-page:not(.tvr-compact-toolbar-ready).tvr-map-split.tvr-map-open #map-container {
        top: calc(var(--tvr-next-host-top-offset) + var(--tvr-next-header-height) + var(--tvr-next-toolbar-height) + var(--tvr-next-toolbar-height) + 1rem) !important;
        height: calc(100dvh - var(--tvr-next-host-top-offset) - var(--tvr-next-header-height) - var(--tvr-next-toolbar-height) - var(--tvr-next-toolbar-height) - 2rem) !important;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-results.map-active #abe-map-results,
    body.tvr-search-modernization-next .abe-results-page.tvr-map-split.tvr-map-open #abe-map-results {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
    }

    body.tvr-search-modernization-next .abe-results-page.tvr-map-split .tvr-map-close {
        display: none !important;
    }
}

@media (min-width: 1280px) and (max-width: 1919.98px) {
    body.tvr-search-modernization-next .abe-results-page .abe-results.map-active .unit-list,
    body.tvr-search-modernization-next .abe-results-page.tvr-map-split.tvr-map-open .unit-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1920px) {
    body.tvr-search-modernization-next .abe-results-page.tvr-map-split:not(.tvr-map-open) .unit-list {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: start;
    }

    body.tvr-search-modernization-next .abe-results-page .abe-results.map-active .unit-list,
    body.tvr-search-modernization-next .abe-results-page.tvr-map-split.tvr-map-open .unit-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 2400px) {
    body.tvr-search-modernization-next .abe-results-page .abe-results.map-active,
    body.tvr-search-modernization-next .abe-results-page.tvr-map-split.tvr-map-open .abe-results {
        grid-template-columns: minmax(0, 1250px) minmax(320px, 1fr);
    }
}

@media (min-width: 3128px) {
    body.tvr-search-modernization-next {
        --tvr-next-workspace-width: min(3000px, calc(100% - 2rem));
    }

    body.tvr-search-modernization-next .abe-results-page .abe-sort-wrapper {
        padding-inline: max(1rem, calc(50% - 1500px)) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.tvr-search-modernization-next .abe-results-page *,
    body.tvr-search-modernization-next .abe-results-page *::before,
    body.tvr-search-modernization-next .abe-results-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
