/**
 * Header component styles.
 * SCSS: assets/css/components/header.scss
 * CSS (compiled by IDE): assets/css/components/header.css
 */
.logged-in .header.is-scrolled {
  top: 30px;
}

.header-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 90;
}

.header-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.header__overlay {
  z-index: 110;
}

body.menu-open {
  overflow: hidden;
}
body.menu-open .header {
  z-index: 100;
}

.header {
  position: sticky;
  top: 0;
  transition: box-shadow 0.3s ease, background 0.3s ease;
  background: var(--block-bg, transparent);
  z-index: 20;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.header__wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header__logo {
  flex-shrink: 0;
}
.header__logo img {
  display: block;
  max-width: 180px;
  height: auto;
}
.header__desktop-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}
.header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
}
.header__button, .header__overlay-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  padding: 12px 16px;
  border: 1px solid var(--text-color);
  border-radius: 10px;
  background: transparent;
  color: var(--text-color);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: 0.3s ease;
}
.header__button:hover, .header__overlay-link:hover {
  background: var(--additional-c-elements);
  color: #000;
}
.header__button-icon {
  display: inline-flex;
  align-items: center;
}
.header__actions {
  display: flex;
  gap: 12px;
  margin-left: auto;
}
.header__action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: none;
  border-radius: 10px;
  background: var(--additional-c-elements);
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: inherit;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}
.header__action-btn:hover {
  opacity: 0.85;
}
.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--additional-c-elements);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.header__toggle span {
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-color);
  transition: 0.3s ease;
}
.header__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.header__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.header__overlay {
  display: none;
}

@media (max-width: 768px) {
  .logged-in .header {
    top: 35px;
  }
  body {
    padding-top: var(--header-height, 84px);
  }
  .header {
    position: fixed;
    width: 100%;
  }
  .header__wrapper {
    justify-content: space-between;
    margin: 0 10px;
  }
  .header__desktop-menu {
    display: none;
  }
  .header__toggle {
    display: flex;
  }
  .header__overlay {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--block-bg);
    z-index: 2;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.45s ease, opacity 0.3s ease, visibility 0.3s ease;
  }
  .header__overlay.is-open {
    max-height: calc(100dvh - var(--header-height, 84px));
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    -webkit-overflow-scrolling: touch;
  }
  .header__overlay-inner {
    padding: 20px;
  }
  .header__overlay-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .header__overlay-link {
    width: 100%;
  }
  .header__overlay-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
  }
  .header__action-btn {
    width: 100%;
  }
  .logged-in .header.is-scrolled {
    top: 0px;
  }
}/*# sourceMappingURL=header.css.map */