/* Wspólny nagłówek kreatora i jego poradników. */
.u14-header.creator-header,
.creator-editorial-header {
  --creator-nav-accent: #cb1517;
  --creator-nav-hover: #ffffff1a;
  position: relative;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  margin: 18px 24px 14px;
  padding: 10px 18px 10px 26px;
  border: 0;
  border-radius: 28px;
  background: var(--creator-nav-accent);
  color: #fff;
  box-shadow: 0 4px 16px #1c0c0c0f;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .16px;
}

.u14-header.creator-header { position: sticky; top: 12px; }

.creator-nav-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -3px;
  line-height: 1;
  white-space: nowrap;
}

.creator-header .creator-nav-primary,
.creator-editorial-header .creator-nav-primary {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.creator-header .creator-nav-primary > a,
.creator-editorial-header .creator-nav-primary > a {
  display: inline-flex;
  align-items: center;
  column-gap: .25em;
  min-height: 44px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}
.creator-header a,
.creator-editorial-header a { color: inherit; text-decoration: none; }

.creator-header .creator-nav-primary > a:hover,
.creator-editorial-header .creator-nav-primary > a:hover,
.creator-editorial-header .creator-nav-primary > a[aria-current] { background: var(--creator-nav-hover); }

.creator-header .creator-nav-primary > .creator-nav-action,
.creator-editorial-header .creator-nav-primary > .creator-nav-action {
  min-height: 44px;
  padding-inline: 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--creator-nav-accent);
}
.creator-header .creator-nav-primary > .creator-nav-action:hover,
.creator-editorial-header .creator-nav-primary > .creator-nav-action:hover { background: #fff4f3; color: #ae1016; }

.creator-nav-tools { display: flex; align-items: center; gap: 10px; }

.creator-about-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}
.creator-nav-tools > .creator-about-link,
.creator-editorial-header > .creator-about-link {
  background: #fff;
  color: var(--creator-nav-accent);
}
.creator-nav-tools > .creator-about-link:hover,
.creator-editorial-header > .creator-about-link:hover {
  background: #fff4f3;
  color: #ae1016;
}
.creator-header :focus-visible,
.creator-editorial-header :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.creator-header .creator-nav-more, .creator-editorial-header .creator-nav-more { display: none; }
.creator-nav-more:not([open]) > nav { display: none; }

@media (max-width: 1100px) {
  .u14-header.creator-header,
  .creator-editorial-header {
    min-height: 64px;
    margin: 12px 14px;
    padding: 7px 12px;
    gap: 8px;
    border-radius: 24px;
  }
  .u14-header.creator-header { top: 10px; }
  .creator-nav-brand { font-size: 29px; }
  .creator-nav-wide { display: none; }
  .creator-header .creator-nav-primary,
  .creator-editorial-header .creator-nav-primary { justify-content: flex-end; gap: 0; }
  .creator-header .creator-nav-primary > a,
  .creator-editorial-header .creator-nav-primary > a { padding-inline: 9px; font-size: 13px; }
  .creator-header .creator-nav-primary > .creator-nav-action,
  .creator-editorial-header .creator-nav-primary > .creator-nav-action { min-height: 44px; padding-inline: 11px; }
  .creator-header .creator-nav-primary > .creator-nav-secondary,
  .creator-editorial-header .creator-nav-primary > .creator-nav-secondary,
  .creator-editorial-header > .creator-nav-secondary,
  .creator-nav-tools { display: none; }
  .creator-header .creator-nav-more,
  .creator-editorial-header .creator-nav-more { display: block; margin: 0; }
  .creator-header .creator-nav-more > summary,
  .creator-editorial-header .creator-nav-more > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 44px;
    padding: 0 7px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    list-style: none;
    cursor: pointer;
  }
  .creator-nav-more > summary::-webkit-details-marker { display: none; }
  .creator-nav-more[open] > summary,
  .creator-nav-more > summary:hover { background: var(--creator-nav-hover); }
  .creator-header .u14-mobile-panel,
  .creator-editorial-header .creator-nav-more > nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    z-index: 90;
    display: grid;
    width: min(440px, 100%);
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-sizing: border-box;
    padding: 16px 24px;
    border-radius: 24px;
    background: #fff;
    color: #191917;
    box-shadow: 0 16px 40px #1717141a;
  }
  .creator-header .u14-mobile-panel > a:not(.u14-button),
  .creator-editorial-header .creator-nav-more > nav > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
    font-size: 16px;
    color: #191917;
  }
  .creator-header .u14-mobile-panel > a.creator-about-link,
  .creator-editorial-header .creator-nav-more > nav > .creator-about-link {
    justify-content: center;
    margin-top: 6px;
    border: 1px solid currentColor;
    background: #fff;
    color: var(--creator-nav-accent);
  }
  .creator-header .u14-mobile-panel > a.creator-about-link:hover,
  .creator-editorial-header .creator-nav-more > nav > .creator-about-link:hover { background: #fff4f3; }
  .creator-header .u14-mobile-panel :focus-visible,
  .creator-editorial-header .creator-nav-more > nav :focus-visible { outline-color: var(--creator-nav-accent); }
}

@media (max-width: 700px) {
  .shop:has(.model-stage) .u14-header.creator-header { position: relative; top: auto; }
}
