:host {
  display: block;
  width: 100%;
}

* {
  box-sizing: border-box;
}

.uninest-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  color: #2b2b2b;
  background: var(--uninest-header-background, #f7f5ee);
  border-bottom: 1px solid #d8d3c2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.uninest-header__inner {
  display: flex;
  width: 100%;
  max-width: 1180px;
  height: 68px;
  margin: 0 auto;
  padding: 0 40px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.uninest-header__brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.uninest-header__logo {
  display: block;
  width: var(--uninest-logo-width, 180px);
  max-width: 100%;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

.uninest-header__logo-placeholder {
  display: flex;
  width: var(--uninest-logo-width, 180px);
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #001a49;
  border: 1px dashed #b08c1c;
  font-family: Arial, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
}

.uninest-header__desktop-nav {
  display: flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
}

.uninest-header__link {
  padding: 4px 0;
  color: var(--uninest-menu-color, #2b2b2b);
  border-bottom: 1px solid transparent;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: var(--uninest-menu-font-size, 13px);
  line-height: 1.4;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.uninest-header__link:hover,
.uninest-header__link:focus-visible {
  color: #001a49;
  border-bottom-color: #b08c1c;
}

.uninest-header__menu-button {
  display: none;
  width: 48px;
  height: 42px;
  padding: 10px 13px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid #d8d3c2;
  cursor: pointer;
}

.uninest-header__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #001a49;
}

.uninest-header__mobile-nav {
  display: none;
  width: 100%;
  background: #f7f5ee;
  border-top: 1px solid #d8d3c2;
}

.uninest-header__mobile-nav.is-open {
  display: block;
}

.uninest-header__mobile-link {
  display: block;
  padding: 15px 40px;
  color: var(--uninest-menu-color, #2b2b2b);
  border-bottom: 1px solid #d8d3c2;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: var(--uninest-menu-font-size, 13px);
  line-height: 1.4;
  text-decoration: none;
}

@media (max-width: 991px) {
  .uninest-header__desktop-nav {
    display: none;
  }

  .uninest-header__menu-button {
    display: flex;
  }
}

@media (max-width: 479px) {
  .uninest-header__inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .uninest-header__brand {
    gap: 8px;
  }

  .uninest-header__mobile-link {
    padding-right: 20px;
    padding-left: 20px;
  }
}

