.litro-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #f4f8fb;
  background: rgb(7 20 38 / 0.94);
  border-bottom: 1px solid rgb(255 255 255 / 0.09);
  backdrop-filter: blur(18px);
}

.litro-header-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-inline: auto;
}

.litro-header .litro-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: "Sora", "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.litro-brand-logo {
  width: 32px;
  height: 32px;
  display: block;
  border-radius: 9px;
  box-shadow: 0 7px 20px rgb(0 0 0 / 0.24);
}

.litro-primary-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 26px);
  margin-left: auto;
}

/* Brands is an Explorer subview, not a first-level desktop destination. */
.litro-primary-nav a[href*="/brands"] {
  display: none;
}

.litro-primary-nav a,
.litro-language-control,
.litro-language-selector a {
  position: relative;
  color: #bcc9d3;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.litro-primary-nav .litro-business-link {
  color: #91a4b3;
  font-size: 0.77rem;
}

.litro-mobile-navigation {
  position: relative;
  display: none;
}

.litro-mobile-navigation summary {
  width: 38px;
  height: 38px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 9px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 12px;
  list-style: none;
  cursor: pointer;
}

.litro-mobile-navigation summary::-webkit-details-marker {
  display: none;
}

.litro-mobile-navigation summary span {
  height: 2px;
  border-radius: 99px;
  background: #e8f0f5;
}

.litro-mobile-navigation nav {
  position: absolute;
  top: calc(100% + 10px);
  right: -48px;
  width: min(300px, calc(100vw - 30px));
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 18px;
  background: rgb(7 20 38 / 0.98);
  box-shadow: 0 22px 60px rgb(0 0 0 / 0.34);
  backdrop-filter: blur(18px);
}

.litro-mobile-navigation nav a,
.litro-mobile-navigation-close {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  color: #d8e3e9;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.litro-mobile-navigation nav a:hover,
.litro-mobile-navigation-close:hover,
.litro-mobile-navigation nav a[aria-current="page"] {
  color: #fff;
  background: rgb(255 255 255 / 0.07);
}

.litro-mobile-navigation-close {
  color: #8fa4b4;
}

.litro-primary-nav a:hover,
.litro-language-control:hover {
  color: #fff;
}

.litro-primary-nav a[aria-current="page"] {
  color: #fff;
}

.litro-primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -13px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #22c7ad;
}

.litro-explorer-navigation {
  position: sticky;
  top: 72px;
  z-index: 90;
  min-height: 48px;
  color: #d7e3ec;
  background: rgb(8 25 44 / 0.96);
  border-bottom: 1px solid rgb(255 255 255 / 0.09);
  box-shadow: 0 8px 24px rgb(2 8 18 / 0.12);
  backdrop-filter: blur(18px);
}

.litro-explorer-navigation-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 48px;
  display: flex;
  align-items: stretch;
  gap: 30px;
  margin-inline: auto;
}

.litro-explorer-navigation a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: #91a5b5;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.litro-explorer-navigation a:hover,
.litro-explorer-navigation a[aria-current="page"] {
  color: #fff;
}

.litro-explorer-navigation a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px 999px 0 0;
  background: #22c7ad;
  box-shadow: 0 -4px 14px rgb(34 199 173 / 0.22);
}

.litro-explorer-navigation a:focus-visible {
  outline: 3px solid #67e8d3;
  outline-offset: -4px;
  border-radius: 8px;
}

.litro-header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.litro-language-control {
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.03);
  cursor: pointer;
}

.litro-language-selector {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
}

.litro-language-selector a {
  min-width: 34px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 999px;
  color: #91a5b5;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.litro-language-selector a:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.07);
}

.litro-language-selector a[aria-current="page"] {
  color: #06241f;
  background: #67e8d3;
  box-shadow: 0 4px 14px rgb(34 199 173 / 0.2);
}

.litro-header .litro-header-cta,
.litro-header .button-primary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 0;
  border-radius: 13px;
  color: #04231e;
  background: #22c7ad;
  box-shadow: 0 8px 24px rgb(34 199 173 / 0.16);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.litro-header .litro-header-cta:hover,
.litro-header .button-primary:hover {
  background: #4bd9c2;
  transform: translateY(-1px);
}

.litro-header a:focus-visible,
.litro-header button:focus-visible {
  outline: 3px solid #67e8d3;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .litro-primary-nav {
    display: none;
  }

  .litro-mobile-navigation {
    display: block;
  }

  .litro-explorer-navigation-inner {
    gap: 0;
  }

  .litro-explorer-navigation a {
    flex: 1 1 0;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .litro-header-inner {
    width: min(100% - 30px, 620px);
    min-height: 64px;
  }

  .litro-language-selector a {
    min-width: 32px;
    padding-inline: 6px;
  }

  .litro-header .litro-header-cta,
  .litro-header .button-primary {
    display: none;
  }

  .litro-header-actions {
    margin-left: auto;
  }

  .litro-explorer-navigation {
    top: 64px;
    min-height: 44px;
  }

  .litro-explorer-navigation-inner {
    width: min(100% - 20px, 620px);
    min-height: 44px;
  }

  .litro-explorer-navigation a {
    min-height: 44px;
  }
}

@media (max-width: 430px) {
  .litro-header-inner {
    width: min(100% - 24px, 390px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .litro-primary-nav a,
  .litro-language-control,
  .litro-language-selector a,
  .litro-explorer-navigation a,
  .litro-header .litro-header-cta,
  .litro-header .button-primary {
    transition: none;
  }
}
