/* ========================================================================== */
/* WHEEL-LIFT TOWING PAGE HEADER MOBILE — wheel-lift-towing.html ONLY                                */
/* Ported from index.css mobile drawer block (data-index-page → data-wheel-lift-towing-page)*/
/* Layout + drawer mechanics. Glass = visuals. Hamburger file = desktop offset.  */
/* ========================================================================== */

/* ---- Ultra-narrow + mobile topbar compact (100px–980px) ---- */
@media (max-width: 980px) {
  html[data-wheel-lift-towing-page],
  html[data-wheel-lift-towing-page] body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    min-width: 0;
  }

  html[data-wheel-lift-towing-page] .header-section,
  html[data-wheel-lift-towing-page] .header-section .container,
  html[data-wheel-lift-towing-page] body .header-wrapper,
  html[data-wheel-lift-towing-page] body .site-header__mobile-brand,
  html[data-wheel-lift-towing-page] body .site-drawer,
  html[data-wheel-lift-towing-page] body .drawer-nav,
  html[data-wheel-lift-towing-page] body .drawer-submenu__links {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Topbar: hide flank pills on small screens — social row only */
  html[data-wheel-lift-towing-page] body .header__top.topbar-v3 .topbar-v3__left,
  html[data-wheel-lift-towing-page] body .header__top.topbar-v3 .topbar-v3__right {
    display: none !important;
  }

  html[data-wheel-lift-towing-page] body .header__top.topbar-v3 .header__wrapper.topbar-v3__row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 4px 8px !important;
  }

  html[data-wheel-lift-towing-page] body .header__top.topbar-v3 .topbar-v3__social {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    flex-wrap: nowrap !important;
    gap: clamp(4px, 1.2vw, 8px) !important;
    justify-content: center !important;
  }

  html[data-wheel-lift-towing-page] body .header__top.topbar-v3 .topbar-v3__social > li {
    transform: none !important;
  }

  html[data-wheel-lift-towing-page] body .mega-shell,
  html[data-wheel-lift-towing-page] body .mega-panel {
    display: none !important;
  }

  html[data-wheel-lift-towing-page] body .header-wrapper {
    position: relative !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12.6px !important;
    min-height: 82.8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: clamp(8px, 3vw, 16px) !important;
    padding-right: 111.6px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  html[data-wheel-lift-towing-page] body .header-wrapper .logo__menuadjust,
  html[data-wheel-lift-towing-page] body .header-wrapper .menu__components {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    max-width: none !important;
    overflow: visible !important;
  }

  html[data-wheel-lift-towing-page] body .header-wrapper .menu__components .fa-bars,
  html[data-wheel-lift-towing-page] body .header-wrapper .menu__components #openButton {
    display: none !important;
  }

  html[data-wheel-lift-towing-page] body .header-wrapper .main__logo {
    display: none !important;
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html[data-wheel-lift-towing-page] body .site-header__mobile-brand {
    display: inline-flex !important;
    flex: 1 1 auto !important;
    align-items: center !important;
    min-width: 0 !important;
    max-width: calc(100% - 111.6px) !important;
    overflow: hidden !important;
  }

  html[data-wheel-lift-towing-page] body .site-header__mobile-brand img {
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
  }

  html[data-wheel-lift-towing-page] body .site-header__mobile-brand span {
    color: #fff !important;
    font-size: 1.35rem !important;
    text-transform: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Layout pin — beats glass position:relative (same specificity, loads after glass) */
  html[data-wheel-lift-towing-page] body #mobileHeaderHamburger.mobile-nav-toggle,
  html[data-wheel-lift-towing-page] body .header-wrapper > .mobile-nav-toggle#mobileHeaderHamburger,
  html[data-wheel-lift-towing-page] body .header-wrapper > button.mobile-nav-toggle#mobileHeaderHamburger {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: absolute !important;
    top: 50% !important;
    right: 39.6px !important;
    transform: translateY(-50%) !important;
    min-width: 48.6px !important;
    width: 48.6px !important;
    height: 54px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    z-index: 10001 !important;
    box-sizing: border-box !important;
  }

  html[data-wheel-lift-towing-page] body #mobileHeaderHamburger.mobile-nav-toggle:hover,
  html[data-wheel-lift-towing-page] body .header-wrapper > .mobile-nav-toggle#mobileHeaderHamburger:hover,
  html[data-wheel-lift-towing-page] body #mobileHeaderHamburger.mobile-nav-toggle:focus-visible,
  html[data-wheel-lift-towing-page] body .header-wrapper > .mobile-nav-toggle#mobileHeaderHamburger:focus-visible {
    transform: translateY(calc(-50% - 2px)) !important;
  }

  html[data-wheel-lift-towing-page] body #mobileHeaderHamburger.mobile-nav-toggle:active,
  html[data-wheel-lift-towing-page] body .header-wrapper > .mobile-nav-toggle#mobileHeaderHamburger:active {
    transform: translateY(-50%) scale(0.98) !important;
  }

  html[data-wheel-lift-towing-page] body .site-drawer:not(.is-open) {
    transform: translateX(105%) !important;
  }

  html[data-wheel-lift-towing-page] body .site-drawer.is-open {
    display: flex !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
  }

  html[data-wheel-lift-towing-page] body .site-drawer-backdrop[hidden] {
    display: none !important;
  }

  html[data-wheel-lift-towing-page] body .site-drawer .drawer-nav__link,
  html[data-wheel-lift-towing-page] body .site-drawer .drawer-nav__toggle,
  html[data-wheel-lift-towing-page] body .site-drawer .drawer-submenu__links a,
  html[data-wheel-lift-towing-page] body .site-drawer .site-drawer__brand strong,
  html[data-wheel-lift-towing-page] body .site-drawer .site-drawer__brand span {
    text-transform: none !important;
  }

  html[data-wheel-lift-towing-page] body.drawer-open {
    overflow: hidden !important;
  }
}

