/*
 * Dave's Classic Cars
 * Shared inventory Search geometry + responsive popover
 *
 * Fixed Search-box dimensions live in this file.
 * JavaScript owns behavior and placement, not fixed geometry.
 */

:root {
    --dcc-search-shell-width: 170px;
    --dcc-search-side-inset: 10px;
    --dcc-search-reset-width: 125px;
    --dcc-search-view-results-width: var(--dcc-search-reset-width);
}

[data-widget_type="motors-inventory-search-filter.default"] {
    width: var(--dcc-search-shell-width) !important;
    min-width: var(--dcc-search-shell-width) !important;
    max-width: var(--dcc-search-shell-width) !important;
    flex: 0 0 var(--dcc-search-shell-width) !important;
    box-sizing: border-box !important;
}

/* Shared Price slider travel geometry inside the 150px Price field. */
[data-widget_type="motors-inventory-search-filter.default"]
.filter-price .stm-price-range,
#dcc-responsive-search-popover
.filter-price .stm-price-range {
    width: calc(100% - 12px) !important;
    margin-left: 6px !important;
    margin-right: 6px !important;
}

/* Shared responsive geometry: phones through 1024px. */
@media (max-width: 1024px) {

    [data-widget_type="motors-inventory-search-filter.default"]
    .mobile-filter.static-mobile-filter
    .mobile-search-btn.icon-left {
        width: var(--dcc-search-shell-width) !important;
        min-width: var(--dcc-search-shell-width) !important;
        max-width: var(--dcc-search-shell-width) !important;
        box-sizing: border-box !important;
    }

    #dcc-responsive-search-popover {
        width: var(--dcc-search-shell-width) !important;
        min-width: var(--dcc-search-shell-width) !important;
        max-width: var(--dcc-search-shell-width) !important;
        box-sizing: border-box !important;
    }

    #dcc-responsive-search-popover
    form.search-filter-form.v8-inventory-form,
    #dcc-responsive-search-popover
    .filter.filter-sidebar.ajax-filter {
        width: var(--dcc-search-shell-width) !important;
        min-width: var(--dcc-search-shell-width) !important;
        max-width: var(--dcc-search-shell-width) !important;
        box-sizing: border-box !important;
    }

    #dcc-responsive-search-popover
    .filter.filter-sidebar.ajax-filter
    [class*="col-md-"],
    #dcc-responsive-search-popover
    .filter.filter-sidebar.ajax-filter
    [class*="col-sm-"] {
        padding-left: var(--dcc-search-side-inset) !important;
        padding-right: var(--dcc-search-side-inset) !important;
    }

    #dcc-responsive-search-popover
    .dcc-responsive-reset {
        width: var(--dcc-search-reset-width) !important;
        min-width: var(--dcc-search-reset-width) !important;
        max-width: var(--dcc-search-reset-width) !important;
        height: 38px !important;
        min-height: 38px !important;
        box-sizing: border-box !important;
    }
}

