body.aq-header-v3 #aq-header {
  --aq-bar-ink: #17243a;
  --aq-bar-blue: #4054cc;
  --aq-bar-hover: #2c40b2;
  --aq-bar-line: #dce3ee;
  --aq-bar-height: 76px;
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  width: 100%;
  max-width: none;
  margin: 0;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e8edf4;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  color: var(--aq-bar-ink);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
}

body.aq-header-v3 #aq-header .aq-header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(12px, 1.75vw, 25px);
  width: min(1260px, calc(100% - 96px));
  min-height: var(--aq-bar-height);
  margin: 0 auto;
  padding: 0;
}

body.aq-header-v3 #aq-header .aq-logo {
  display: flex;
  flex: 0 1 218px;
  min-width: 0;
  margin: 0;
}

body.aq-header-v3 #aq-header .aq-logo img {
  display: block;
  width: 100%;
  max-width: 218px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
}

body.aq-header-v3 #aq-header .aq-nav-desktop {
  flex: 0 0 auto;
  margin-inline-start: auto;
}

body.aq-header-v3 #aq-header .aq-nav-desktop > ul {
  align-items: center;
  gap: clamp(12px, 1.6vw, 28px);
}

body.aq-header-v3 #aq-header :is(.aq-nav-desktop > ul > li > a, .aq3-software-menu > summary) {
  padding-block: 12px;
  color: #4b586c;
  font: 600 13px/1.4 "Segoe UI", Inter, Arial, sans-serif;
  white-space: nowrap;
}

body.aq-header-v3 #aq-header :is(.aq-nav-desktop > ul > li > a:hover, .aq-nav .current-menu-item > a, .aq3-software-menu > summary:hover) {
  color: var(--aq-bar-blue);
}

body.aq-header-v3 #aq-header .aq3-mega-panel {
  border-color: var(--aq-bar-line);
  border-radius: 12px;
  box-shadow: 0 12px 40px #17243a18;
}

body.aq-header-v3 #aq-header .aq-header-tools {
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

body.aq-header-v3 #aq-header .aq-header-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--aq-bar-blue);
  border-radius: 8px;
  background: var(--aq-bar-blue);
  color: #fff;
  font: 650 14px/1.4 "Segoe UI", Inter, Arial, sans-serif;
  white-space: nowrap;
}

body.aq-header-v3 #aq-header .aq-header-demo:hover {
  border-color: var(--aq-bar-hover);
  background: var(--aq-bar-hover);
  color: #fff;
}

body.aq-header-v3 #aq-header :is(.aq-account, .aq-cart, .aq-mobile-menu > summary) {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid var(--aq-bar-line);
  border-radius: 7px;
  color: var(--aq-bar-ink);
  background: #fff;
}

body.aq-header-v3 #aq-header :is(.aq-account, .aq-cart) svg {
  width: 19px;
  height: 19px;
}

body.aq-header-v3 #aq-header .aq-cart-count {
  background: var(--aq-bar-blue);
}

body.aq-header-v3 #aq-header :is(a, summary):focus-visible {
  outline: 2px solid var(--aq-bar-blue);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  body.aq-header-v3 #aq-header {
    --aq-bar-height: 68px;
  }

  body.aq-header-v3 #aq-header .aq-header-inner {
    width: calc(100% - 40px);
    gap: 12px;
  }

  body.aq-header-v3 #aq-header .aq-nav-desktop {
    display: none;
  }

  body.aq-header-v3 #aq-header .aq-mobile-menu {
    display: block;
    flex: 0 0 auto;
    order: 3;
    margin: 0;
  }

  body.aq-header-v3 #aq-header .aq-header-tools {
    margin-inline-start: auto;
  }

  body.aq-header-v3 #aq-header .aq-mobile-menu .aq-nav-mobile {
    position: absolute;
    inset: 100% 0 auto;
    width: auto;
    max-height: calc(100dvh - var(--aq-bar-height) - var(--wp-admin--admin-bar--height, 0px));
    margin: 0;
    padding: 14px max(20px, calc((100% - 1260px) / 2)) 20px;
    overflow-y: auto;
    background: #fff;
    border: 0;
    border-top: 1px solid var(--aq-bar-line);
    border-radius: 0;
    box-shadow: 0 12px 28px #17243a18;
  }

  body.aq-header-v3 #aq-header .aq-mobile-menu:not([open]) .aq-nav-mobile {
    display: none;
  }
}

@media (max-width: 580px) {
  body.aq-header-v3 #aq-header {
    --aq-bar-height: 64px;
    top: 0;
  }

  body.aq-header-v3 #aq-header .aq-header-inner {
    width: calc(100% - 24px);
    gap: 6px;
  }

  body.aq-header-v3 #aq-header .aq-header-tools {
    gap: 5px;
  }

  body.aq-header-v3 #aq-header .aq-header-demo {
    min-height: 36px;
    padding: 6px 8px;
    font-size: 12px;
  }

  body.aq-header-v3 #aq-header .aq-header-demo > span {
    display: none;
  }

  body.aq-header-v3 #aq-header :is(.aq-account, .aq-cart, .aq-mobile-menu > summary) {
    width: 31px;
    min-width: 31px;
    height: 34px;
    min-height: 34px;
  }
}

@media (max-width: 360px) {
  body.aq-header-v3 #aq-header .aq-header-inner {
    width: calc(100% - 16px);
    gap: 4px;
  }

  body.aq-header-v3 #aq-header .aq-header-tools {
    gap: 4px;
  }
}