@media (max-width: 640px) {
  html[data-wheel-lift-towing-page] body .site-header__mobile-brand img {
    width: 46.8px !important;
    height: 46.8px !important;
    max-width: 46.8px !important;
  }

  html[data-wheel-lift-towing-page] body .site-header__mobile-brand span {
    max-width: 133.2px !important;
    font-size: 1.062rem !important;
  }

  html[data-wheel-lift-towing-page] body #mobileHeaderHamburger,
  html[data-wheel-lift-towing-page] body .header-wrapper > .mobile-nav-toggle {
    min-width: 52px !important;
    width: 52px !important;
    right: 36px !important;
  }
}

@media (max-width: 384px) {
  html[data-wheel-lift-towing-page] body .header-wrapper {
    padding-right: clamp(44px, 12vw, 56px) !important;
  }

  html[data-wheel-lift-towing-page] body #mobileHeaderHamburger,
  html[data-wheel-lift-towing-page] body .header-wrapper > .mobile-nav-toggle {
    right: clamp(8px, 3vw, 16px) !important;
    min-width: 40px !important;
    width: 40px !important;
  }

  html[data-wheel-lift-towing-page] body .site-header__mobile-brand {
    max-width: calc(100% - clamp(48px, 14vw, 72px)) !important;
  }

  html[data-wheel-lift-towing-page] body .site-header__mobile-brand span {
    max-width: 100% !important;
    font-size: clamp(0.72rem, 4.2vw, 0.95rem) !important;
    line-height: 1.05 !important;
  }
}

/* ---- Tablet + desktop drawer (981px+) ---- */
@media (min-width: 981px) {
  /* Beat responsive.css max-width:991 #mobileHeaderHamburger { display:block } */
  html[data-wheel-lift-towing-page] body .site-header__mobile-brand,
  html[data-wheel-lift-towing-page] body #mobileHeaderHamburger.mobile-nav-toggle,
  html[data-wheel-lift-towing-page] body .header-wrapper > .mobile-nav-toggle#mobileHeaderHamburger,
  html[data-wheel-lift-towing-page] body .header-wrapper > button.mobile-nav-toggle#mobileHeaderHamburger {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
  }

  html[data-wheel-lift-towing-page] body .header-wrapper .logo__menuadjust {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow: visible !important;
    grid-template-columns: none !important;
  }

  html[data-wheel-lift-towing-page] body .header-wrapper .menu__components {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  html[data-wheel-lift-towing-page] body .header-wrapper .menu__components #openButton {
    display: inline-flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  html[data-wheel-lift-towing-page] body .site-drawer.is-open {
    display: flex !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
  }

  html[data-wheel-lift-towing-page] body .site-drawer-backdrop:not([hidden]) {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* 981–1340 responsive overrides → about-page-header-responsive.css */