:root {
  --dfv-header-bg: #07090a;
  --dfv-header-text: #edf4f3;
  --dfv-header-muted: #a9b4b3;
  --dfv-header-accent: #20e3d6;
  --dfv-header-line: #303637;
}

body .wpo-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  margin: 0;
  padding: 0;
  background: color-mix(in srgb, var(--dfv-header-bg) 92%, transparent);
  border-bottom: 1px solid var(--dfv-header-line);
  backdrop-filter: blur(18px) saturate(150%);
}

body.admin-bar .wpo-header {
  top: 32px;
}

body .wpo-header #dfv-header-row {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) minmax(156px, 170px);
  column-gap: 18px;
  align-items: center;
  width: min(1300px, calc(100% - 64px));
  min-height: 64px;
  margin: 0 auto !important;
  padding: 10px 0 !important;
}

body .wpo-header #dfv-header-row::before,
body .wpo-header #dfv-header-row::after {
  content: none !important;
  display: none !important;
}

body .wpo-header #dfv-header-brand {
  grid-column: 1;
  grid-row: 1;
}

body .wpo-header #dfv-header-menu {
  grid-column: 2;
  grid-row: 1;
}

body .wpo-header #dfv-header-cta {
  grid-column: 3;
  grid-row: 1;
}

body .wpo-header #dfv-header-row > .wpb_column {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

body .wpo-header #dfv-header-row > .wpb_column > .vc_column-inner,
body .wpo-header #dfv-header-row > .wpb_column > .vc_column-inner > .wpb_wrapper {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

body .wpo-header #dfv-header-brand > .vc_column-inner > .wpb_wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

body .wpo-header #dfv-header-brand .dfv-header-brand-name,
body .wpo-header #dfv-header-brand .dfv-header-brand-name a {
  color: var(--dfv-header-text) !important;
  font: 700 16px/1.2 Montserrat, sans-serif !important;
  letter-spacing: -.025em;
  white-space: nowrap;
}

body .wpo-header #dfv-header-menu {
  display: block !important;
}

body .wpo-header #dfv-header-menu .wpo-menu-wrapper,
body .wpo-header #dfv-header-menu .wpo-menu-spacing-shell,
body .wpo-header #dfv-header-menu .wpo-menu-container {
  min-height: 0;
}

body .wpo-header #dfv-header-menu nav.wpo-menu > ul {
  gap: 14px !important;
}

body .wpo-header #dfv-header-menu nav.wpo-menu > ul > li:has(> a[href*="/shop/"]) {
  margin-left: 4px;
  padding-left: 18px;
  border-left: 1px solid var(--dfv-header-line);
}

body .wpo-header #dfv-header-menu .dfv-header-menu-component a {
  color: var(--dfv-header-muted) !important;
  font: 700 11px/1.35 Montserrat, sans-serif !important;
  letter-spacing: .045em;
  text-transform: uppercase;
}

body .wpo-header #dfv-header-menu .dfv-header-menu-component a:hover,
body .wpo-header #dfv-header-menu .dfv-header-menu-component a:focus-visible,
body .wpo-header #dfv-header-menu .dfv-header-menu-component .current-menu-item > a {
  color: var(--dfv-header-accent) !important;
}

body .wpo-header #dfv-header-menu .wpo-menu-hamburger {
  color: var(--dfv-header-text);
  border: 1px solid transparent;
  border-radius: 9px !important;
}

body .wpo-header #dfv-header-menu .wpo-menu-hamburger:hover,
body .wpo-header #dfv-header-menu .wpo-menu-hamburger:focus-visible {
  color: var(--dfv-header-accent);
  background: #111617;
  border-color: #394142;
  opacity: 1;
  outline: none;
}

body .wpo-header #dfv-header-menu .wpo-hamburger-line {
  height: 2px;
  background: currentColor;
}

body .wpo-header #dfv-header-cta {
  display: block !important;
}

body .wpo-header #dfv-header-cta .wpb_text_column,
body .wpo-header #dfv-header-cta .dfv-header-cta {
  margin: 0 !important;
}

body .wpo-header #dfv-header-cta .dfv-header-cta {
  text-align: right;
}

body .wpo-header #dfv-header-cta .dfv-header-cta-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--dfv-header-accent) !important;
  border: 1px solid color-mix(in srgb, var(--dfv-header-accent) 52%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--dfv-header-accent) 7%, transparent);
  font: 750 10px/1.2 Montserrat, sans-serif;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

body .wpo-header #dfv-header-cta .dfv-header-cta-link:hover,
body .wpo-header #dfv-header-cta .dfv-header-cta-link:focus-visible {
  color: #06100f !important;
  background: var(--dfv-header-accent);
  outline: none;
}

@media (max-width: 1180px) {
  body .wpo-header #dfv-header-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    width: calc(100% - 32px);
    min-height: 60px;
    padding: 8px 0 !important;
    column-gap: 8px;
  }

  body .wpo-header #dfv-header-brand {
    grid-column: 1;
    grid-row: 1;
  }

  body .wpo-header #dfv-header-cta {
    grid-column: 2;
    grid-row: 1;
  }

  body .wpo-header #dfv-header-menu {
    grid-column: 3;
    grid-row: 1;
  }

  body .wpo-header #dfv-header-menu .wpo-menu-container,
  body .wpo-header #dfv-header-menu .wpo-menu-container.is-mobile {
    position: static;
    display: flex;
    width: auto;
  }

  body .wpo-header #dfv-header-menu,
  body .wpo-header #dfv-header-menu .wpo-menu-wrapper,
  body .wpo-header #dfv-header-menu .wpo-menu-spacing-shell {
    position: static !important;
  }

  body .wpo-header #dfv-header-menu .wpo-menu-hamburger.is-visible {
    display: flex !important;
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 9px;
  }

  body .wpo-header #dfv-header-menu nav.wpo-menu.mobile-menu-open {
    position: absolute !important;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    z-index: 120;
    display: block !important;
    width: 100% !important;
    padding: 12px;
    border: 1px solid var(--dfv-header-line);
    border-top: 0;
    border-radius: 0 0 9px 9px;
    background: #0b0f10;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .46);
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body .wpo-header #dfv-header-menu nav.wpo-menu.mobile-menu-open > ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px !important;
  }

  body .wpo-header #dfv-header-menu nav.wpo-menu.mobile-menu-open > ul > li:has(> a[href*="/shop/"]) {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  body .wpo-header #dfv-header-menu nav.wpo-menu.mobile-menu-open > ul > li {
    display: block !important;
    width: 100% !important;
  }

  body .wpo-header #dfv-header-menu nav.wpo-menu.mobile-menu-open > ul > li > a {
    display: flex !important;
    min-height: 44px;
    align-items: center;
    width: 100%;
    padding: 10px 12px !important;
    border-radius: 9px;
    background: #101516;
    white-space: normal !important;
  }

  body .wpo-header #dfv-header-cta .dfv-header-cta-link {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0;
  }

  body .wpo-header #dfv-header-cta .dfv-header-cta-link::after {
    content: "Download";
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  body .wpo-header #dfv-header-brand .dfv-header-brand-name,
  body .wpo-header #dfv-header-brand .dfv-header-brand-name a {
    font-size: 14px !important;
  }

  body .wpo-header #dfv-header-brand > .vc_column-inner > .wpb_wrapper {
    gap: 8px;
  }

  body .wpo-header #dfv-header-cta .dfv-header-cta-link {
    padding-inline: 10px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .wpo-header {
    top: 46px;
  }
}
