
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap");

:root {
  --ats-site-font: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--ats-site-font) !important;
  font-weight: 400 !important;
}

body,
body * {
  font-weight: 400 !important;
}

/* Keep the public pages on the same banner/header shell as logged-in product views. */
.header {
  background: #07111d !important;
  box-shadow: 0 1px 0 rgba(125, 178, 225, 0.12) !important;
  left: 0 !important;
  padding: 16px 18px !important;
  position: sticky !important;
  right: 0 !important;
  top: 0 !important;
  transform: none !important;
  width: 100% !important;
  z-index: 40 !important;
}

.header__bar,
.header.is-scrolled .header__bar,
.header.nav-open .header__bar {
  align-items: center !important;
  background: #0b1624 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: auto 1fr auto !important;
  margin: 0 auto !important;
  max-width: 1180px !important;
  min-height: 78px !important;
  overflow: visible !important;
  padding: 14px 18px !important;
  position: relative !important;
  transform: none !important;
  width: 100% !important;
}

.header__bar::before {
  content: none !important;
  display: none !important;
}

.header .logo {
  color: rgba(255, 255, 255, 0.92) !important;
  display: flex !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
}

.header .logo__text {
  color: rgba(255, 255, 255, 0.92) !important;
  display: inline !important;
  font-size: 1.65rem !important;
  letter-spacing: 0 !important;
  opacity: 1 !important;
}

.header .nav {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: center !important;
}

.header .nav a {
  align-items: center !important;
  color: rgba(255, 255, 255, 0.92) !important;
  display: inline-flex !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 14px !important;
}

.header .nav a:hover,
.header .nav a:focus-visible {
  background: rgba(143, 208, 255, 0.12) !important;
  color: #8fd0ff !important;
  transform: none !important;
}

.header .actions,
.header .actions__group {
  align-items: center !important;
  display: flex !important;
  gap: 10px !important;
  justify-content: flex-end !important;
  margin-left: 0 !important;
  max-width: none !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

.header.search-open .actions__group {
  display: none !important;
}

.header .pill {
  align-items: center !important;
  background: linear-gradient(135deg, rgba(143, 208, 255, 0.2), rgba(29, 78, 216, 0.34)) !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  box-shadow: 0 14px 28px rgba(11, 47, 102, 0.2) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  transform: none !important;
}

.header .iconbtn,
.header .searchclose {
  align-items: center !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  display: inline-flex !important;
  height: 42px !important;
  justify-content: center !important;
  transform: none !important;
  width: 42px !important;
}

.header .searchwrap {
  align-items: center !important;
  display: none !important;
  gap: 8px !important;
  max-width: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

.header.search-open .searchwrap {
  display: flex !important;
}

.header .search {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  min-height: 42px !important;
  width: min(320px, 42vw) !important;
}

@media (max-width: 980px) {
  .header {
    padding: 14px 14px 0 !important;
  }

  .header__bar,
  .header.is-scrolled .header__bar,
  .header.nav-open .header__bar {
    gap: 10px !important;
    grid-template-columns: auto 1fr auto !important;
    min-height: 70px !important;
    padding: 12px 14px !important;
  }

  .header .nav {
    display: none !important;
  }

  .header.nav-open #primaryNav {
    background: #0b1624 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    left: 14px !important;
    padding: 14px !important;
    position: fixed !important;
    right: 14px !important;
    top: 96px !important;
    z-index: 45 !important;
  }

  .header.nav-open #primaryNav a {
    justify-content: flex-start !important;
  }

  .header .actions .pill {
    display: none !important;
  }
}
/* Shared public-site and auth polish overrides */
main {
  display: block;
}

body > main > *:last-child {
  margin-bottom: 0 !important;
}

body > main > section:last-of-type {
  padding-bottom: 18px !important;
  margin-bottom: 0 !important;
}

body > main > .airflagger-page:last-child,
body > main > .ats-ui-root:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 18px !important;
}

.tdp__tagline,
.taglineRow,
.products__kicker,
.pmeta,
.tags {
  gap: 8px !important;
  row-gap: 8px !important;
  column-gap: 8px !important;
}

.tagpill + .tagpill,
.pchip + .pchip,
.tagbubble + .tagbubble {
  margin-left: 2px !important;
}

.sitefooter {
  padding: 12px 0 18px !important;
  margin-top: 0 !important;
}

.sitefooter .container {
  margin-top: 0 !important;
}

.sitefooter__panel {
  padding: 22px 28px !important;
}

.sitefooter__grid--compact {
  grid-template-columns: minmax(260px, 1.2fr) minmax(220px, .9fr) auto !important;
  align-items: center;
  gap: 18px !important;
}

.sitefooter__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.sitefooter__links {
  justify-self: center;
}

.sitefooter__links h4 {
  margin-bottom: 10px;
  text-align: center;
}

.sitefooter__group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
}

.sitefooter__group a {
  white-space: nowrap;
}

.sitefooter__bottom {
  margin-top: 14px !important;
  padding-top: 12px !important;
}

.ats-topbar--auth {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.auth-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--ats-border-strong);
  background: var(--ats-surface-2);
  color: var(--ats-accent);
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
}

.auth-home-link:hover {
  text-decoration: none;
  filter: brightness(1.03);
}

.auth-card > .note-box {
  margin-top: 18px !important;
}

.auth-card > .auth-links {
  margin-top: 18px;
}

.auth-card .flash,
.auth-card .error-box {
  margin-bottom: 16px;
}

.auth-card .auth-title + .auth-copy {
  margin-bottom: 18px;
}

.auth-card .auth-form + .note-box + .auth-links {
  margin-top: 20px;
}

@media (max-width: 980px) {
  .sitefooter__grid--compact {
    grid-template-columns: 1fr !important;
    justify-items: flex-start;
  }

  .sitefooter__links {
    justify-self: stretch;
  }

  .sitefooter__links h4 {
    text-align: left;
  }

  .sitefooter__group {
    justify-content: flex-start;
  }

  .sitefooter__actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body > main > section:last-of-type,
  body > main > .airflagger-page:last-child,
  body > main > .ats-ui-root:last-child {
    padding-bottom: 12px !important;
  }

  .sitefooter {
    padding: 8px 0 16px !important;
  }

  .sitefooter__panel {
    padding: 20px !important;
  }

  .sitefooter__bottom {
    gap: 8px;
  }

  .sitefooter__bottom .sep {
    display: none;
  }

  .ats-topbar--auth {
    align-items: stretch;
  }

  .ats-topbar--auth > * {
    width: 100%;
  }
}

@media (min-width: 981px) {
  .partner {
    padding-bottom: 46px !important;
  }

  .tdp {
    padding-top: 34px !important;
  }
}
