@media (max-width: 1020px) {
  body {
    -webkit-text-size-adjust: none !important;
  }
}

body[data-design-system] {
  --brand: var(--primary, #57718a);
  --brand-hover: var(--primary-hover, #3f586f);
  --ink: var(--page-ink, #171717);
  --muted: var(--page-muted, #676767);
  --line: var(--page-line, #dedede);
  --surface: var(--page-surface, #f4f4f2);
  --white: #fff;
  --radius: var(--control-radius, 2px);
  --card-shadow: 0 8px 30px var(--shadow, rgba(0, 0, 0, .08));
  --site-width: var(--content-width, 1440px);
  --heading-font: var(--font-family-heading, var(--font-family-ui, Arial, Helvetica, sans-serif));
  --header-background: var(--theme-header-background, rgba(255,255,255,.98));
  --header-copy: var(--theme-header-copy, var(--ink));
  --header-muted: var(--theme-header-muted, var(--muted));
  --header-border: var(--theme-header-border, var(--line));
  --header-highlight: var(--theme-header-highlight, var(--brand));
  --header-divider: var(--theme-header-divider, rgba(0, 0, 0, .08));
  --utility-background: var(--theme-utility-background, #191919);
  --footer-background: var(--theme-footer-background, #121212);
  --footer-copy: var(--theme-footer-copy, #fff);
  --footer-muted: var(--theme-footer-muted, #bbb);
  --footer-line: var(--theme-footer-line, #393939);
  --banner-copy: var(--theme-banner-copy, #fff);
  --banner-heading: var(--theme-banner-heading, #fff);
  --banner-mid-text: var(--theme-banner-mid-text, #fff);
  --banner-button: var(--theme-banner-button, var(--brand));
  --banner-button-hover: var(--theme-banner-button-hover, var(--brand-hover));
  --banner-button-text: var(--theme-banner-button-text, #fff);
  color: var(--ink);
  font-family: var(--font-family-ui, Arial, Helvetica, sans-serif);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-size: 14px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-size: var(--body-font-size, 14px);
  line-height: var(--body-line-height, 23px);
}

.site-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.site-page > #main-content {
  flex: 1 0 auto;
  min-width: 0;
}

/* Lock viewport scrolling without making the body a scroll container for the sticky header. */
html:has(> body.menu-open:not([data-site-type="multi_brand"]) > [data-site-header]:not([data-header-layout="honda"])) {
  overflow: hidden;
}

a {
  color: var(--theme-default-link-copy, #000);
  text-decoration: none;
  transition: var(--theme-default-link-transition, color .2s linear);
}

a:hover {
  color: var(--theme-default-link-hover, #000);
}

img {
  display: block;
  max-width: 100%;
}

button, input, select {
  font: inherit;
}

h1, h2, h3, h4, h5 {
  color: var(--theme-small-heading-copy, var(--heading-ink, #000));
  font-family: var(--theme-default-heading-font, var(--heading-font));
  font-weight: var(--heading-font-weight, 400);
}

h1, h2 {
  color: var(--theme-large-heading-copy, var(--heading-ink, #000));
  font-family: var(--theme-large-heading-font, var(--theme-default-heading-font, var(--heading-font)));
}

h1 {
  font-family: var(--theme-h1-font, var(--theme-large-heading-font, var(--theme-default-heading-font, var(--heading-font))));
  font-weight: var(--theme-h1-weight, var(--heading-font-weight, 400));
}

h2 {
  font-weight: var(--theme-h2-weight, 300);
}

h3 {
  font-family: var(--theme-h3-font, var(--theme-default-heading-font, var(--heading-font)));
  font-weight: var(--theme-h3-weight, var(--heading-font-weight, 400));
}

/* Legacy reset leaves h6 in its surrounding text context. */

h6 {
  margin: 0;
  padding: 0;
  color: inherit;
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
}

.site-container {
  width: 100%;
  max-width: var(--site-width);
  padding-inline: 40px;
  margin-inline: auto;
}

.skip-link {
  box-sizing: content-box;
  position: absolute;
  top: auto;
  left: -10000px;
  z-index: 10000;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 4px;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 6px;
  left: 6px;
  z-index: 9999999;
  width: auto;
  height: auto;
  overflow: visible;
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

.skip-link:hover {
  background: #333;
  text-decoration: underline;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primaryBtn, var(--brand));
  border-radius: var(--radius);
  padding: 12px 24px;
  background: var(--primaryBtn, var(--brand));
  color: var(--theme-button-copy, #fff);
  font-family: var(--heading-font);
  font-weight: 400;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.button:hover, .button:focus-visible {
  background: var(--primaryBtn-hover, var(--brand-hover));
  color: var(--theme-button-hover-copy, var(--theme-button-copy, #fff));
}

:focus-visible {
  outline: 3px solid #005fcc !important;
  outline-offset: 3px !important;
}

:where(input, select, textarea)[aria-invalid="true"] {
  border-color: #b00020 !important;
  box-shadow: 0 0 0 2px rgba(176, 0, 32, .2) !important;
}

.button--secondary {
  background: transparent;
  color: var(--brand);
}

.external-media {
  position: relative;
  background: #e5e5e5;
}

.external-media > button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  border: 1px solid #fff;
  padding: 12px 18px;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.external-media.is-loaded > button {
  display: none;
}

.accessibility-dialog {
  --motion-dialog-duration: 0ms;
  position: fixed;
  inset: 0;
  display: none;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #333;
}

.accessibility-dialog[open] {
  display: grid;
  place-items: center;
}

.accessibility-dialog::backdrop {
  background: rgba(0, 0, 0, .8);
}

.accessibility-dialog__panel {
  position: relative;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  padding: 30px;
  background: #fff;
  color: #333;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
}

.accessibility-dialog__panel h2 {
  margin: 0 0 20px;
  border-bottom: 2px solid #005fcc;
  padding-bottom: 10px;
  color: #333;
  font-family: var(--font-family-ui);
  font-size: 24px;
  font-weight: 400;
  text-align: center;
}

.accessibility-dialog__close {
  position: absolute;
  top: 10px;
  right: 15px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 4px;
  padding: 0;
  background: transparent;
  color: #666;
  font-size: 24px;
  cursor: pointer;
}

.accessibility-dialog__close:is(:hover, :focus-visible) {
  outline: 2px solid #005fcc;
  background: #f0f0f0;
  color: #333;
}

.accessibility-dialog__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #eee;
  padding-block: 15px;
}

.accessibility-dialog__option > span {
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

.accessibility-dialog__option button {
  position: relative;
  flex: none;
  width: 60px;
  height: 30px;
  border: 2px solid transparent;
  border-radius: 15px;
  padding: 0;
  background: #ccc;
  cursor: pointer;
  transition: background 300ms ease;
}

.accessibility-dialog__option button::after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform 300ms ease;
}

.accessibility-dialog__option button[aria-checked="true"] {
  background: #005fcc;
}

.accessibility-dialog__option button[aria-checked="true"]::after {
  transform: translateX(28px);
}

.accessibility-dialog__option button:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

.accessibility-dialog__panel > a {
  display: block;
  margin-top: 20px;
  border: 2px solid #005fcc;
  border-radius: 4px;
  padding-block: 15px;
  color: #005fcc;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: background 300ms ease, color 300ms ease;
}

.accessibility-dialog__panel > a:is(:hover, :focus-visible) {
  background: #005fcc;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .accessibility-dialog__option button, .accessibility-dialog__option button::after, .accessibility-dialog__panel > a {
    transition: none;
  }
}

/* Preserve the original accessibility mode's media and banner-copy exceptions. */

body.has-high-contrast {
  background-color: #000 !important;
  color: #ff0 !important;
}

body.has-high-contrast *:not(
  img, .color-dot, .vehicle-card__color,
  .banner__track, .banner__slide, .banner__picture, .banner__content,
  .banner__heading, .banner__mid-text, .banner__description,
  .banner__pagination, .banner__indicator, .banner__pagination button,
  [data-gallery-pagination] button, [data-high-contrast-toggle], .quick-actions
),
body.has-high-contrast *::before,
body.has-high-contrast *::after {
  background-color: #000 !important;
  color: #ff0 !important;
  border-color: #ff0 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

body.has-high-contrast :is(.banner__slide, .banner__content, .banner__heading, .banner__mid-text, .banner__description) {
  background-color: transparent !important;
}

body.has-high-contrast .banner__slide--gradient::after {
  display: none;
}

body.has-high-contrast :is(a, a:visited, .non-car-home__link, .model-panel__category-link, .model-panel__categories button, .filter-tabs button):not(.banner__button) {
  color: #ff0 !important;
  text-decoration: underline;
}

body.has-high-contrast :is(input, select, textarea) {
  border: 1px solid #ff0 !important;
}

body.has-high-contrast :is(.button, button[type="submit"]):not(.banner__button, .site-footer__newsletter button) {
  border: 1px solid #ff0 !important;
}

body.has-high-contrast :is(.button, button[type="submit"]):not(.site-footer__newsletter button):focus {
  outline: 2px solid #ff0 !important;
}

body.has-high-contrast :is(.button, button[type="submit"]):not(.site-footer__newsletter button):focus-visible {
  outline-offset: 2px;
}

body.has-high-contrast [data-site-header]:not([data-header-layout="honda"]) .site-logo img {
  filter: invert(1);
}

/* Preserve the source's white image artwork when rendered through a mask. */

body.has-high-contrast .quick-action::before {
  background-color: var(--quick-action-contrast-background, #fff) !important;
}

body.has-high-contrast .back-to-top::before {
  background-color: var(--back-to-top-contrast-background, #fff) !important;
}

body.has-high-contrast .banner__indicator {
  background-color: transparent !important;
}

body.has-high-contrast :is(.model-catalogue__price-switch, .inventory-page__price-switch) .is-active,
body.has-high-contrast .pagination [aria-current="page"],
body.has-high-contrast [data-gallery-pagination] [aria-current="true"]::before {
  background-color: #ff0 !important;
  color: #000 !important;
}

body.has-high-contrast ::selection {
  background: #ff0 !important;
  color: #000 !important;
}

.not-found {
  padding-bottom: 40px;
}

.not-found__inner {
  min-height: 400px;
  padding-top: 40px;
}

@media (max-width: 1020px) {
  .not-found__inner {
    min-height: 0;
    padding-top: 20px;
  }
}

@media (max-width: 1020px) {
  .site-container {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.navigation-model-image {
  width: 7rem;
  height: 4rem;
  object-fit: contain;
  display: block;
}

.media-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eee, #ddd);
}

/* Original mobile viewport and scrollbar reset, shared by every selected theme. */

@media (max-width: 680px) {
  :where(html:has(body[data-design-system])) {
    overflow-x: scroll;
  }

  :where(html:has(body[data-design-system]), body[data-design-system] *)::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 3px;
  }

  :where(html:has(body[data-design-system]), body[data-design-system] *)::-webkit-scrollbar:horizontal {
    -webkit-appearance: none;
    height: 3px;
  }

  :where(html:has(body[data-design-system]), body[data-design-system] *)::-webkit-scrollbar-thumb {
    background-color: #797979;
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
  }
}
