/* Mobil header: yalnızca logo + arama + (giriş yapılmışsa avatar) + hamburger.
   Dil seçici ve Oturum aç/Kaydol hamburger menüsüne taşınır. */
.pn-m-only {
  display: none
}

@media (max-width:991px) {
  .lang-custom-dropdown {
    display: none !important
  }

  .pn-authbar.pn-guest {
    display: none !important
  }

  .right-actions {
    gap: 12px !important
  }

  header {
    gap: 6px !important
  }

  header .search-box,
  header.pn-header .search-box {
    margin-left: 10px !important;
    max-width: 100% !important
  }

  header .search-box+*,
  header .right-actions {
    margin-left: 0 !important
  }

  .hero-hamburger-pill {
    margin-left: 6px !important
  }

  header>div:first-child {
    flex: 1 1 auto !important;
    max-width: none !important
  }

  header .logo-box+.search-box {
    margin-left: 10px !important
  }

  header .logo-box img {
    height: 36px !important
  }

  .navbar-toggler {
    margin-left: -6px !important
  }

  #navMenu .pn-m-only {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 6px 14px 4px
  }

  #navMenu .pn-m-auth {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 8px 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    margin-bottom: 8px
  }

  #navMenu .pn-m-auth .pn-btn-signup,
  #navMenu .pn-m-auth .pn-btn-login {
    display: block !important
  }

  #navMenu .pn-m-auth button {
    flex: 1 1 0;
    max-width: 180px;
    padding: 11px 10px;
    font-size: 15px
  }

  #navMenu .pn-m-lang {
    padding: 0
  }

  #navMenu .pn-m-lang summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    color: #fff;
    font-size: 16px;
    font-weight: 500
  }

  #navMenu .pn-m-lang summary::-webkit-details-marker {
    display: none
  }

  #navMenu .pn-m-lang summary img {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px
  }

  .pn-m-chev {
    width: 7px;
    height: 7px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin: -3px 0 0 4px;
    transition: transform .2s
  }

  #navMenu .pn-m-lang[open] .pn-m-chev {
    transform: rotate(-135deg);
    margin-top: 4px
  }

  #navMenu .pn-m-langlist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 10px;
    padding: 0 6px 10px
  }

  #navMenu .pn-m-langlist a {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: auto !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 10px;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-align: left !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .07)
  }

  #navMenu .pn-m-langlist a img {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px
  }
}

@media (min-width:992px) {
  #navMenu a {
    margin: 0 8px
  }
}