/* =========================================================
   ZWIERZAK 5.2.9 — desktopowe menu pływające
   Zakres: wyłącznie szerokości od 1025 px.
   ========================================================= */

@media (min-width:1025px){
  /* Czytelniejsza typografia głównego menu bez naruszania wersji mobilnej. */
  .site-nav__list,
  .site-nav .menu{
    gap:17px;
  }

  .site-nav a{
    font-size:13px;
    line-height:1.25;
    letter-spacing:.005em;
  }

  .desktop-header-placeholder{
    display:block;
    width:100%;
    height:0;
    pointer-events:none;
  }

  .site-header.is-desktop-floating{
    position:fixed;
    z-index:1000;
    top:0;
    right:0;
    left:0;
    width:100%;
    border-bottom-color:#dfe9e3;
    background:rgba(255,255,255,.97);
    box-shadow:0 14px 36px rgba(18,54,35,.13);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    animation:zwDesktopHeaderEnter .24s ease-out both;
  }

  .admin-bar .site-header.is-desktop-floating{
    top:32px;
  }

  .site-header.is-desktop-floating .topbar{
    display:none;
  }

  .site-header.is-desktop-floating .header-row{
    height:76px;
    gap:18px;
  }

  .site-header.is-desktop-floating .brand{
    width:185px;
    height:68px;
    flex-basis:185px;
  }

  .site-header.is-desktop-floating .brand .custom-logo{
    max-height:64px;
  }

  .site-header.is-desktop-floating .site-nav__list,
  .site-header.is-desktop-floating .site-nav .menu{
    gap:17px;
  }

  .site-header.is-desktop-floating .site-nav a{
    padding:25px 0 23px;
  }

  .site-header.is-desktop-floating .site-nav a:after{
    bottom:17px;
  }

  .site-header.is-desktop-floating .site-nav .sub-menu{
    top:63px;
  }

  .site-header.is-desktop-floating .header-cta{
    min-height:44px;
  }

  @keyframes zwDesktopHeaderEnter{
    from{opacity:0;transform:translateY(-12px)}
    to{opacity:1;transform:translateY(0)}
  }
}

@media (min-width:1025px) and (max-width:1180px){
  .header-row{
    gap:14px;
  }

  .brand{
    width:175px;
    flex-basis:175px;
  }

  .site-nav__list,
  .site-nav .menu,
  .site-header.is-desktop-floating .site-nav__list,
  .site-header.is-desktop-floating .site-nav .menu{
    gap:12px;
  }

  .site-nav a{
    font-size:12.5px;
  }

  .header-cta{
    padding-inline:12px;
    font-size:11px;
  }

  .site-header.is-desktop-floating .header-row{
    gap:13px;
  }

  .site-header.is-desktop-floating .brand{
    width:165px;
    flex-basis:165px;
  }
}

@media (min-width:1181px){
  .site-nav a{
    font-size:13.5px;
  }
}

@media (min-width:1025px) and (prefers-reduced-motion:reduce){
  .site-header.is-desktop-floating{
    animation:none;
  }
}
