/* V9184 — desktop dock and bottom publishing navigation share one width.
   Prevent the bottom bar from protruding into the vehicle listings on desktop.
   Desktop-only; do not change tablet/mobile drawer or bottom navigation. */
@media (min-width: 1180px) {
  :root {
    /* At 1720px this is about 452px; at smaller desktops it scales down. */
    --desktop-fixed-sidebar: clamp(360px, 26.3vw, 452px) !important;
    /* The older layout still uses this name for main content and footer. */
    --desktop-sidebar-width: var(--desktop-fixed-sidebar) !important;
  }

  html body:not(.admin-body) .site-header nav[data-nav].main-nav.compact-menu.slide-drawer-menu {
    box-sizing: border-box !important;
    right: 0 !important;
    left: auto !important;
    width: var(--desktop-fixed-sidebar) !important;
    min-width: var(--desktop-fixed-sidebar) !important;
    max-width: var(--desktop-fixed-sidebar) !important;
  }

  /* Both edges of the bottom bar line up exactly with the docked sidebar. */
  html body.sayyarati-home-v8448-body:not(.admin-body) nav.home-bottom-nav.bottom-nav-png-v82 {
    box-sizing: border-box !important;
    position: fixed !important;
    right: 0 !important;
    left: auto !important;
    width: var(--desktop-fixed-sidebar) !important;
    min-width: var(--desktop-fixed-sidebar) !important;
    max-width: var(--desktop-fixed-sidebar) !important;
    margin: 0 !important;
    z-index: 1601 !important;
  }

  /* Last sidebar links must be reachable above the overlaid bottom bar. */
  html body.sayyarati-home-v8448-body:not(.admin-body) .site-header nav[data-nav].main-nav.compact-menu.slide-drawer-menu {
    padding-bottom: calc(110px + var(--sy-bottom-nav-safe, 0px)) !important;
    scroll-padding-bottom: 110px;
  }
}
