/* Quiet utility refinements remain scoped to the OVERDRIVE comparison. */
.od-page-scroll { display: contents; }
.od-mobile-call { display: none; }

.overdrive-page .od-inventory::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgb(16 16 17 / .84) 64px, rgb(16 16 17 / .84) calc(100% - 64px), transparent);
}

.overdrive-page .od-filters {
  grid-template-columns: minmax(160px, 1.6fr) minmax(110px, .9fr) minmax(110px, .9fr) minmax(170px, 1.2fr) auto auto;
  gap: 12px;
}
body.od-js .od-filters[data-stock-enhanced] {
  grid-template-columns: minmax(160px, 1.6fr) minmax(110px, .9fr) minmax(110px, .9fr) minmax(170px, 1.2fr) auto;
}
body.od-js [data-stock-enhanced] .od-search-button { display: none; }
.overdrive-page .od-field { min-width: 0; }
.overdrive-page .od-reset { grid-column: auto; min-height: 49px; margin: 0; padding-inline: 8px; }
.overdrive-page .od-search-button { margin: 0; }
.overdrive-page .od-car .od-car-copy .od-specs { font-size: 14px; line-height: 1.6; color: #d7d1c7; gap: 3px 12px; }
.overdrive-page .od-car.is-lead .od-car-copy .od-specs { color: #4c4640; }
.od-spec-powertrain { display: inline-flex; gap: 12px; }
.overdrive-page .od-car .od-car-bottom span,
.overdrive-page .od-reset,
.overdrive-page .od-address .od-text-link { font-size: 14px; }
.overdrive-page .od-brand { display: inline-flex; align-items: center; min-height: 44px; }
.overdrive-page .od-footer { font-size: 14px; color: #d7d1c7; }
.overdrive-page .od-footer nav { gap: 16px 24px; }

.overdrive-page .od-location { align-items: start; }
.overdrive-page .od-address { justify-content: flex-start; }
.od-address-street { display: block; font-family: var(--od-display); font-size: clamp(48px, 4.4vw, 64px); font-weight: 400; line-height: 1.05; margin-bottom: 6px; }
.od-opening-hours { width: 100%; max-width: 350px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--od-border); }
.od-opening-hours h4 { margin: 0 0 10px; font: 700 16px/1.4 var(--od-body); }
.od-opening-hours dl > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 6px; font-size: 14px; line-height: 1.6; }
.od-opening-hours dt { font-weight: 400; }
.od-opening-hours dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.overdrive-page .od-map-invitation { min-height: 0; padding: 24px; justify-content: flex-start; }
.overdrive-page .od-map-invitation h3 { font-size: 36px; margin-bottom: 0; }
.overdrive-page .od-map .od-map-invitation p { font-size: 14px; margin-top: 12px; }
.overdrive-page .od-map-actions .od-text-link { font-size: 14px; }
.overdrive-page .od-map iframe { height: 320px; }

@media (max-width: 1100px) {
  .overdrive-page .od-filters:not([data-stock-enhanced]) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .overdrive-page .od-filters:not([data-stock-enhanced]) .od-search,
  .overdrive-page .od-filters:not([data-stock-enhanced]) .od-sort { grid-column: span 2; }
}
@media (max-width: 760px) {
  body.overdrive-page { --od-call-rail-height: calc(64px + env(safe-area-inset-bottom, 0px)); height: 100vh; height: 100dvh; overflow: hidden; }
  .od-page-scroll {
    display: block;
    height: calc(100vh - var(--od-call-rail-height));
    height: calc(100dvh - var(--od-call-rail-height));
    overflow-y: auto;
    overflow-x: hidden;
    scroll-padding-block: 16px;
    scrollbar-color: #716b62 var(--od-black);
    scrollbar-width: thin;
  }
  .od-page-scroll:focus-visible { outline-offset: -3px; }
  .od-mobile-call {
    position: fixed;
    z-index: 25;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: var(--od-call-rail-height);
    padding: 8px 20px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--od-border);
    background: var(--od-black);
  }
  .od-call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    width: min(100%, 360px);
    padding: 10px 16px;
    color: var(--od-black);
    background: var(--od-paper);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
  }
  .od-call-button:hover { color: #000; background: #fff; text-decoration: none; }
  .od-call-button:focus-visible { outline-color: var(--od-red); outline-offset: 2px; }
  .od-call-button i { font-size: 18px; }
  .overdrive-page .od-filters,
  .overdrive-page .od-filters:not([data-stock-enhanced]),
  body.od-js .od-filters[data-stock-enhanced] { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .overdrive-page .od-filters .od-search { grid-column: 1 / -1; }
  .overdrive-page .od-filters > .od-field:not(.od-search):not(.od-sort) { grid-column: span 3; }
  .overdrive-page .od-filters .od-sort { grid-column: 1 / -1; }
  .overdrive-page .od-filters .od-search-button { grid-column: 1 / span 3; justify-self: start; }
  .overdrive-page .od-filters .od-reset { grid-column: 4 / span 3; justify-self: end; }
  body.od-js .od-filters[data-stock-enhanced] .od-sort { grid-column: 1 / span 4; }
  body.od-js .od-filters[data-stock-enhanced] .od-reset { grid-column: 5 / span 2; min-height: 49px; margin: 0; }
  .overdrive-page .od-car:not(.is-lead) .od-car-copy .od-specs { gap: 2px 6px; }
  .od-spec-powertrain { gap: 6px; }
  .overdrive-page .od-map-invitation { padding: 20px; }
  .overdrive-page .od-map iframe { height: 285px; }
}
/* Phone in the desktop header; mobile has the fixed call bar instead. */
.od-nav-phone { font-variant-numeric: tabular-nums; white-space: nowrap; }
.od-nav-phone i { font-size: 16px; }
.overdrive-page .od-stock-status { font-size: 14px; }
.od-empty-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
/* Cream on red is about 4:1, so this line stays large text (19px bold). */
.od-phone-note { max-width: 58ch; margin: -8px 0 30px; font-size: 19px; font-weight: 700; line-height: 1.45; }
.od-phone-note a { text-decoration: underline; text-underline-offset: 4px; }
.od-call-hours { font-size: 13px; font-weight: 600; color: #4c4640; }
@media (max-width: 760px) {
  .od-navigation .od-nav-phone { display: none; }
  .od-phone-note { margin: -10px 0 26px; }
}
/* PHP frontend: one-line notices from the site's config files (for example "Du er logget inn."). */
.od-flash{padding:14px var(--od-gutter);background:var(--od-paper);color:var(--od-black);font-weight:700}
.od-flash .form-status{margin:0}
