/* Header-bottom nav: full-bleed row; inner padding matches theme .container (5%) */
.mobile-header-search {
  display: none;
}

@media (min-width: 992px) {
  .header-bottom > .container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .header-bottom .inner-wrap {
    padding-left: 5%;
    padding-right: 5%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .header-bottom .main-nav {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }

  /* Orta hiza: li öğeleri blok olarak gruplanır, sol/sağ boşluk eşitlenir */
  .header-bottom .main-nav .menu {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    row-gap: 0.25rem;
  }
}

@media (max-width: 768px) {
  .header-middle .header-search {
    display: none !important;
  }

  .mobile-header-search {
    display: block;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
  }

  .mobile-header-search .mobile-search-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    margin: 0;
  }

  .mobile-header-search .mobile-search-input {
    min-height: 4rem;
    border: 1px solid #ddd;
    border-right: 0;
    border-radius: 0.3rem 0 0 0.3rem;
    background: #fff;
    color: #333;
    font-size: 1.3rem;
  }

  .mobile-header-search .mobile-search-button {
    min-width: 5.2rem;
    border: 1px solid #ddd;
    border-left: 0;
    border-radius: 0 0.3rem 0.3rem 0;
    background: #222;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
  }
}