/* Shared desktop geometry begins at the approved 1025px handoff. */
@media (min-width: 1024.01px) {

    [data-widget_type="motors-inventory-search-filter.default"]
    .classic-filter-row.motors-elementor-widget
    .filter-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    [data-widget_type="motors-inventory-search-filter.default"]
    .classic-filter-row.motors-elementor-widget
    .filter-sidebar
    .sidebar-entry-header {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    [data-widget_type="motors-inventory-search-filter.default"]
    .classic-filter-row.motors-elementor-widget
    .filter-sidebar
    .row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    [data-widget_type="motors-inventory-search-filter.default"]
    .classic-filter-row.motors-elementor-widget
    .filter-sidebar
    [class*="col-md-"],
    [data-widget_type="motors-inventory-search-filter.default"]
    .classic-filter-row.motors-elementor-widget
    .filter-sidebar
    [class*="col-sm-"] {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        padding-left: var(--dcc-search-side-inset) !important;
        padding-right: var(--dcc-search-side-inset) !important;
        box-sizing: border-box !important;
    }

    [data-widget_type="motors-inventory-search-filter.default"]
    .classic-filter-row.motors-elementor-widget
    .filter-sidebar
    .form-group,
    [data-widget_type="motors-inventory-search-filter.default"]
    .classic-filter-row.motors-elementor-widget
    .filter-sidebar
    .select2-container,
    [data-widget_type="motors-inventory-search-filter.default"]
    .classic-filter-row.motors-elementor-widget
    .filter-sidebar
    .filter-price {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    [data-widget_type="motors-inventory-search-filter.default"]
    .filter-sidebar
    .sidebar-action-units
    a.button {
        width: var(--dcc-search-reset-width) !important;
        min-width: var(--dcc-search-reset-width) !important;
        max-width: var(--dcc-search-reset-width) !important;
        height: 38px !important;
        min-height: 38px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    #dcc-responsive-search-popover {
        position: absolute;
        display: none;
        width: var(--dcc-search-shell-width);
        min-width: var(--dcc-search-shell-width);
        max-width: var(--dcc-search-shell-width);
        box-sizing: border-box;
        z-index: 100001;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.11);
        overflow: visible;
    }

    #dcc-responsive-search-popover .dcc-responsive-search-header {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: var(--dcc-search-shell-width);
        min-height: 46px;
        padding: 10px 14px;
        background: #9aa0a5;
        color: #fff;
    }

    #dcc-responsive-search-popover .dcc-responsive-search-label {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #fff;
        font-size: 14px;
        line-height: 18px;
        font-weight: 600;
    }

    #dcc-responsive-search-popover
    .dcc-responsive-search-label
    .stm-icon-car_search {
        color: #fff !important;
        font-size: 26px !important;
        line-height: 1 !important;
    }

    #dcc-responsive-search-popover .dcc-responsive-search-close {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-bottom: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #fff !important;
        font-size: 20px !important;
        line-height: 20px !important;
        text-decoration: none !important;
        cursor: pointer;
    }

    #dcc-responsive-search-popover
    form.search-filter-form.v8-inventory-form,
    #dcc-responsive-search-popover
    .filter.filter-sidebar.ajax-filter {
        position: static !important;
        width: var(--dcc-search-shell-width) !important;
        min-width: var(--dcc-search-shell-width) !important;
        max-width: var(--dcc-search-shell-width) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        left: auto !important;
        top: auto !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        background: #fff !important;
    }

    #dcc-responsive-search-popover
    .filter.filter-sidebar.ajax-filter {
        padding-bottom: 16px !important;
        box-shadow: none !important;
    }

    #dcc-responsive-search-popover
    .filter.filter-sidebar.ajax-filter
    .row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    #dcc-responsive-search-popover
    .filter.filter-sidebar.ajax-filter
    [class*="col-md-"],
    #dcc-responsive-search-popover
    .filter.filter-sidebar.ajax-filter
    [class*="col-sm-"] {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #dcc-responsive-search-popover select,
    #dcc-responsive-search-popover .stm-select,
    #dcc-responsive-search-popover .select2-container,
    #dcc-responsive-search-popover .form-control {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #dcc-responsive-search-popover .filter-price {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    #dcc-responsive-search-popover
    .filter-price
    .number-field-label {
        display: block !important;
        width: 100% !important;
    }

    #dcc-responsive-search-popover
    .filter-price
    .number-field-label h5 {
        float: none !important;
        display: block !important;
        width: 100% !important;
        margin-bottom: 4px !important;
    }

    #dcc-responsive-search-popover
    .filter-price
    .stm-current-slider-labels {
        display: block !important;
        width: 100% !important;
        margin-top: 4px !important;
        white-space: nowrap !important;
        text-align: left !important;
    }

    #dcc-responsive-search-popover
    .dcc-responsive-reset {
        display: block !important;
        /* Fixed Reset dimensions are defined in the shared geometry block. */
        margin: 12px auto 0 !important;
        padding: 9px 10px !important;
        background: #fff !important;
        color: #555 !important;
        border: 1px solid #c7ccd0 !important;
        box-shadow: none !important;
        white-space: nowrap !important;
        font-size: 12.5px !important;
        line-height: 17px !important;
        font-weight: 600 !important;
    }

    #dcc-responsive-search-popover
    .dcc-responsive-reset * {
        color: #555 !important;
    }

    #dcc-responsive-search-popover
    .dcc-responsive-view-results {
        display: block !important;
        width: var(--dcc-search-view-results-width) !important;
        min-width: var(--dcc-search-view-results-width) !important;
        max-width: var(--dcc-search-view-results-width) !important;
        min-height: 36px !important;
        margin: 8px auto 0 !important;
        padding: 8px 6px !important;
        white-space: nowrap !important;
        background: #9aa0a5 !important;
        color: #fff !important;
        border: 1px solid #9aa0a5 !important;
        box-shadow: none !important;
        font-size: 12px !important;
        line-height: 17px !important;
        font-weight: 600 !important;
    }

    #dcc-responsive-search-popover
    .dcc-select2-popover-dropdown {
        position: absolute !important;
        z-index: 100010 !important;
    }

    #dcc-responsive-search-popover
    .dcc-select2-popover-dropdown
    .select2-dropdown {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}


/* DCC responsive Search same-button toggle */
@media (min-width: 768px) and (max-width: 1024px) {

    .mobile-filter.static-mobile-filter
    .mobile-search-btn.icon-left {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 8px 0 12px !important;
    }

    .mobile-filter.static-mobile-filter
    .mobile-search-btn.icon-left
    .stm-icon-car_search {
        margin: 0 8px 0 0 !important;
        flex: 0 0 auto !important;
    }

    .mobile-filter.static-mobile-filter
    .mobile-search-btn.icon-left
    .mobile-search-btn-text {
        margin: 0 !important;
        flex: 0 0 auto !important;
    }

    .mobile-filter.static-mobile-filter
    .dcc-search-toggle-x {
        margin-left: auto !important;
        margin-right: 0 !important;
        flex: 0 0 auto !important;
        color: #fff !important;
        font-size: 42px !important;
        line-height: 28px !important;
        font-weight: 300 !important;
    }

    body > .select2-container--open {
        z-index: 100010 !important;
    }

    body > .select2-container--open
    .select2-dropdown {
        box-sizing: border-box !important;
    }
}

/* DCC approved responsive Search filter refinements */
@media (min-width: 768px) and (max-width: 1024px) {

    /* Allow the complete VIEW RESULTS button and bottom spacing to show. */
    #dcc-responsive-search-popover {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        padding-bottom: 10px !important;
        box-sizing: border-box !important;
    }

    #dcc-responsive-search-popover
    form.search-filter-form.v8-inventory-form,
    #dcc-responsive-search-popover
    .filter.filter-sidebar.ajax-filter {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    #dcc-responsive-search-popover
    .dcc-responsive-view-results {
        margin-bottom: 0 !important;
    }
}

/* DCC approved responsive Search slider color */
@media (min-width: 768px) and (max-width: 1024px) {

    #dcc-responsive-search-popover
    .stm-price-range
    .ui-slider-range {
        background-color: #7b8288 !important;
    }

    #dcc-responsive-search-popover
    .stm-price-range
    .ui-slider-handle::after {
        background-color: #7b8288 !important;
    }
}

/* DCC approved responsive Search button final treatment */
@media (min-width: 768px) and (max-width: 1024px) {
    .mobile-filter.static-mobile-filter
    .mobile-search-btn.icon-left {
        margin-top: 0 !important;
        box-shadow: 0 2px 0 rgba(0, 0, 0, 0.10) !important;
    }
}



/* =========================================================
   DCC inventory facets — Select2 customer-menu presentation
   ========================================================= */

/*
 * Select2 mounts its open menu under <body>. Force the DCC inventory facet
 * menu to remain fully opaque and aligned with the source field.
 */
body > .select2-container--open.dcc-select2-popover-dropdown {
    z-index: 100010 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    opacity: 1 !important;
}

body > .select2-container--open.dcc-select2-popover-dropdown
.select2-dropdown,
body > .select2-container--open.dcc-select2-popover-dropdown
.select2-results,
body > .select2-container--open.dcc-select2-popover-dropdown
.select2-results__options,
body > .select2-container--open.dcc-select2-popover-dropdown
.select2-search--dropdown {
    box-sizing: border-box !important;
    background: #fff !important;
    opacity: 1 !important;
}

/*
 * Motors AJAX needs the complete underlying <option> universe so a choice can
 * become available again after another facet is cleared. Disabled options are
 * therefore retained internally but are not offered in the customer menu.
 */
body > .select2-container--open.dcc-select2-faceted-dropdown
.select2-results__option[aria-disabled="true"],
body > .select2-container--open.dcc-select2-faceted-dropdown
.select2-results__option.dcc-select2-placeholder-result {
    display: none !important;
}

/*
 * Approved faceted Select2 presentation refinements.
 * Keep Motors' native result-row geometry/tap targets unchanged.
 */
form.search-filter-form.v8-inventory-form
.stm-filter_make
.select2-selection__rendered,
form.search-filter-form.v8-inventory-form
.stm-filter_serie
.select2-selection__rendered,
#dcc-responsive-search-popover
.stm-filter_make
.select2-selection__rendered,
#dcc-responsive-search-popover
.stm-filter_serie
.select2-selection__rendered {
    overflow: hidden !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    padding-right: 20px !important;
}

/*
 * Empty Year / Make / Model field labels use italics to distinguish the neutral
 * state from actual selected values. When one of those facets is populated,
 * its dropdown also gets an italic reset control above the real choices.
 * Maximum Price intentionally remains unchanged.
 */
form.search-filter-form.v8-inventory-form
select.dcc-facet-empty-state
+ .select2-container
.select2-selection__rendered,
#dcc-responsive-search-popover
select.dcc-facet-empty-state
+ .select2-container
.select2-selection__rendered {
    font-style: italic !important;
}

body > .select2-container--open.dcc-select2-faceted-dropdown
.dcc-facet-reset-control {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 6px 14px !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid #f0f2f5 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #555 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-style: italic !important;
    font-weight: 400 !important;
    line-height: normal !important;
    letter-spacing: normal !important;
    text-align: left !important;
    text-indent: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
    appearance: none !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

body > .select2-container--open.dcc-select2-faceted-dropdown
.dcc-facet-reset-control:hover {
    background: #f0f2f5 !important;
    color: #555 !important;
}

body > .select2-container--open.dcc-select2-faceted-dropdown
.dcc-facet-reset-control:focus-visible {
    background: #f0f2f5 !important;
    color: #555 !important;
    outline: none !important;
    box-shadow: inset 0 0 0 2px #0000ff !important;
}

/*
 * On initial open, keep Select2's internal highlighted-result/ARIA state intact
 * while suppressing only the gray visual highlight. Normal highlighting resumes
 * on the visitor's first pointer or keyboard interaction with the result list.
 */
body > .select2-container--open.dcc-select2-faceted-dropdown.dcc-facet-opening-neutral
.select2-results__option--highlighted[aria-selected] {
    background-color: #fff !important;
}


/*
 * Keep the actual populated Year / Make / Model choice visually identifiable
 * when its menu is open. This relies on Select2's native selected-state ARIA
 * rather than maintaining a second JavaScript selection state.
 */
body > .select2-container--open.dcc-select2-faceted-dropdown.dcc-identity-facet-dropdown
.select2-results__option[aria-selected="true"] {
    background-color: #eceff3 !important;
}

/*
 * Define the open dropdown as one quiet, continuous menu. This border belongs
 * to the outer dropdown only; individual result rows retain Motors' native
 * separators and tap-target geometry.
 */
body > .select2-container--open.dcc-select2-faceted-dropdown
.select2-dropdown {
    border: 1px solid #c9cdd1 !important;
}

/*
 * Conditional continuation affordance for Year, Make, and Model. Anchor the
 * overlay to the results wrapper, not .select2-dropdown, so Select2 retains
 * ownership of dropdown positioning and the native field arrow remains clear.
 */
body > .select2-container--open.dcc-scroll-cue-facet-dropdown
.select2-results {
    position: relative !important;
}

body > .select2-container--open.dcc-scroll-cue-facet-dropdown
.dcc-facet-scroll-affordance {
    position: absolute !important;
    left: 1px !important;
    right: 10px !important;
    bottom: 1px !important;
    height: 25px !important;
    display: none !important;
    pointer-events: none !important;
    z-index: 20 !important;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.96) 72%,
        rgba(255, 255, 255, 1) 100%
    ) !important;
}

