/* Shared browsing cards and route-scoped vehicle refinements.
   !important only bridges existing theme/plugin rules that already use it. */
:is(.halo-listings-page, .halo-vehicle-page, .halo-card-listings) { --halo-gold: #c8a96a; --halo-line: #41413c; }
/* Keep the legacy AJAX visibility hook and blocking overlay, without a GIF or
   new requests/timers. Above the bid dialog; hidden until AJAX begins. */
:is(.halo-listings-page, .halo-vehicle-page) .halo-request-loader { visibility: hidden; position: fixed; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; padding: 20px; box-sizing: border-box; background: rgb(16 16 16 / 76%); cursor: progress; }
.halo-request-loader__panel { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 300px; padding: 32px 24px; box-sizing: border-box; border: 1px solid #615439; border-radius: 12px; background: #292929; box-shadow: 0 16px 48px rgb(0 0 0 / 25%); text-align: center; }
.ajax-loader .halo-request-loader__logo { position: static; display: block; width: 184px; max-width: 100%; height: auto; margin: 0 0 28px; }
.halo-request-loader__spinner { display: block; box-sizing: border-box; width: 32px; height: 32px; margin-bottom: 18px; border: 2px solid #514936; border-top-color: #d8bc82; border-radius: 50%; animation: halo-request-spin 1s linear infinite; }
.halo-request-loader__message { color: #fcfcfc; font: 500 20px/1.4 Oxanium, Arial, sans-serif; }
.halo-request-loader__detail { margin-top: 6px; color: #c7c3b8; font: 400 13px/1.5 Inter, Arial, sans-serif; }
@keyframes halo-request-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .halo-request-loader__spinner { animation: none; }
}
:is(.halo-listings-page, .halo-vehicle-page) #page-top { padding: 32px 0; min-height: 0; }
:is(.halo-listings-page, .halo-vehicle-page) #page-top h1 { font-family: Oxanium, Arial, sans-serif !important; font-size: clamp(28px, 3vw, 42px) !important; line-height: 1.2 !important; font-weight: 500 !important; text-transform: none; margin: 0; }
:is(.halo-listings-page, .halo-vehicle-page, .halo-card-listings) :is(a, button, input):focus-visible { outline: 2px solid var(--halo-gold); outline-offset: 3px; }
.halo-listings-page .listing-banner { align-items: center; min-height: 0; margin-top: 0; }
.halo-listings-page .halo-listings-intro { margin: 10px 0 0; color: #bcbcb6 !important; font-size: 15px; }
.halo-listings-page .stock-search-text { font-size: 15px; }
.halo-listings-page .stock-search-text p { margin: 0; font-size: 15px !important; line-height: 1.6; }
.halo-listings-page .listing-header { padding: 20px 0; border-top: 1px solid var(--halo-line); border-bottom: 1px solid var(--halo-line); }
.halo-listings-page .listing-header > .center-wrapper { align-items: center; gap: 16px; }
.halo-listings-page .live-number { font-size: 16px; line-height: 1.5; justify-content: flex-start; }
.halo-listings-page .btn-listing { display: flex; gap: 8px; }
.halo-listings-page .listing-btn { margin: 0; min-height: 44px; padding: 10px 18px !important; font-size: 14px !important; border-radius: 5px; }
.halo-listings-page #listing { padding: 28px 0 56px; }
.halo-card-listings :is(#data, .halo-card-grid) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; }
.halo-card-listings .car-card-item { width: 100%; max-width: none; padding: 0; min-width: 0; }
.halo-card-listings .car-card { height: auto !important; min-height: 100%; display: flex; flex-direction: column; margin: 0; border: 1px solid var(--halo-line); border-radius: 8px; overflow: hidden; box-shadow: none; }
.halo-card-listings .search-thumb { height: auto !important; padding: 0; aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.halo-card-listings .search-thumb .halo-listing-image { display: block; width: 100%; height: 100%; object-fit: cover; background: #30302d; }
/* Zoom only the photograph inside its clipped frame; controls and card layout stay still. */
.halo-card-listings .search-thumb { transform: scale(1); transition: transform 450ms ease; }
.halo-card-listings .card-item-image .icon-button { z-index: 10; pointer-events: auto; }
@media (hover: hover) and (pointer: fine) {
  .halo-card-listings .card-item-image:hover .search-thumb { transform: scale(1.06); }
}
.halo-card-listings .card-item-image:focus-within .search-thumb { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .halo-card-listings .search-thumb { transition: none; }
  .halo-card-listings .card-item-image:is(:hover, :focus-within) .search-thumb { transform: none; }
}
/* Clear the old 343px card cap and fixed two-line height inside this grid. */
.halo-card-listings .car-card { width: 100%; max-width: none; box-shadow: none !important; border-radius: 8px !important; cursor: pointer; }
.halo-card-listings .car-card-item { margin-bottom: 0; }
.halo-card-listings .car-card-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'title year' 'specs specs'; align-items: start; gap: 12px 10px; height: auto !important; min-height: 116px; padding: 18px 16px !important; }
.halo-card-listings .car-card-header h3 { grid-area: title; font: 500 18px/1.35 Oxanium, Arial, sans-serif !important; height: auto !important; min-height: 2.7em !important; margin: 0 !important; overflow: visible !important; }
.halo-card-listings .car-card h3 a { font: inherit !important; display: block !important; overflow: visible !important; overflow-wrap: anywhere; }
.halo-card-listings .car-card-header .year { grid-area: year; position: static !important; width: auto; height: auto; min-width: 44px; margin: 0; padding: 5px 7px; border-radius: 4px !important; font: 400 12px/18px Inter, Arial, sans-serif !important; color: #e4cc97 !important; background: #343430 !important; }
.halo-card-listings .car-card-header ul { grid-area: specs; flex-wrap: wrap; gap: 6px 12px !important; padding: 0 !important; }
.halo-card-listings .car-card-header li { margin: 0; padding: 0; font: 400 12px/1.5 Inter, Arial, sans-serif !important; color: #c3c3bb !important; }
.halo-card-listings .car-card-header li::before { display: none; }
/* Fit live price/countdown side by side when space allows, without Bootstrap
   column padding or condensed legacy price fonts. Narrow cards wrap naturally. */
.halo-card-listings .car-card .item-price { margin-top: auto; padding: 16px !important; border-top: 1px solid var(--halo-line) !important; border-bottom: 0 !important; }
.halo-card-listings .car-card .item-price .row { margin: 0; gap: 12px; align-items: center; }
/* Keep live and scheduled auction dividers on the same row baseline. */
.halo-card-listings .car-card .item-price:has(.auc-div) { min-height: 96px; display: flex; align-items: center; }
.halo-card-listings .car-card .item-price:has(.auc-div) > .row { width: 100%; }
.halo-card-listings .car-card .item-price .row > [class*='col-'] { flex: 1 1 110px; width: auto; max-width: 100%; min-width: 0; padding: 0; }
.halo-card-listings .car-card .item-price .row > .col-md-12 { flex-basis: 100%; }
.halo-card-listings .car-card .item-price .row > :not(.auc-div) > span { display: flex; flex-direction: column; gap: 6px; font: 400 14px/1.5 Inter, Arial, sans-serif !important; }
.halo-card-listings .car-card .item-price br { display: none; }
.halo-card-listings .car-card .item-price span[style*='font-size: 16px'] { font: 400 12px/1.5 Inter, Arial, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; color: #c3c3bb !important; }
.halo-card-listings .car-card .item-price :is([id^='current-bid-'], strong) { font: 500 24px/1.2 Oxanium, Arial, sans-serif !important; letter-spacing: -.4px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
/* On-demand prices and Sold labels are plain spans, unlike live bid amounts. */
.halo-card-listings .car-card .item-price .row > :not(.auc-div, .auc-green) > span:not(:has(span)) { font-size: 24px !important; line-height: 1.2 !important; font-variant-numeric: tabular-nums; }
.halo-card-listings .item-price .auc-div { display: flex; align-items: center; justify-content: center; min-height: 38px; max-height: none; padding: 8px 10px; border-radius: 5px; text-align: center; line-height: 1.4; }
.halo-card-listings .car-card .item-price .row > .auc-div { padding: 10px; }
.halo-card-listings .car-card .item-price .auc-span { font: 500 15px/1.4 Oxanium, Arial, sans-serif !important; color: #242424 !important; font-variant-numeric: tabular-nums; }
.halo-card-listings .car-card .auc-div:has([id^='auctionCounter']) { flex-direction: column; gap: 3px; background: #23392b !important; border: 1px solid #41634b !important; }
/* A neutral label also makes sense when the existing timer displays EXPIRED. */
.halo-card-listings .car-card .auc-div:has([id^='auctionCounter'])::before { content: 'Auction'; color: #bccebf; font: 400 11px/1.4 Inter, Arial, sans-serif; }
.halo-card-listings .car-card .auc-div:is(.auction-ended, :has([data-auction-ended='true']))::before { content: 'Auction Ended' !important; }
.halo-card-listings .car-card .item-price [id^='auctionCounter'] { color: #75df9e !important; white-space: nowrap; }
.halo-card-listings .car-card .item-price [id^='auctionCounter'][data-auction-ended='true'] { font-size: 12.5px !important; line-height: 1.25 !important; white-space: normal !important; text-align: center; }
.halo-card-listings .car-card .item-price .auc-green .auc-span { color: #c8a96a !important; }
.halo-card-listings .car-card .item-price .auc-green { height: auto !important; min-height: 42px; max-height: none !important; padding: 10px 14px !important; }
.halo-card-listings .car-card-footer { gap: 6px; padding: 12px 16px !important; border-top: 1px solid var(--halo-line) !important; font: 400 12px/1.5 Inter, Arial, sans-serif !important; }
.halo-card-listings .car-card-footer span { min-width: 0; overflow-wrap: anywhere; color: #c3c3bb !important; }
.halo-card-listings .card-item-image .icon-button { top: 12px; right: 12px; gap: 8px; z-index: 10; pointer-events: auto; }
.halo-card-listings .card-item-image .icon-button a { width: 36px; height: 36px; min-height: 36px; margin: 0 !important; background: #292929 !important; color: #f5f3ec !important; border: 1px solid #77776d !important; box-shadow: none !important; position: relative; z-index: 10; pointer-events: auto; }
.halo-card-listings .card-item-image .icon-button a:is(.active, :hover, :focus-visible) { background: #c8a96a !important; border-color: #c8a96a !important; color: #242424 !important; }
.halo-card-listings .card-item-image .icon-button a i { color: inherit !important; font-size: 16px; }
.halo-card-listings .listing-btn:not(.active) { color: #e9e7df !important; }
.halo-card-listings .listing-btn.active { color: #242424 !important; }
.halo-card-listings .listing-btn:hover { color: #242424 !important; background: #c8a96a !important; }
/* Detail page: one heading and a single description block at every breakpoint. */
.halo-vehicle-page #page-top { padding: 24px 0; border-bottom: 0 !important; }
.halo-vehicle-page .breadcrumbs { margin-bottom: 16px; font-size: 12px; }
.halo-vehicle-page .breadcrumbs ul { flex-wrap: wrap; }
.halo-vehicle-page .breadcrumbs li { display: inline-flex; align-items: center; }
.halo-vehicle-page .breadcrumbs li::after { margin-top: 0; transform: translateY(-50%) rotate(45deg); }
.halo-vehicle-page .halo-vehicle-heading-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.halo-vehicle-page .halo-vehicle-heading-row > h1 { flex: 1 1 auto; min-width: 0; max-width: 100%; }
.halo-vehicle-page #page-top h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-right: 0; font-size: clamp(27px, 2.8vw, 38px) !important; }
.halo-vehicle-page .halo-vehicle-badges { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 12px; font-size: inherit; white-space: nowrap; }
.halo-vehicle-page #page-top h1 span { position: static; margin: 0; padding: 6px 10px; width: auto; height: auto; border-radius: 4px; background: #343430 !important; color: #d4bd86 !important; font: 500 14px/1.3 Inter, Arial, sans-serif; }
/* Title badges share the stock-search control height and vertical centre. */
.halo-vehicle-page #page-top .halo-vehicle-badges > :is(span, .reg) { display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box; height: 36px !important; min-height: 36px; padding: 0 10px !important; line-height: 20px !important; margin: 0 !important; }
.halo-vehicle-page #page-top h1 .reg { margin: 0 !important; }
.halo-vehicle-page .car-id { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 12px; color: #bcbcb6; }
.halo-vehicle-page .halo-vehicle-heading-row > .car-id { flex: 0 1 auto; min-width: 0; max-width: 100%; margin-left: auto; }
.halo-vehicle-page .car-id .btn { min-height: 36px; padding: 7px 12px !important; font: 400 12px/20px Inter, Arial, sans-serif !important; border-radius: 5px; margin: 0 !important; background: transparent !important; border: 1px solid #55554c !important; color: #deddd5 !important; }
.halo-vehicle-page .car-id .btn:hover { background: #c8a96a !important; color: #242424 !important; border-color: #c8a96a !important; }
.halo-listings-page .listing-btn { font-family: Inter, Arial, sans-serif !important; line-height: 20px !important; }
.halo-vehicle-page #page-content { padding: 0 0 48px; }
.halo-vehicle-page .halo-vehicle-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: 24px; }
.halo-vehicle-page :is(.halo-vehicle-main, .halo-vehicle-sidebar, .gallery-col) { min-width: 0; }
/* The legacy background-image gallery retains its Slick handlers and image ratio. */
.halo-vehicle-page .gallery-full-image { border: 1px solid var(--halo-line); border-radius: 8px; overflow: hidden; background: #191919; }
.halo-vehicle-page .gallery-full-image .gb-image { height: auto !important; padding: 0; aspect-ratio: 4 / 3; }
.halo-vehicle-page .gallery-full-image .gb-image img { width: 100%; height: 100%; object-fit: contain; }
/* Real images allow Slick/native lazy loading; CSS backgrounds fetch eagerly. */
.halo-vehicle-page .slider-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.halo-vehicle-page .vehicle-image-gallery .slider-image { display: inline-block; overflow: hidden; }
.halo-vehicle-page .small-image .image img { display: block; opacity: 1; width: 100%; height: 100%; object-fit: cover; }
.halo-vehicle-page .image-caption:has(p:empty) { display: none; }
.halo-vehicle-page .slick-thumb-wrap { margin: 12px 0; padding: 0 20px; }
.halo-vehicle-page .gallery-thumb { height: 94px; max-width: none; }
/* Slick removes data-lazy after a successful load. Keep the image box but hide
   the browser's missing-source icon until then (including before Slick starts). */
.halo-vehicle-page :is(.gallery-thumb, .gb-image, .fullImage-item, .small-image .image) img[data-lazy],
.halo-vehicle-page :is(.gallery-thumb, .gb-image, .fullImage-item, .small-image .image) img.slick-lazyload-error { visibility: hidden; }
.halo-vehicle-page .gallery-thumb { position: relative; background: #30302d; border-radius: 5px; overflow: hidden; }
.halo-vehicle-page .gallery-thumb:has(img[data-lazy])::after,
.halo-vehicle-page .gallery-thumb:has(img.slick-lazyload-error)::after { position: absolute; inset: 0; display: grid; place-items: center; padding: 8px; color: #c7c3b8; font: 400 12px/1.4 Arial, sans-serif; text-align: center; pointer-events: none; }
.halo-vehicle-page .gallery-thumb:has(img[data-lazy])::after { content: 'Loading…'; }
.halo-vehicle-page .gallery-thumb:has(img.slick-lazyload-error)::after { content: 'Photo unavailable'; }
/* Slick owns the image lifecycle. Its pending markers disappear on load/error,
   so these indicators need no new requests, timers or gallery event handlers. */
.halo-vehicle-page :is(.gb-image, .fullImage-item) { position: relative; }
.halo-vehicle-page .fullImage-item:has(> img:is([data-lazy], .slick-loading, .slick-lazyload-error)) { min-height: max(240px, calc(100vh - 120px)); }
.halo-vehicle-page :is(.gb-image, .fullImage-item):has(> img:is([data-lazy], .slick-loading))::before { content: ''; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; box-sizing: border-box; border: 3px solid #514936; border-top-color: #d8bc82; border-radius: 50%; animation: halo-request-spin 1s linear infinite; pointer-events: none; }
.halo-vehicle-page :is(.gb-image, .fullImage-item):has(> img:is([data-lazy], .slick-loading, .slick-lazyload-error))::after { content: 'Loading photo…'; position: absolute; top: calc(50% + 28px); left: 0; width: 100%; padding: 0 20px; box-sizing: border-box; color: #d4bd86; font: 400 14px/1.5 Oxanium, Arial, sans-serif; text-align: center; pointer-events: none; }
.halo-vehicle-page :is(.gb-image, .fullImage-item):has(> img.slick-lazyload-error)::after { content: 'Photo unavailable'; top: 50%; transform: translateY(-50%); }
@media (prefers-reduced-motion: reduce) {
  .halo-vehicle-page :is(.gb-image, .fullImage-item):has(> img:is([data-lazy], .slick-loading))::before { animation: none; }
}
.halo-vehicle-page .thumb-image { padding: 0 5px; }
.halo-vehicle-page .gallery-col > .d-lg-flex { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding-bottom: 12px; }
.halo-vehicle-page .slick-filter { display: flex; flex-wrap: wrap; align-items: center; height: auto; width: 100%; margin: 0; padding: 0; gap: 8px; background: transparent; border-radius: 0; }
.halo-vehicle-page .img-count { height: auto; padding: 8px 0; color: #c5c5bc; font: 400 12px/20px Inter, Arial, sans-serif; }
.halo-vehicle-page .img-count i { color: #c8a96a; font-size: 16px; }
.halo-vehicle-page .slick-filter > .ml-auto { flex-wrap: wrap; margin-left: auto !important; gap: 6px; }
.halo-vehicle-page .btn-img-cat { min-height: 36px; height: auto; padding: 8px 10px; border: 1px solid #505047; border-radius: 5px; margin: 0; background: transparent; color: #deddd5; font: 400 12px/18px Inter, Arial, sans-serif !important; }
.halo-vehicle-page .btn-img-cat:is(.active, :hover) { background: #c8a96a !important; color: #242424 !important; border-color: #c8a96a; }
.halo-vehicle-page .expand-gallery { min-height: 36px; height: auto; padding: 8px 0 !important; font: 400 12px/20px Inter, Arial, sans-serif !important; border: 0; background: transparent; color: #d4bd86 !important; }
/* Flatten nested cards, while preserving every price, bid and approval state. */
.halo-vehicle-page .sidebar-overview { box-shadow: none !important; border-radius: 8px !important; padding: 20px !important; }
/* Reserve the existing map footprint while its independent request completes. */
.halo-vehicle-page .halo-vehicle-map { min-height: 300px; }
.halo-vehicle-page .halo-vehicle-map-status { display: grid; place-items: center; min-height: 300px; margin: 0; padding: 16px; text-align: center; }
.halo-vehicle-page .halo-vehicle-map iframe { display: block; width: 100%; height: 300px; border: 0; }
.halo-vehicle-page .overview-header { padding: 34px 0 34px !important; border: 0 !important; text-align: center !important; }
.halo-vehicle-page .overview-title-wrap { width: 100% !important; flex-wrap: wrap; justify-content: center !important; margin: 0 auto !important; text-align: center !important; }
.halo-vehicle-page .trade-price { width: 100% !important; text-align: center !important; margin: 0 auto !important; }
.halo-vehicle-page .trade-price :is(span, strong) { font: 600 clamp(32px, 3.4vw, 42px)/1.2 Oxanium, Arial, sans-serif !important; color: #fcfcfc !important; display: block !important; text-align: center !important; letter-spacing: 0.5px; }
.halo-vehicle-page .trade-price .badge-sold { display: inline-block !important; font: 600 18px/1.3 Inter, Arial, sans-serif !important; padding: 6px 18px !important; border-radius: 4px; }
.halo-vehicle-page .overview-header h2 { font: 500 20px/1.3 Oxanium, Arial, sans-serif !important; }
.halo-vehicle-page .overview-header .overview-meta:empty { display: none !important; }
.halo-vehicle-page .overview-header .overview-meta { margin-top: 12px !important; }
.halo-vehicle-page .overview-item-price { margin: 0 0 18px !important; padding: 14px 16px !important; border: 0 !important; border-left: 3px solid #c8a96a !important; border-radius: 4px !important; text-align: left !important; }
.halo-vehicle-page .overview-item-price > strong { font-family: Oxanium, Arial, sans-serif !important; }
.halo-vehicle-page :is(.halo-coming-soon-title, .overview-item-price > strong:first-child:not([id])) { font: 600 clamp(32px, 3.4vw, 42px)/1.2 Oxanium, Arial, sans-serif !important; color: #fcfcfc !important; display: block !important; text-align: center !important; letter-spacing: 0.5px; }
.halo-vehicle-page :is(.halo-coming-soon-date, .overview-item-price > strong:not([id]) ~ strong:not([id])) { font: 400 14px/1.5 Inter, Arial, sans-serif !important; color: #d4bd86 !important; display: block !important; text-align: center !important; margin-top: 6px !important; }
.halo-vehicle-page .halo-coming-soon-box { border-left: 0 !important; padding: 28px 0 28px !important; margin: 0 0 20px !important; text-align: center !important; }
.halo-vehicle-page .overview-item-price > br { display: none; }
.halo-vehicle-page .overview-bottons { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0 0 24px !important; }
.halo-vehicle-page .car-overview-block .overview-bottons:not(:has(a, button)) { display: none !important; }
.halo-vehicle-page .overview-bottons .btn-overview { flex: 1 1 150px; min-height: 48px; height: auto !important; margin: 0; padding: 12px 18px !important; font: 500 15px/20px Inter, Arial, sans-serif !important; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
/* Live auction controls share the card hierarchy without changing permissions. */
.halo-vehicle-page .overview-item-price.auction-div { border-left: 0 !important; padding: 14px 0 !important; text-align: center !important; }
.halo-vehicle-page .auction-div #totalBids { text-align: center !important; }
.halo-vehicle-page #auctionCounter { display: block; margin: 8px 0 20px; font: 500 clamp(22px, 2.2vw, 30px)/1.3 Oxanium, Arial, sans-serif !important; font-variant-numeric: tabular-nums; color: #4ADE80 !important; }
/* Keep units inline and the same uniform bright color as the timer digits and EXPIRED. */
.halo-vehicle-page #auctionCounter .halo-countdown-unit { display: inline; margin: 0; padding: 0; font: inherit !important; letter-spacing: inherit !important; color: inherit !important; }
.halo-vehicle-page #highestBid { display: block; margin: 6px 0 14px; font: 600 clamp(28px, 3vw, 38px)/1.25 Oxanium, Arial, sans-serif !important; font-variant-numeric: tabular-nums; }
/* Stable IDs retain the same brand font after bid responses and live updates. */
.halo-vehicle-page :is(#minBid, #submitBid, #bid_input, #popupBid) { font-family: Oxanium, Arial, sans-serif !important; font-variant-numeric: tabular-nums; }
.halo-vehicle-page .halo-bid-label { display: block; margin: 0 0 8px; font-size: 14px; text-align: center; color: #e3e0d7; }
.halo-vehicle-page .halo-bid-label-wrap { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 8px; position: relative; }
.halo-vehicle-page .halo-bid-label-wrap .halo-bid-label { display: inline-block; margin: 0; }
.halo-vehicle-page .halo-bid-info-wrap { position: relative; display: inline-flex; align-items: center; line-height: 1; }
.halo-vehicle-page .halo-bid-info-btn { background: transparent; border: none; padding: 2px; margin: 0; color: #c8a96a; font-size: 14px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 50%; transition: color 0.15s ease, transform 0.15s ease; }
.halo-vehicle-page .halo-bid-info-btn:hover,
.halo-vehicle-page .halo-bid-info-btn:focus-visible { color: #dfc38c; transform: scale(1.15); outline: none; }
.halo-vehicle-page .halo-bid-info-tooltip { position: absolute; bottom: calc(100% + 10px); right: -14px; width: 290px; max-width: min(290px, calc(100vw - 32px)); background: #1c1c1c; border: 1px solid rgba(200, 169, 106, 0.45); border-radius: 8px; padding: 12px 14px; color: #f0ede6; font: 400 12.5px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; text-align: left; letter-spacing: normal; text-transform: none; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.04); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(4px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; z-index: 1050; }
.halo-vehicle-page .halo-bid-info-tooltip::after { content: ""; position: absolute; top: 100%; right: 17px; border-width: 6px 6px 0 6px; border-style: solid; border-color: #1c1c1c transparent transparent transparent; }
.halo-vehicle-page .halo-bid-info-tooltip::before { content: ""; position: absolute; top: 100%; right: 16px; border-width: 7px 7px 0 7px; border-style: solid; border-color: rgba(200, 169, 106, 0.45) transparent transparent transparent; }
.halo-vehicle-page .halo-bid-info-wrap:hover .halo-bid-info-tooltip,
.halo-vehicle-page .halo-bid-info-wrap:focus-within .halo-bid-info-tooltip,
.halo-vehicle-page .halo-bid-info-wrap.is-open .halo-bid-info-tooltip { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.halo-vehicle-page #bid_input { min-height: 48px; text-align: center; }
.halo-vehicle-page .enter-bid-amount { padding-top: 8px; }
.halo-vehicle-page .enter-bid-amount > span { font-size: 13px !important; line-height: 1.6; }
.halo-vehicle-page .enter-bid-amount span span { display: inline !important; margin: 0 !important; }
.halo-vehicle-page :is(#msgBid, #bidStatus) { overflow-wrap: anywhere; font-family: Inter, Arial, sans-serif !important; }
/* Bid responses use legacy Bootstrap alert classes. Scope their contrast and
   spacing here; leave the submission handler and show/hide timing unchanged. */
.halo-vehicle-page #msgBid.alert { margin: 0 0 20px; padding: 12px 14px; border: 1px solid; border-radius: 6px; font: 400 14px/1.6 Inter, Arial, sans-serif !important; text-align: left; box-shadow: none; }
.halo-vehicle-page #msgBid.alert-success { color: #bcf0ce !important; background: #23392b !important; border-color: #447953 !important; }
.halo-vehicle-page #msgBid.alert-danger { color: #ffcbc1 !important; background: #422d29 !important; border-color: #a4665a !important; }
/* State is set on first render and refreshed with the existing bid messages. */
.halo-vehicle-page #bidStatus[data-bid-state="winning"],
.halo-vehicle-page #bidStatus[data-bid-state="outbid"] { display: block; margin: 12px 0 0 !important; padding: 10px 12px; border-radius: 6px; font-weight: 600; }
.halo-vehicle-page #bidStatus[data-bid-state="winning"] { color: #75df9e !important; background: #23392b; }
.halo-vehicle-page #bidStatus[data-bid-state="outbid"] { color: #ffab9d !important; background: #422d29; }
.halo-vehicle-page .overview-bottons .btn-bg-red, .halo-vehicle-page .motorcheck-div .btn { background: #c8a96a !important; color: #242424 !important; }
/* Match the approved auction action typography, not the legacy bold .btn style. */
.halo-vehicle-page .motorcheck-div .btn { font: 400 14px/20px Inter, Arial, sans-serif !important; }
.halo-vehicle-page .overview-bottons .btn-bg-red:hover { background: #d8bc82 !important; }
/* On-demand listings have no auction status content: omit its empty gold rail.
   Whitespace in Blade prevents :empty; populated auction/sold states remain. */
.halo-vehicle-page .overview-item-price:not(:has(*)) { display: none; }
/* Clear primary/secondary actions and restrained hover states, without movement. */
.halo-vehicle-page .overview-bottons a[href="#modal4"],
.halo-vehicle-page .halo-transaction-modal .btn-bg-red { background: #c8a96a !important; color: #242424 !important; }
.halo-vehicle-page .overview-bottons .btn-overview { box-shadow: none !important; border: 1px solid transparent; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.halo-vehicle-page .overview-bottons a[href="#modal3"],
.halo-vehicle-page .halo-transaction-modal .btn-bg-black { background: transparent !important; color: #e4cc97 !important; border: 1px solid #9e875a !important; }
.halo-vehicle-page .overview-bottons :is(a[href="#modal3"], .btn-bg-red):is(:hover, :focus-visible),
.halo-vehicle-page .halo-transaction-modal .btn-bg-black:is(:hover, :focus-visible) { background: #dfc38c !important; color: #202020 !important; border-color: #dfc38c !important; box-shadow: none !important; }
.halo-vehicle-page .overview-compare { margin: 0 0 24px !important; padding: 0 !important; }
.halo-vehicle-page .overview-compare ul { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 0; padding: 0; }
.halo-vehicle-page .overview-compare ul li { margin: 0 !important; padding: 0 !important; list-style: none; }
.halo-vehicle-page .overview-compare a { box-shadow: none !important; transition: background-color 160ms ease, color 160ms ease; }
.halo-vehicle-page .overview-compare a:is(:hover, :focus-visible) { background: #c8a96a !important; color: #202020 !important; border-color: #c8a96a !important; }
.halo-vehicle-page .overview-compare a:is(:hover, :focus-visible) i { color: inherit !important; }
/* Purchase, offer and bid dialogs share spacing; transaction handlers stay intact. */
.halo-vehicle-page .remodal-wrapper:has(> .halo-transaction-modal) { text-align: center; }
.halo-vehicle-page .halo-transaction-modal.remodal { height: auto; }
.halo-vehicle-page .halo-transaction-modal { box-sizing: border-box; width: calc(100% - 32px) !important; max-width: 560px !important; margin: 24px auto !important; padding: 32px !important; border: 1px solid #48463f; border-radius: 12px; background: #2c2c2c; color: #fcfcfc; text-align: left; }
.halo-vehicle-page .halo-transaction-modal .halo-modal-title { margin: 0 36px 24px 0 !important; padding: 0 !important; font: 500 28px/1.25 Oxanium, Arial, sans-serif !important; text-transform: none; }
.halo-vehicle-page .halo-transaction-modal .remodal-close { top: 10px; right: 10px; left: auto; width: 44px; height: 44px; border-radius: 6px; color: #d3d0c6; }
.halo-vehicle-page .halo-transaction-modal .remodal-close::before { width: 44px; line-height: 44px; }
.halo-vehicle-page .halo-transaction-modal .remodal-close:is(:hover, :focus-visible) { background: #41403a; color: #fff; }
.halo-vehicle-page .halo-transaction-modal .form-group { margin: 0 0 20px; }
.halo-vehicle-page .halo-transaction-modal label { display: block; margin: 0 0 8px; font: 400 14px/1.5 Inter, Arial, sans-serif; color: #e3e0d7; }
.halo-vehicle-page .halo-transaction-modal .form-control { width: 100%; max-width: none; height: 48px; margin: 0; padding: 12px 14px; border: 1px solid #5b584e !important; border-radius: 6px; background: #222 !important; color: #fcfcfc !important; font: 400 16px/1.5 Inter, Arial, sans-serif !important; }
.halo-vehicle-page .halo-transaction-modal .form-control::placeholder { color: #aaa79e; opacity: 1; }
.halo-vehicle-page .halo-transaction-modal .form-control:focus { border-color: #c8a96a !important; box-shadow: 0 0 0 2px rgb(200 169 106 / 20%); }
.halo-vehicle-page .halo-currency-field { position: relative; }
.halo-vehicle-page .halo-currency-field > span { position: absolute; top: 50%; left: 14px; transform: translateY(-50%); color: #c8a96a; font-size: 16px; pointer-events: none; }
.halo-vehicle-page .halo-currency-field .form-control { padding-left: 36px; }
.halo-vehicle-page .halo-transaction-modal textarea.form-control { height: 112px; min-height: 96px; resize: vertical; }
.halo-vehicle-page .halo-modal-price { padding: 20px; margin: 0 0 24px; border: 1px solid #49473e; border-radius: 8px; background: #252525; }
.halo-vehicle-page .halo-modal-price > span { display: block; margin-bottom: 8px; color: #c7c3b8; font-size: 14px; }
.halo-vehicle-page .halo-modal-price > strong { display: block; font: 500 36px/1.2 Oxanium, Arial, sans-serif !important; color: #e4cc97; font-variant-numeric: tabular-nums; }
.halo-vehicle-page .halo-transaction-modal .overview-bottons { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 0; }
.halo-vehicle-page .halo-transaction-modal .overview-bottons .btn-overview { width: 100%; min-height: 48px; }
.halo-vehicle-page .halo-modal-notice { border-top: 1px solid #48463f; margin-top: 24px; padding-top: 16px; }
.halo-vehicle-page .halo-modal-notice p { margin: 0; font: 400 13px/1.7 Inter, Arial, sans-serif !important; color: #c7c3b8; }
.halo-vehicle-page .halo-modal-notice .halo-modal-fee { margin-top: 8px; color: #e4cc97; }
.halo-vehicle-page .halo-bid-summary { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; margin: 0 0 24px; }
.halo-vehicle-page .halo-bid-summary > div { padding: 18px; border: 1px solid #49473e; border-radius: 8px; background: #252525; min-width: 0; }
.halo-vehicle-page .halo-bid-summary dt { margin-bottom: 10px; font: 400 13px/1.5 Inter, Arial, sans-serif; color: #c7c3b8; }
.halo-vehicle-page .halo-bid-summary dd { margin: 0; overflow-wrap: anywhere; }
.halo-vehicle-page .halo-bid-summary strong { font: 500 32px/1.25 Oxanium, Arial, sans-serif !important; font-variant-numeric: tabular-nums; color: #fcfcfc; }
.halo-vehicle-page .halo-bid-summary-amount strong { color: #e4cc97; }
@media (max-width: 575px) {
  .halo-vehicle-page .halo-transaction-modal { padding: 24px 20px !important; margin: 16px auto !important; }
  .halo-vehicle-page .halo-transaction-modal .halo-modal-title { font-size: 25px !important; }
  .halo-vehicle-page .halo-bid-summary > div { padding: 14px; }
  .halo-vehicle-page .halo-bid-summary strong { font-size: 26px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .halo-vehicle-page .overview-bottons .btn-overview, .halo-vehicle-page .overview-compare a { transition: none; }
}
.halo-vehicle-page .overview-tabs { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.halo-vehicle-page .item-tabs { margin: 0; }
.halo-vehicle-page .item-tabs li { font: 500 25px/1.4 Oxanium, Arial, sans-serif !important; padding: 12px 0; text-transform: none; letter-spacing: 0; }
.halo-vehicle-page .overview-tab-wrap { padding-top: 0; }
/* Reset the old flex rows: labels and values each get their own grid column. */
.halo-vehicle-page #overview > ul { display: block; margin: 0; padding: 0; }
.halo-vehicle-page #overview > ul > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 16px; width: 100%; float: none; padding: 10px 0 !important; background: transparent !important; border-bottom: 1px solid var(--halo-line); min-width: 0; }
.halo-vehicle-page #overview li strong { display: flex; align-items: center; gap: 8px; font: 400 12px/20px Inter, Arial, sans-serif; color: #bcbcb6; margin: 0; }
/* Restore the original 20px icon slot and 26px visual size for image/SVG icons. */
.halo-vehicle-page #overview li strong :is(i, .overview-icon) { width: 20px; height: 20px; margin: 0; flex: 0 0 20px; }
.halo-vehicle-page #overview li strong .overview-icon { scale: 1.3; }
.halo-vehicle-page #overview li strong i { font-size: 16px; scale: 1; }
.halo-vehicle-page #overview li span { display: block; margin: 0; font: 400 13px/20px Inter, Arial, sans-serif !important; text-align: right; overflow-wrap: break-word; padding: 0; }
.halo-vehicle-page .classified-tabs { margin-top: 18px !important; }
.halo-vehicle-page .classified-tabs .item-tabs li { font-size: 14px !important; line-height: 1.7 !important; }
.halo-vehicle-page .additional-text { margin: 18px 0 0 !important; padding: 16px 0 0 !important; border: 0 !important; border-top: 1px solid var(--halo-line) !important; border-radius: 0 !important; background: transparent !important; }
.halo-vehicle-page .additional-text p { font: 400 12px/1.7 Inter, Arial, sans-serif !important; color: #bcbcb6; margin: 0 !important; }
.halo-vehicle-page #page-content > .center-wrapper > .additional-text { display: flex; flex-direction: column; gap: 8px; }
/* Description follows the gallery, independently of the map/sidebar height. */
.halo-vehicle-page .vehicle-description-row { display: block; margin: 24px 0 0; padding: 0; }
.halo-vehicle-page .vehicle-description { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; margin: 0 !important; padding: 28px !important; border-radius: 8px !important; line-height: 1.8; }
.halo-vehicle-page .vehicle-description h2 { grid-column: 1 / -1; font: 500 25px/1.3 Oxanium, Arial, sans-serif !important; text-transform: none; margin: 0; padding-bottom: 18px; }
.halo-vehicle-page .vehicle-description h3 { font: 500 16px/1.4 Oxanium, Arial, sans-serif !important; }
.halo-vehicle-page .vehicle-description :is(p, li) { font-size: 14px; color: #d1d1ca; line-height: 1.8; }
.halo-vehicle-page .description-accordion { margin: 0; min-width: 0; }
.halo-vehicle-page .accordion-thumb { padding: 16px 40px 16px 16px; }
.halo-vehicle-page .vehicle-description .open-gallery { margin: 0; padding: 8px 0; }
/* The shared description also needs a linear reading order on printed sheets. */
@media print {
  .halo-vehicle-page .vehicle-description { display: block; padding: 0 !important; }
  .halo-vehicle-page .vehicle-description-row { padding-top: 0; }
  .halo-vehicle-page .halo-description-intro { margin-block: 20px; }
  .halo-vehicle-page #page-content > .center-wrapper > .additional-text { display: block; }
}
/* Keep enough card width for the price and countdown to share one band. */
@media (max-width: 1199px) {
  .halo-card-listings :is(#data, .halo-card-grid) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .halo-vehicle-page .halo-vehicle-heading-row > h1 { flex-basis: 100%; }
  .halo-vehicle-page .halo-vehicle-heading-row > .car-id { margin-left: 0; }
  .halo-vehicle-page .vehicle-description { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .halo-vehicle-page .slick-filter > .ml-auto { margin-left: 0 !important; }
}
@media (max-width: 991px) {
  /* Keep bidding ahead of the long description in mobile reading order. */
  .halo-vehicle-page .halo-vehicle-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .halo-vehicle-page .halo-vehicle-main { display: contents; }
  .halo-vehicle-page .gallery-col { order: 0; }
  .halo-vehicle-page .halo-vehicle-sidebar { order: 1; }
  .halo-vehicle-page .vehicle-description-row { order: 2; margin-top: 0; }
  .halo-card-listings :is(#data, .halo-card-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .halo-listings-page .btn-listing { margin-top: 14px; }
  .halo-vehicle-page .sidebar-overview { margin-top: 0; }
}
@media (max-width: 639px) {
  .halo-card-listings :is(#data, .halo-card-grid) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575px) {
  .halo-listings-page .halo-header-logo-col { flex-shrink: 0; }
  .halo-listings-page .live-number { text-align: left; }
  :is(.halo-listings-page, .halo-vehicle-page) #page-top { padding: 24px 0; }
  .halo-listings-page .stock-search-text { text-align: left !important; margin-top: 20px; }
  .halo-vehicle-page .overview-header { padding: 24px 0 26px !important; }
  .halo-vehicle-page .vehicle-description { padding: 18px !important; }
}
