.ds-location { position: relative; min-width: 0; }
.ds-location label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.4; color: #172b4d; }
.ds-location label:not(:first-child) { margin-top: 14px; }
.ds-location .ds-location-state, .ds-location .ds-suburb-search { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 40px; margin: 0; padding: 8px 34px 8px 12px; border: 1px solid #cbd5e1; border-radius: 5px; background: #fff; color: #172b4d; font-family: inherit; font-weight: 400; font-size: 14px; line-height: 1.35; }
.ds-location .ds-suburb-search:disabled { color: #64748b; background: #f1f5f9; opacity: 1; }
.classic-filter-row .filter-sidebar .ds-location input.ds-suburb-search { padding-top: 0; padding-bottom: 0; line-height: normal; }
.ds-location .select2-container { max-width: 100%; }
.ds-location .select2-container--default .select2-selection--single { min-height: 40px; height: 40px !important; }
.ds-location .select2-container--default .select2-selection--single .select2-selection__rendered { height: 40px !important; line-height: 40px !important; padding: 0 32px 0 12px !important; white-space: nowrap; font-size: 14px; }
html.mobile-overflow-hidden .select2-container.ds_state { z-index: 100001 !important; }
.ds-location :is(input, select, button):focus-visible { outline: 2px solid #1280df; outline-offset: 2px; }
.ds-suburb-control { position: relative; }
.ds-location .ds-suburb-clear { position: absolute; top: 0; right: 0; width: 36px; min-height: 40px; padding: 0; border: 0; background: transparent; color: #526176; font-size: 23px; box-shadow: none; }
.ds-location .ds-suburb-results { position: relative; z-index: 2; width: 100%; max-height: 220px; overflow-y: auto; overscroll-behavior: contain; margin: 4px 0 0; padding: 4px; list-style: none; border: 1px solid #cbd5e1; border-radius: 5px; background: #fff; color: #172b4d; }
.ds-location .ds-suburb-results li { min-height: 44px; margin: 0; padding: 11px 8px; cursor: pointer; line-height: 1.4; font-size: 14px; list-style: none; }
.ds-location .ds-suburb-results li::before { display: none; }
.ds-location .ds-suburb-results li[aria-selected="true"], .ds-location .ds-suburb-results li:hover { background: #e7f3ff; color: #075ca6; }
.ds-location .ds-location-status, .ds-location .ds-location-legacy, .ds-location .ds-location-error, .ds-location .ds-location-detect-status { margin: 7px 0; font-size: 12px; line-height: 1.5; color: #526176; }
.ds-location .ds-location-error { color: #b42318; }
.ds-location .ds-location-reset, .ds-location .ds-location-retry, .ds-location .ds-location-results-retry, .ds-location .ds-location-detect { display: inline-block; margin: 0; padding: 8px 0; border: 0; background: transparent; color: #086bb9; font-family: inherit; font-weight: 400; font-size: 12px; text-decoration: underline; box-shadow: none; }
.ds-location .ds-location-detect { padding: 4px 0; }
.ds-location-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ds-location .ds-location-credit { display: block; font-size: 10px; line-height: 1.4; }
/* The native sidebar is dark; the optional DriveSales redesign is white. */
body:not(.ds-products) .classic-filter-row .filter-sidebar .ds-location label,
body:not(.ds-products) .classic-filter-row .filter-sidebar .ds-location .ds-location-status,
body:not(.ds-products) .classic-filter-row .filter-sidebar .ds-location .ds-location-detect-status,
body:not(.ds-products) .classic-filter-row .filter-sidebar .ds-location .ds-location-legacy { color: #f8fafc; }
body:not(.ds-products) .classic-filter-row .filter-sidebar .ds-location .ds-location-error { color: #fecaca; }
body:not(.ds-products) .classic-filter-row .filter-sidebar .ds-location .ds-location-reset,
body:not(.ds-products) .classic-filter-row .filter-sidebar .ds-location .ds-location-detect,
body:not(.ds-products) .classic-filter-row .filter-sidebar .ds-location .ds-location-retry,
body:not(.ds-products) .classic-filter-row .filter-sidebar .ds-location .ds-location-results-retry,
body:not(.ds-products) .classic-filter-row .filter-sidebar .ds-location .ds-location-credit a { color: #dbeafe; }
.ds-products .filter-sidebar .ds-location label { color: #172b4d; }
.ds-products .filter-sidebar .ds-location .ds-location-status,
.ds-products .filter-sidebar .ds-location .ds-location-detect-status,
.ds-products .filter-sidebar .ds-location .ds-location-legacy { color: #526176; }
.ds-products .filter-sidebar .ds-location .ds-location-error { color: #b42318; }
.ds-products .filter-sidebar .ds-location .ds-location-reset,
.ds-products .filter-sidebar .ds-location .ds-location-detect,
.ds-products .filter-sidebar .ds-location .ds-location-retry,
.ds-products .filter-sidebar .ds-location .ds-location-results-retry,
.ds-products .filter-sidebar .ds-location .ds-location-credit a { color: #086bb9; }
@media (max-width: 1024px) {
    .ds-location .ds-location-state, .ds-location .ds-suburb-search, .ds-location .ds-suburb-clear { min-height: 44px; }
    .ds-location .ds-location-state, .ds-location .ds-suburb-search, .ds-location .ds-suburb-results li, .ds-location .select2-container--default .select2-selection--single .select2-selection__rendered { font-size: 16px; }
    .ds-location .select2-container--default .select2-selection--single { min-height: 44px; height: 44px !important; }
    .ds-location .select2-container--default .select2-selection--single .select2-selection__rendered { height: 44px !important; line-height: 44px !important; }
}
.ds-location [hidden] { display: none !important; }