body > .select2-container--open.dcc-scroll-cue-facet-dropdown
.dcc-facet-scroll-affordance.is-visible {
    display: block !important;
}

body > .select2-container--open.dcc-scroll-cue-facet-dropdown
.dcc-facet-scroll-affordance::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 5px !important;
    width: 7px !important;
    height: 7px !important;
    box-sizing: border-box !important;
    border-right: 2px solid #62686e !important;
    border-bottom: 2px solid #62686e !important;
    transform: translateX(-50%) rotate(45deg) !important;
}


/* =========================================================
   DCC MAXIMUM PRICE — ONE-HANDLE FACET SLIDER
   The hidden max_price select remains Motors' state/AJAX owner.
   ========================================================= */

form.search-filter-form.v8-inventory-form
select.dcc-max-price-source,
form.search-filter-form.v8-inventory-form
select.dcc-max-price-source + .select2-container {
    display: none !important;
}

form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-control {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 82px !important;
    margin: 0 !important;
    padding: 10px 10px 9px !important;

    background: #eceff3 !important;
    border: 1px solid transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: #555 !important;
    font-weight: 400 !important;
}

form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-control.dcc-price-populated {
    background: #fff !important;
    border-color: #d9dcde !important;
    border-radius: 3px !important;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12) !important;
    color: #000 !important;
}

