/* fer.aynifikir.com — header / menü / arama düzenlemeleri */

/* Orta boş: logo sol, sağda arama + sepet + üyelik + dil */
.header-style-1 .header-middle .header-wrap {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.header-style-1 .header-middle .logo.logo-width-1 {
  flex: 0 0 auto;
  margin-right: 0;
}

.header-style-1 .header-middle .logo.logo-width-1 a img {
  width: 250px !important;
  max-width: 250px !important;
}

.header-style-1 .header-middle .header-right {
  width: auto !important;
  max-width: none;
  margin-left: auto;
  flex: 0 0 auto;
  display: flex !important;
  align-items: center;
  justify-content: flex-end !important;
  gap: 12px;
}

.header-style-1 .header-middle .search-style-2,
.header-style-1.header-style-5 .header-middle .search-style-2 {
  display: block !important;
  width: 200px !important;
  max-width: 200px !important;
  flex: 0 0 200px !important;
}

.header-style-1 .header-middle .search-style-2 form {
  max-width: 200px !important;
  width: 100%;
  margin: 0 !important;
  padding: 0;
  border-radius: 10px;
}

.header-style-1 .header-middle .search-style-2 form input {
  height: 38px !important;
  padding: 6px 40px 6px 12px !important;
  font-size: 13px;
  border-radius: 10px;
}

.header-style-1 .header-middle .search-style-2 form button {
  font-size: 15px;
  padding: 4px 10px;
  border-radius: 0 10px 10px 0;
}

.header-style-1 .header-middle .header-action-right {
  display: flex !important;
  flex: 0 0 auto;
  justify-content: flex-end;
  align-items: center;
}

.header-style-1 .header-middle .header-action-2 {
  gap: 0;
}

.header-style-1 .header-middle .header-action-2 .header-action-icon-2 {
  padding: 0 6px;
}

/* Alt menü: eşit sığma + hover beyaz zemin / yeşil yazı */
.header-style-1.header-style-5 .header-bottom .header-nav {
  width: 100%;
  flex: 1 1 auto;
}

.header-style-1.header-style-5 .header-bottom .main-menu {
  width: 100%;
}

.header-style-1.header-style-5 .header-bottom .main-menu > nav {
  width: 100%;
}

.header-style-1.header-style-5 .header-bottom .main-menu > nav > ul {
  display: flex;
  width: 100%;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.header-style-1.header-style-5 .header-bottom .main-menu.main-menu-padding-1 > nav > ul > li {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 !important;
  text-align: center;
  line-height: 1.2;
}

.header-style-1.header-style-5 .header-bottom .main-menu.main-menu-padding-1 > nav > ul > li:first-child {
  padding-left: 0 !important;
}

.header-style-1.header-style-5 .header-bottom .main-menu > nav > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  color: #fff;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-style-1.header-style-5 .header-bottom .main-menu > nav > ul > li:hover > a,
.header-style-1.header-style-5 .header-bottom .main-menu > nav > ul > li > a:hover,
.header-style-1.header-style-5 .header-bottom .main-menu > nav > ul > li > a.active {
  background-color: #ffffff !important;
  color: #122E1F !important;
}

.header-style-1.header-style-5 .header-bottom .main-menu > nav > ul > li:hover > a i,
.header-style-1.header-style-5 .header-bottom .main-menu > nav > ul > li > a:hover i {
  color: #122E1F !important;
}

@media only screen and (max-width: 1400px) {
  .header-style-1.header-style-5 .header-bottom .main-menu > nav > ul > li > a {
    font-size: 11px;
    padding: 8px 4px;
  }
}

@media only screen and (max-width: 1199px) {
  .header-style-1 .header-middle .search-style-2,
  .header-style-1.header-style-5 .header-middle .search-style-2 {
    width: 170px !important;
    max-width: 170px !important;
    flex-basis: 170px !important;
  }
}
