/* Canonical Nippon Vehicles mobile header and off-canvas navigation. */
.nvh-mobile-actions,
.nvh-mobile-topbar-copy,
.nvh-drawer-backdrop,
.nvh-mobile-drawer {
  display: none !important;
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  html.nvh-scroll-locked,
  body.nvh-scroll-locked {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  .nvh-global-shell,
  .nvh-global-shell *,
  .nvh-global-shell *::before,
  .nvh-global-shell *::after {
    box-sizing: border-box;
  }

  .nvh-global-shell .nvh-topbar {
    display: none !important;
  }

  .nvh-global-shell .nvh-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99990 !important;
    width: 100% !important;
    min-width: 0 !important;
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid #dce2e7 !important;
    box-shadow: 0 3px 14px rgba(7, 25, 38, 0.08) !important;
    overflow: visible !important;
  }

  body.admin-bar .nvh-global-shell .nvh-header {
    top: 46px !important;
  }

  .nvh-global-shell .nvh-header-inner {
    width: 100% !important;
    max-width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    overflow: hidden !important;
  }

  .nvh-global-shell .nvh-logo {
    display: flex !important;
    flex: 1 1 auto !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 172px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
    overflow: hidden !important;
  }

  .nvh-global-shell .nvh-logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 46px !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  .nvh-global-shell .nvh-logo-empty {
    position: relative !important;
    width: 154px !important;
    max-width: 100% !important;
    height: 44px !important;
    min-width: 0 !important;
    min-height: 44px !important;
    border: 0 !important;
    border-left: 5px solid var(--nvh-accent, #db2d2e) !important;
    background: #fff !important;
  }

  .nvh-global-shell .nvh-logo-empty::after {
    content: "NIPPON VEHICLES" !important;
    display: flex !important;
    align-items: center !important;
    height: 44px !important;
    padding: 0 8px !important;
    color: #0b2131 !important;
    font: 900 14px/1 Arial, Helvetica, sans-serif !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  .nvh-global-shell .nvh-menu {
    display: none !important;
  }

  .nvh-global-shell .nvh-mobile-actions {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    gap: 8px !important;
    height: 44px !important;
  }

  .nvh-global-shell .nvh-stock-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 62px !important;
    height: 44px !important;
    padding: 0 11px !important;
    border: 1px solid var(--nvh-accent, #db2d2e) !important;
    border-radius: 4px !important;
    background: var(--nvh-accent, #db2d2e) !important;
    color: #fff !important;
    font: 900 11px/1 Arial, Helvetica, sans-serif !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
  }

  .nvh-global-shell .nvh-mobile-toggle {
    position: relative !important;
    display: inline-flex !important;
    flex: 0 0 44px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #ced7de !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #0b2131 !important;
    box-shadow: none !important;
    cursor: pointer !important;
  }

  .nvh-global-shell .nvh-mobile-toggle:focus-visible,
  .nvh-global-shell .nvh-drawer-close:focus-visible,
  .nvh-global-shell .nvh-accordion-toggle:focus-visible,
  .nvh-global-shell .nvh-mobile-drawer a:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 2px !important;
  }

  .nvh-burger-lines,
  .nvh-burger-lines::before,
  .nvh-burger-lines::after {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    border-radius: 0 !important;
    background: currentColor !important;
    content: "" !important;
    transition: transform 180ms ease, opacity 180ms ease !important;
  }

  .nvh-burger-lines {
    position: relative !important;
  }

  .nvh-burger-lines::before {
    position: absolute !important;
    top: -7px !important;
    left: 0 !important;
  }

  .nvh-burger-lines::after {
    position: absolute !important;
    top: 7px !important;
    left: 0 !important;
  }

  .nvh-global-shell .nvh-header.nvh-menu-open .nvh-burger-lines {
    background: transparent !important;
  }

  .nvh-global-shell .nvh-header.nvh-menu-open .nvh-burger-lines::before {
    top: 0 !important;
    transform: rotate(45deg) !important;
  }

  .nvh-global-shell .nvh-header.nvh-menu-open .nvh-burger-lines::after {
    top: 0 !important;
    transform: rotate(-45deg) !important;
  }

  .nvh-global-shell .nvh-drawer-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99995 !important;
    display: block !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: rgba(3, 14, 22, 0.66) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 240ms ease, visibility 240ms ease !important;
  }

  .nvh-global-shell .nvh-drawer-backdrop.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.admin-bar .nvh-global-shell .nvh-drawer-backdrop {
    top: 46px !important;
    height: calc(100vh - 46px) !important;
    height: calc(100dvh - 46px) !important;
  }

  .nvh-global-shell .nvh-mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 100000 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 88vw !important;
    max-width: 380px !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 !important;
    background: #081d2b !important;
    color: #fff !important;
    box-shadow: -18px 0 46px rgba(0, 0, 0, 0.28) !important;
    overflow: hidden !important;
    visibility: hidden !important;
    transform: translate3d(100%, 0, 0) !important;
    pointer-events: none !important;
    transition: transform 240ms ease, visibility 240ms ease !important;
  }

  body.admin-bar .nvh-global-shell .nvh-mobile-drawer {
    top: 46px !important;
    height: calc(100vh - 46px) !important;
    height: calc(100dvh - 46px) !important;
  }

  .nvh-global-shell .nvh-mobile-drawer.is-open {
    visibility: visible !important;
    transform: translate3d(0, 0, 0) !important;
    pointer-events: auto !important;
  }

  .nvh-global-shell .nvh-drawer-head {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 78px !important;
    padding: calc(12px + env(safe-area-inset-top)) 14px 12px 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: #071925 !important;
  }

  body.admin-bar .nvh-global-shell .nvh-drawer-head {
    padding-top: 12px !important;
  }

  .nvh-global-shell .nvh-drawer-brand {
    display: grid !important;
    grid-template-columns: 5px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 10px !important;
    min-width: 0 !important;
  }

  .nvh-global-shell .nvh-drawer-brand-mark {
    display: block !important;
    width: 5px !important;
    height: 42px !important;
    background: var(--nvh-accent, #db2d2e) !important;
  }

  .nvh-global-shell .nvh-drawer-brand-copy {
    display: block !important;
    min-width: 0 !important;
  }

  .nvh-global-shell .nvh-drawer-brand strong,
  .nvh-global-shell .nvh-drawer-brand small {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: 0 !important;
  }

  .nvh-global-shell .nvh-drawer-brand strong {
    color: #fff !important;
    font: 900 15px/1.2 Arial, Helvetica, sans-serif !important;
  }

  .nvh-global-shell .nvh-drawer-brand small {
    margin-top: 4px !important;
    color: #abc0cd !important;
    font: 600 10px/1.25 Arial, Helvetica, sans-serif !important;
    white-space: normal !important;
  }

  .nvh-global-shell .nvh-drawer-close {
    display: inline-flex !important;
    flex: 0 0 44px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: #fff !important;
    cursor: pointer !important;
  }

  .nvh-global-shell .nvh-drawer-close svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
  }

  .nvh-global-shell .nvh-drawer-scroll {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 16px 16px calc(22px + env(safe-area-inset-bottom)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .nvh-global-shell .nvh-drawer-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
    margin: 0 0 16px !important;
  }

  .nvh-global-shell .nvh-drawer-action {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 10px 14px !important;
    border: 1px solid #d7e0e6 !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: #fff !important;
    font: 900 12px/1.2 Arial, Helvetica, sans-serif !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  .nvh-global-shell .nvh-drawer-action-primary {
    border-color: var(--nvh-accent, #db2d2e) !important;
    background: var(--nvh-accent, #db2d2e) !important;
  }

  .nvh-global-shell .nvh-drawer-nav,
  .nvh-global-shell .nvh-drawer-menu,
  .nvh-global-shell .nvh-drawer-submenu {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .nvh-global-shell .nvh-drawer-menu > li,
  .nvh-global-shell .nvh-drawer-submenu > li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .nvh-global-shell .nvh-drawer-menu > li {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .nvh-global-shell .nvh-drawer-menu > li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .nvh-global-shell .nvh-drawer-menu-row {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    min-height: 48px !important;
  }

  .nvh-global-shell .nvh-drawer-menu-row > a {
    display: flex !important;
    flex: 1 1 auto !important;
    align-items: center !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 11px 8px 11px 2px !important;
    color: #f5f8fa !important;
    font: 800 13px/1.25 Arial, Helvetica, sans-serif !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-transform: none !important;
  }

  .nvh-global-shell .nvh-accordion-toggle {
    display: inline-flex !important;
    flex: 0 0 44px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin: 2px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: #b7c8d2 !important;
    cursor: pointer !important;
  }

  .nvh-global-shell .nvh-accordion-toggle svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    transition: transform 180ms ease !important;
  }

  .nvh-global-shell .nvh-accordion-toggle .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
  }

  .nvh-global-shell .nvh-accordion-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg) !important;
  }

  .nvh-global-shell .nvh-drawer-submenu[hidden] {
    display: none !important;
  }

  .nvh-global-shell .nvh-drawer-submenu {
    padding: 0 0 8px 13px !important;
    border-left: 2px solid var(--nvh-accent, #db2d2e) !important;
  }

  .nvh-global-shell .nvh-drawer-submenu a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 44px !important;
    padding: 9px 8px 9px 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #bfd0da !important;
    font: 700 11.5px/1.3 Arial, Helvetica, sans-serif !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    white-space: normal !important;
  }

  .nvh-global-shell .nvh-drawer-menu a:hover,
  .nvh-global-shell .nvh-drawer-menu a:focus,
  .nvh-global-shell .nvh-accordion-toggle:hover,
  .nvh-global-shell .nvh-accordion-toggle:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.07) !important;
  }

  .nvh-global-shell .nvh-drawer-contact {
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  }

  .nvh-global-shell .nvh-drawer-contact-title {
    margin: 0 0 8px !important;
    color: #8099a8 !important;
    font: 900 10px/1.2 Arial, Helvetica, sans-serif !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
  }

  .nvh-global-shell .nvh-drawer-contact a,
  .nvh-global-shell .nvh-drawer-hours {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 8px 2px !important;
    border: 0 !important;
    background: transparent !important;
    color: #d8e3e9 !important;
    font: 700 11px/1.3 Arial, Helvetica, sans-serif !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    overflow-wrap: anywhere !important;
  }

  .nvh-global-shell .nvh-drawer-contact svg {
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    stroke: var(--nvh-accent, #db2d2e) !important;
  }
}

@media (max-width: 340px) {
  .nvh-global-shell .nvh-header-inner {
    padding-right: 8px !important;
    padding-left: 8px !important;
    gap: 6px !important;
  }

  .nvh-global-shell .nvh-logo {
    max-width: 158px !important;
  }

  .nvh-global-shell .nvh-stock-btn {
    min-width: 58px !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  .nvh-global-shell .nvh-mobile-actions {
    gap: 6px !important;
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .nvh-global-shell .nvh-mobile-drawer,
  .nvh-global-shell .nvh-drawer-backdrop,
  .nvh-global-shell .nvh-burger-lines,
  .nvh-global-shell .nvh-burger-lines::before,
  .nvh-global-shell .nvh-burger-lines::after,
  .nvh-global-shell .nvh-accordion-toggle svg {
    transition-duration: 1ms !important;
  }
}