form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-label,
form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-value {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 0 !important;

    color: inherit !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 17px !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
}

form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-label {
    margin: 0 0 3px !important;
    text-align: left !important;
}

form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-value {
    min-height: 17px !important;
    margin: 0 0 7px !important;
    text-align: center !important;
}

form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-control.dcc-price-populated
.dcc-max-price-slider-label,
form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-control.dcc-price-populated
.dcc-max-price-slider-value {
    font-weight: 500 !important;
}

form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-input {
    --dcc-max-price-progress: 100%;

    display: block !important;
    box-sizing: border-box !important;
    width: calc(100% - 12px) !important;
    height: 20px !important;
    margin: 0 6px !important;
    padding: 0 !important;

    background: transparent !important;
    cursor: pointer !important;
    touch-action: pan-y !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-input::-moz-range-track {
    height: 4px !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: #dfe1e5 !important;
}

form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-input::-moz-range-progress {
    height: 4px !important;
    border-radius: 3px !important;
    background: #7b8288 !important;
}

form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-input::-moz-range-thumb {
    box-sizing: border-box !important;
    width: 20px !important;
    height: 20px !important;
    border: 5px solid #fff !important;
    border-radius: 50% !important;
    background: #7b8288 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.36) !important;
}

form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-input::-webkit-slider-runnable-track {
    height: 4px !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: linear-gradient(
        to right,
        #7b8288 0,
        #7b8288 var(--dcc-max-price-progress),
        #dfe1e5 var(--dcc-max-price-progress),
        #dfe1e5 100%
    ) !important;
}

form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-input::-webkit-slider-thumb {
    box-sizing: border-box !important;
    width: 20px !important;
    height: 20px !important;
    margin-top: -8px !important;
    border: 5px solid #fff !important;
    border-radius: 50% !important;
    background: #7b8288 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.36) !important;
    -webkit-appearance: none !important;
}

form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-input:focus-visible {
    outline: 2px solid #000099 !important;
    outline-offset: 2px !important;
}

form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-input:disabled {
    cursor: default !important;
    opacity: 0.65 !important;
}

/*
 * When mutual faceting leaves no useful numeric Maximum Price detents,
 * Any Price is the only valid state. Preserve the field's geometry/value
 * while hiding Firefox/WebKit's misleading disabled 0..0 range track/handle.
 */
form.search-filter-form.v8-inventory-form
.dcc-max-price-slider-control.dcc-no-useful-price-stops
.dcc-max-price-slider-input {
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ============================================================
   DCC KEYBOARD FOCUS — RESPONSIVE SEARCH V4
   Visible-focus coverage for Search UI mounted outside #wrapper.
   ============================================================ */

#dcc-responsive-search-popover
:focus-visible:not(.dcc-max-price-slider-input),
body > .select2-container--open.dcc-select2-faceted-dropdown
:focus-visible {
    outline: 2px solid #0000ff !important;
    outline-offset: 3px !important;
}


/* DCC View Results hover — match Search
   Approved September 13, 2026.
   Search itself remains unchanged. */
@media (hover: hover) and (pointer: fine) {
    #dcc-responsive-search-popover
    .dcc-responsive-view-results:hover {
        background-color: #aeb3b7 !important;
        border-color: #aeb3b7 !important;
    }
}
