@charset "UTF-8";
/**
 * Header component styles.
 * SCSS: assets/css/components/header.scss
 * CSS (compiled by IDE): assets/css/components/header.css
 *
 * Desktop: sticky (in flow — no extra main offset).
 * Mobile: fixed + --header-offset padding on main.
 */
.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;
  z-index: 2;
}

.header__overlay {
  z-index: 110;
}

body.menu-open {
  overflow: hidden;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  padding: 20px 0;
  background: #000;
  border-bottom: 1px solid rgba(191, 188, 219, 0.19);
  transition: box-shadow 0.25s ease;
}
.header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.header__wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header__logo {
  flex-shrink: 0;
}
.header__logo img {
  display: block;
  max-width: 200px;
  height: auto;
}
.header__desktop-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}
.header__nav {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  flex: 1;
}
.header__nav .header__button {
  background: none;
  /* Text links on black header — not --button-text-color (often #000). */
  color: rgba(255, 255, 255, 0.88);
}
.header__nav .header__button:hover, .header__nav .header__button:focus-visible {
  color: var(--additional-c-elements, #ffc213);
}
.header__button, .header__overlay-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  padding: 12px 16px;
  border: none;
  border-radius: 25px;
  background: var(--button-bg);
  color: var(--button-text-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: 0.3s ease;
}
.header__actions {
  display: flex;
  gap: 12px;
  margin-left: auto;
}
.header__action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  background: var(--button-bg);
  color: var(--button-text-color);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: 0.3s ease;
}
.header__action-btn:hover {
  opacity: 0.85;
}
.header__action-btn.button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: var(--button-secondary-bg, transparent);
  /* Fallback #fff — --text-color can be dark and disappear on #000 header. */
  color: var(--button-secondary-text-color, #fff);
}
.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(--header-toggle-color, #fff);
  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 screen and (max-width: 768px) {
  .logged-in .header {
    top: 46px;
  }
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 0;
    /* Solid bar — no transparent + blur (caused muddy overlay on scroll). */
    background: #050505;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .header .container {
    position: relative;
  }
  .header__logo img {
    max-width: 132px;
  }
  .header__wrapper {
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 10px 18px;
    background: transparent;
    border-radius: 0;
  }
  .header__desktop-menu {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
  }
  .header__nav {
    display: none;
  }
  .header__actions {
    display: flex;
    gap: 8px;
    margin-left: 0;
  }
  .header__toggle {
    display: flex;
    position: relative;
    z-index: 120;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 0;
  }
  .header__overlay {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #050505;
    max-height: 0;
    min-height: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease, visibility 0.3s ease;
  }
  .header__overlay.is-open {
    max-height: calc(100vh - 84px);
    min-height: calc(100vh - 84px);
    opacity: 1;
    visibility: visible;
  }
  .header__overlay-inner {
    min-height: 100%;
    padding: 12px 18px 32px;
  }
  .header__overlay-top {
    display: none;
  }
  .header__overlay-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .header__overlay-link {
    justify-content: flex-start;
    width: auto;
    padding: 11px 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    text-transform: none;
    font-size: 16px;
    font-weight: 400;
  }
  .header__overlay-actions {
    display: none;
  }
  .header__action-btn {
    width: auto;
    min-height: 30px;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
  }
  .header__action-btn.button--secondary {
    border-color: var(--button-secondary-text-color, rgba(255, 255, 255, 0.78));
    background: var(--button-secondary-bg, transparent);
    color: var(--button-secondary-text-color, #fff);
  }
  .header__action-btn:last-child:not(.button--secondary) {
    border-color: var(--button-bg);
    background: var(--button-bg);
    color: var(--button-text-color);
    box-shadow: 0 8px 22px rgba(255, 210, 18, 0.28);
  }
}
@media screen and (max-width: 420px) {
  .header__overlay-top {
    display: none;
  }
  .header__logo img {
    max-width: 112px;
  }
  .header__actions {
    gap: 6px;
  }
  .header__action-btn {
    padding: 8px 11px;
    font-size: 13px;
  }
}

/*# sourceMappingURL=header.css.map */
