/* theWay Custom Header v2.1.6
   Fully scoped, viewport-level header so Elementor cannot constrain overlays. */

.theway-header {
  --tw-top: 12px;
  --tw-gutter: 12px;
  --tw-max: 1720px;
  --tw-height: 76px;
  --tw-mobile-height: 62px;
  --tw-bg: rgba(35, 36, 38, .80);
  --tw-panel: rgba(24, 25, 27, .98);
  --tw-panel-alt: rgba(34, 35, 38, .98);
  --tw-text: #fff;
  --tw-muted: rgba(255,255,255,.68);
  --tw-hover: rgba(255,255,255,.09);
  --tw-red: #ee2b37;
  --tw-red-hover: #d82330;
  --tw-pill: 999px;
  --tw-panel-radius: 22px;
  --tw-fast: 120ms;
  --tw-motion: 220ms;
  --tw-ease: cubic-bezier(0,0,.2,1);

  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  max-width: none !important;
  height: 100vh !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  z-index: 2147483000 !important;
  pointer-events: none !important;
  font-family: "Poppins", Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  color: var(--tw-text) !important;
  text-align: left !important;
}

.theway-header,
.theway-header *,
.theway-header *::before,
.theway-header *::after { box-sizing: border-box !important; }

.theway-header :where(a, button, nav, ul, li, div, span, img, svg, aside) {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background-image: none;
  text-transform: none;
  letter-spacing: normal;
}

.theway-header a,
.theway-header a:hover,
.theway-header a:focus,
.theway-header a:visited {
  text-decoration: none !important;
  box-shadow: none !important;
}

.theway-header button {
  appearance: none !important;
  -webkit-appearance: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  font: inherit !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

/* Respect the native hidden state even against Elementor/theme display rules. */
.theway-header [hidden] { display: none !important; }

.theway-header ul { list-style: none !important; }
.theway-header img { display: block !important; max-width: none !important; }
.theway-header svg { display: block !important; }

.theway-header__bar > *,
.theway-header__left > *,
.theway-header__actions > * {
  line-height: normal !important;
}



/* Main floating glass pill */
.theway-header__bar {
  pointer-events: auto !important;
  position: absolute !important;
  top: var(--tw-top) !important;
  left: 50% !important;
  width: calc(100vw - (var(--tw-gutter) * 2)) !important;
  max-width: var(--tw-max) !important;
  height: var(--tw-height) !important;
  min-height: var(--tw-height) !important;
  transform: translateX(-50%) !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 0 12px 0 4px !important;
  color: var(--tw-text) !important;
  background-color: var(--tw-bg) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: var(--tw-pill) !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.22) !important;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  overflow: visible !important;
}

.theway-header__left {
  min-width: 0 !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  align-self: center !important;
  gap: 8px !important;
}

.theway-central-switcher {
  position: relative !important;
  height: 100% !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
}

