.od-page-scroll {
  display: contents;
}
.od-mobile-call {
  display: none;
}

.home-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 / 0.84) 64px,
    rgb(16 16 17 / 0.84) calc(100% - 64px),
    transparent
  );
}

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

.home-page .od-location {
  align-items: start;
}
.home-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;
}
.home-page .od-map-info {
  min-height: 0;
  padding: 24px;
  justify-content: flex-start;
}
.home-page .od-map-info h3 {
  font-size: 36px;
  margin-bottom: 0;
}
.home-page .od-map .od-map-info p {
  font-size: 14px;
  margin-top: 12px;
}
.home-page .od-map-actions .od-text-link {
  font-size: 14px;
}
.home-page .od-map iframe {
  height: 320px;
}

@media (max-width: 1100px) {
  .home-page .od-filters:not([data-stock-enhanced]) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .home-page .od-filters:not([data-stock-enhanced]) .od-search,
  .home-page .od-filters:not([data-stock-enhanced]) .od-sort {
    grid-column: span 2;
  }
}
@media (max-width: 760px) {
  body.home-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;
  }
  .home-page .od-filters,
  .home-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;
  }
  .home-page .od-filters .od-search {
    grid-column: 1 / -1;
  }
  .home-page .od-filters > .od-field:not(.od-search):not(.od-sort) {
    grid-column: span 3;
  }
  .home-page .od-filters .od-sort {
    grid-column: 1 / -1;
  }
  .home-page .od-filters .od-search-button {
    grid-column: 1 / span 3;
    justify-self: start;
  }
  .home-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;
  }
  .home-page .od-car:not(.is-lead) .od-car-copy .od-specs {
    gap: 2px 6px;
  }
  .od-spec-powertrain {
    gap: 6px;
  }
  .home-page .od-map-info {
    padding: 20px;
  }
  .home-page .od-map iframe {
    height: 285px;
  }
}
/* Phone number in the header, mobile uses the call bar */
.od-nav-phone {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.od-nav-phone i {
  font-size: 16px;
}
.home-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 only about 4:1, keep this text large */
.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;
  }
}
/* Flash messages */
.od-flash {
  padding: 14px var(--od-gutter);
  background: var(--od-paper);
  color: var(--od-black);
  font-weight: 700;
}
.od-flash .form-status {
  margin: 0;
}