.theway-central-button {
  width: 92px !important;
  height: 60px !important;
  min-height: 60px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: var(--tw-pill) !important;
  cursor: pointer !important;
  transition: background-color var(--tw-fast) ease !important;
}
.theway-central-button:hover,
.theway-central-button:focus-visible,
.theway-central-switcher.is-open .theway-central-button {
  background: var(--tw-hover) !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.theway-central-button img {
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
}
.theway-central-button__chevron {
  width: 9px !important;
  height: 9px !important;
  flex: 0 0 9px !important;
  display: block !important;
  border-right: 2px solid rgba(255,255,255,.70) !important;
  border-bottom: 2px solid rgba(255,255,255,.70) !important;
  transform: rotate(45deg) translateY(-2px) !important;
  transform-origin: 50% 50% !important;
  transition: transform var(--tw-fast) ease !important;
}
.theway-central-switcher.is-open .theway-central-button__chevron {
  transform: rotate(225deg) translate(-1px, -1px) !important;
}

.theway-brand {
  height: 100% !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  padding: 0 16px !important;
  flex: 0 0 auto !important;
  line-height: 0 !important;
}
.theway-brand img {
  display: block !important;
  width: auto !important;
  height: 56px !important;
  max-height: 56px !important;
  object-fit: contain !important;
  object-position: center center !important;
  vertical-align: middle !important;
}

/* Center navigation independent of left/right widths. */
.theway-primary-nav {
  justify-self: center !important;
  min-width: 0 !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
}
.theway-primary-nav__list {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
}
.theway-primary-nav__list > li {
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}
.theway-primary-nav__list > li > a {
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 17px !important;
  border: 0 !important;
  border-radius: var(--tw-pill) !important;
  color: rgba(255,255,255,.88) !important;
  background: transparent !important;
  font: 600 15px/1 "Poppins", Arial, sans-serif !important;
  white-space: nowrap !important;
  transition: color var(--tw-fast) ease, background-color var(--tw-fast) ease !important;
}
.theway-primary-nav__list > li > a:hover,
.theway-primary-nav__list > li > a:focus-visible {
  color: #fff !important;
  background: var(--tw-hover) !important;
  outline: 0 !important;
}
/* Deliberately no current-page / current-menu styling. */
.theway-primary-nav__list > li.current-menu-item > a,
.theway-primary-nav__list > li.current_page_item > a,
.theway-primary-nav__list > li.current-menu-ancestor > a {
  color: rgba(255,255,255,.88) !important;
  background: transparent !important;
}

.theway-header__actions {
  justify-self: end !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  min-width: 0 !important;
}
.theway-action {
  min-height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 20px !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: var(--tw-pill) !important;
  font: 700 14px/1 "Poppins", Arial, sans-serif !important;
  white-space: nowrap !important;
  transition: transform var(--tw-fast) ease, background-color var(--tw-fast) ease !important;
}
.theway-action:active { transform: translateY(1px) !important; }
.theway-action:focus-visible { outline: 0 !important; filter: brightness(1.08) !important; }
.theway-action--primary { color: #fff !important; background: var(--tw-red) !important; }
.theway-action--primary:hover { color: #fff !important; background: var(--tw-red-hover) !important; }
.theway-action--secondary { color: #fff !important; background: rgba(255,255,255,.10) !important; }
.theway-action--secondary:hover { color: #fff !important; background: rgba(255,255,255,.16) !important; }

/* Central desktop dropdown */
.theway-central-dropdown {
  pointer-events: none !important;
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  width: min(350px, calc(100vw - 24px)) !important;
  padding-top: 12px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-7px) !important;
  transition: opacity var(--tw-motion) var(--tw-ease), transform var(--tw-motion) var(--tw-ease), visibility 0s linear var(--tw-motion) !important;
}
.theway-central-switcher.is-open .theway-central-dropdown {
  pointer-events: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  transition-delay: 0s !important;
}
.theway-central-dropdown__arrow {
  position: absolute !important;
  top: 6px !important;
  left: 40px !important;
  width: 14px !important;
  height: 14px !important;
  background: var(--tw-panel) !important;
  border: 0 !important;
  border-radius: 3px !important;
  transform: rotate(45deg) !important;
}
.theway-central-dropdown__panel {
  position: relative !important;
  padding: 12px !important;
  color: #fff !important;
  background: var(--tw-panel) !important;
  border: 0 !important;
  border-radius: var(--tw-panel-radius) !important;
  box-shadow: 0 22px 58px rgba(0,0,0,.40) !important;
  overflow: hidden !important;
}
.theway-menu-eyebrow {
  padding: 6px 12px 10px !important;
  color: rgba(255,255,255,.54) !important;
  font: 700 12px/1.2 "Poppins", Arial, sans-serif !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
.theway-central-featured,
.theway-central-links a,
.theway-mobile-featured,
.theway-mobile-central-links a,
.theway-mobile-nav__list a {
  min-height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 15px !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: var(--tw-pill) !important;
  color: rgba(255,255,255,.91) !important;
  background: transparent !important;
  font: 600 15px/1.2 "Poppins", Arial, sans-serif !important;
  transition: color var(--tw-fast) ease, background-color var(--tw-fast) ease !important;
}
.theway-central-featured,
.theway-mobile-featured { background: rgba(255,255,255,.08) !important; }
.theway-central-featured:hover,
.theway-central-links a:hover,
.theway-mobile-featured:hover,
.theway-mobile-central-links a:hover,
.theway-mobile-nav__list a:hover,
.theway-central-featured:focus-visible,
.theway-central-links a:focus-visible,
.theway-mobile-featured:focus-visible,
.theway-mobile-central-links a:focus-visible,
.theway-mobile-nav__list a:focus-visible {
  color: #fff !important;
  background: rgba(255,255,255,.13) !important;
  outline: 0 !important;
}
.theway-central-links,
.theway-mobile-central-links { display: grid !important; gap: 2px !important; }
.theway-menu-divider { height: 1px !important; margin: 10px 3px !important; background: rgba(255,255,255,.09) !important; }

.theway-mobile-left,
.theway-brand--mobile,
.theway-mobile-toggle,
.theway-drawer-backdrop,
.theway-mobile-drawer { display: none !important; }

/* Viewport overlay — enabled only on mobile when a menu is actually open. */
.theway-drawer-backdrop {
  pointer-events: none !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 2147483001 !important;
  background: rgba(0,0,0,.58) !important;
  opacity: 0 !important;
  transition: opacity var(--tw-motion) var(--tw-ease) !important;
}
.theway-drawer-backdrop.is-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Compact mobile menus: floating sheets rather than full-height drawers. */
.theway-mobile-drawer {
  pointer-events: auto !important;
  position: fixed !important;
  top: calc(8px + var(--tw-mobile-height) + 10px) !important;
  bottom: auto !important;
  z-index: 2147483002 !important;
  width: min(calc(100vw - 14px), 390px) !important;
  height: auto !important;
  max-height: calc(100dvh - var(--tw-mobile-height) - 34px) !important;
  flex-direction: column !important;
  padding: 16px !important;
  color: #fff !important;
  background: var(--tw-panel) !important;
  border: 0 !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.46) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  overflow-y: auto !important;
  transform: translateY(-8px) scale(.985) !important;
  transform-origin: top center !important;
  transition: transform var(--tw-motion) var(--tw-ease), opacity var(--tw-motion) var(--tw-ease), visibility 0s linear var(--tw-motion) !important;
}
.theway-mobile-drawer--left { left: 7px !important; right: auto !important; }
.theway-mobile-drawer--right { right: 7px !important; left: auto !important; }
.theway-mobile-drawer.is-open {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  visibility: visible !important;
  transition-delay: 0s !important;
}
.theway-mobile-drawer__header {
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 10px !important;
}
.theway-drawer-close,
.theway-mobile-central-toggle,
.theway-mobile-toggle {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  background: rgba(255,255,255,.08) !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: var(--tw-pill) !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.theway-drawer-close {
  display: inline-flex !important;
}
.theway-drawer-close:hover,
.theway-drawer-close:focus-visible,
.theway-mobile-central-toggle:hover,
.theway-mobile-central-toggle:focus-visible,
.theway-mobile-toggle:hover,
.theway-mobile-toggle:focus-visible { background: rgba(255,255,255,.14) !important; outline: 0 !important; }

/* CSS-drawn X so theme SVG rules cannot distort it. */
.theway-close-icon {
  position: relative !important;
  display: block !important;
  width: 20px !important;
  height: 20px !important;
}
.theway-close-icon::before,
.theway-close-icon::after {
  content: "" !important;
  position: absolute !important;
  top: 9px !important;
  left: 1px !important;
  width: 18px !important;
  height: 2px !important;
  background: currentColor !important;
  border-radius: 2px !important;
}
.theway-close-icon::before { transform: rotate(45deg) !important; }
.theway-close-icon::after { transform: rotate(-45deg) !important; }

.theway-mobile-central-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font: 700 15px/1.2 "Poppins", Arial, sans-serif !important;
}
.theway-mobile-central-brand img { width: 38px !important; height: 38px !important; object-fit: contain !important; }
.theway-brand--drawer { height: auto !important; padding: 0 !important; }
.theway-brand--drawer img { height: 42px !important; width: auto !important; }
.theway-mobile-nav__list { display: grid !important; gap: 4px !important; }
.theway-mobile-nav__list a { min-height: 48px !important; font-size: 16px !important; padding: 0 16px !important; }
.theway-mobile-nav__list .current-menu-item > a,
.theway-mobile-nav__list .current_page_item > a,
.theway-mobile-nav__list .current-menu-ancestor > a {
  background: transparent !important;
  color: rgba(255,255,255,.91) !important;
}
.theway-mobile-actions {
  display: grid !important;
  gap: 8px !important;
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
}
.theway-mobile-actions .theway-action { width: 100% !important; min-height: 50px !important; }

/* Accessible keyboard focus without visible outlines/borders. */
.theway-header :where(a,button):focus,
.theway-header :where(a,button):focus-visible { outline: 0 !important; }
.theway-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body.theway-drawer-open { overflow: hidden !important; }

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .theway-header__bar { background-color: rgba(35,36,38,.96) !important; }
}


/* Desktop-only geometric centering. */
@media (min-width: 900px) {
  .theway-header .theway-header__left,
  .theway-header .theway-primary-nav,
  .theway-header .theway-header__actions {
    height: 100% !important;
    align-self: stretch !important;
    display: flex !important;
    align-items: center !important;
    transform: none !important;
  }

  .theway-header .theway-header__left {
    justify-content: flex-start !important;
  }

  .theway-header .theway-primary-nav {
    justify-content: center !important;
  }

  .theway-header .theway-header__actions {
    justify-content: flex-end !important;
  }

  .theway-header .theway-central-switcher,
  .theway-header .theway-brand,
  .theway-header .theway-primary-nav__list,
  .theway-header .theway-primary-nav__list > li {
    height: 100% !important;
  }
}

/* Compact desktop: prioritize centered nav and primary CTA. */

/* Desktop: mobile controls are not rendered visually. Keep this after shared button rules. */
@media (min-width: 900px) {
  .theway-header .theway-mobile-left,
  .theway-header .theway-brand--mobile,
  .theway-header .theway-mobile-toggle,
  .theway-header .theway-mobile-central-toggle,
  .theway-header .theway-drawer-backdrop,
  .theway-header .theway-mobile-drawer {
    display: none !important;
  }
}

@media (max-width: 1260px) and (min-width: 900px) {
  .theway-header { --tw-height: 70px; --tw-gutter: 9px; }
  .theway-header__bar { gap: 9px !important; padding-right: 9px !important; }
  .theway-central-button { width: 80px !important; height: 54px !important; min-height: 54px !important; }
  .theway-central-button img { width: 40px !important; height: 40px !important; }
  .theway-brand { padding-left: 10px !important; padding-right: 10px !important; }
  .theway-brand img { height: 43px !important; }
  .theway-primary-nav__list > li > a { padding: 0 11px !important; font-size: 14px !important; }
  .theway-action { padding: 0 15px !important; font-size: 13px !important; }
  .theway-action--secondary { display: none !important; }
}

/* Mobile/tablet: Central left, theWay centered, hamburger right. */
@media (max-width: 899px) {
  .theway-header { --tw-mobile-height: 62px; }

  .theway-header__bar {
    display: grid !important;
    align-items: center !important;
  }

  .theway-header .theway-header__left,
  .theway-header .theway-primary-nav,
  .theway-header .theway-header__actions {
    display: none !important;
    height: auto !important;
    align-self: auto !important;
    transform: none !important;
  }

  .theway-header .theway-mobile-left {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 100% !important;
  }

  .theway-header .theway-brand--mobile {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    height: 100% !important;
    padding: 0 !important;
  }

  .theway-header .theway-mobile-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    height: 44px !important;
  }

  .theway-header .theway-mobile-central-toggle,
  .theway-header .theway-mobile-toggle {
    display: inline-flex !important;
  }

  .theway-drawer-backdrop { display: block !important; }
  .theway-mobile-drawer { display: flex !important; }

  .theway-header__bar {
    top: 8px !important;
    width: calc(100vw - 14px) !important;
    height: var(--tw-mobile-height) !important;
    min-height: var(--tw-mobile-height) !important;
    grid-template-columns: 48px minmax(0,1fr) 48px !important;
    gap: 0 !important;
    padding: 0 7px !important;
  }
  .theway-header__left,
  .theway-primary-nav,
  .theway-header__actions { display: none !important; }
  .theway-mobile-left {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  .theway-mobile-central-toggle { display: inline-flex !important; background: transparent !important; }
  .theway-mobile-central-toggle img {
    width: 37px !important;
    height: 37px !important;
    object-fit: contain !important;
  }
  .theway-brand--mobile {
    display: inline-flex !important;
    height: auto !important;
    padding: 0 !important;
    justify-self: center !important;
    align-self: center !important;
  }
  .theway-brand--mobile img {
    width: auto !important;
    height: 39px !important;
    max-width: 170px !important;
  }
  .theway-mobile-toggle {
    display: inline-flex !important;
    justify-self: end !important;
    flex-direction: column !important;
    gap: 5px !important;
    background: transparent !important;
  }
  .theway-mobile-toggle span {
    width: 20px !important;
    height: 2px !important;
    display: block !important;
    background: currentColor !important;
    border-radius: var(--tw-pill) !important;
  }
  .theway-central-dropdown { display: none !important; }
}

@media (max-width: 380px) {
  .theway-brand--mobile img { height: 35px !important; max-width: 150px !important; }
  .theway-mobile-drawer { width: calc(100vw - 14px) !important; }
}

@media (prefers-reduced-motion: reduce) {
  .theway-header *,
  .theway-header *::before,
  .theway-header *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
