/**
 * Site geneli modern üst menü + alt navbar arama
 */
body.site-modern .header.navbar,
body.site-modern .header.site-header-bar {
  background: #ffffff !important;
  box-shadow: 0 1px 0 #e2e8f0;
  position: relative;
  z-index: 200;
  min-height: 0;
  height: auto;
  padding: 0;
}

body.site-modern .header .header__shell {
  display: block !important;
  width: 100%;
  max-width: 100%;
}

/* —— Üst satır: menü sayfa ortasında, logo/giriş içerik (1170px) hizasında —— */
body.site-modern .header .header__top {
  position: relative;
  width: 100%;
  min-height: 62px;
}

body.site-modern .header .header__container {
  position: relative;
  z-index: 2;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

body.site-modern .header .header__container > * {
  pointer-events: auto;
}

body.site-modern .header .header__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

body.site-modern .header .header__auth {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
}

body.site-modern .header .header__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  min-height: 62px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 clamp(180px, 22vw, 280px);
  box-sizing: border-box;
  z-index: 1;
  pointer-events: none;
}

body.site-modern .header .header__menu .nav-main {
  pointer-events: auto;
}

body.site-modern .header .hamburger__menu {
  flex: 0 0 auto;
}

body.site-modern .header .navbar-header {
  float: none !important;
  margin: 0 !important;
  flex: 0 0 auto;
}

/* Harita / panel — tek satır */
body.site-modern .header .header__shell--fluid {
  padding: 0 15px;
}

body.site-modern .header .header__top--fluid {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap;
  min-height: 62px;
  gap: 8px 16px;
}

body.site-modern .header .header__nav-fluid {
  flex: 1 1 auto;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

body.site-modern .header .header__nav-fluid .header__menu {
  flex: 1 1 auto;
  justify-content: center;
  padding: 0;
  width: auto;
  border: none;
}

body.site-modern .header .header__nav-fluid .header__auth {
  margin-left: 0;
}

body.site-modern .header .navbar-brand {
  float: none !important;
  height: auto !important;
  padding: 12px 15px 12px 0 !important;
  display: flex !important;
  align-items: center;
  line-height: 1;
}

body.site-modern .header .navbar-brand img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 182px;
  filter: brightness(0) saturate(100%) invert(24%) sepia(55%) saturate(900%) hue-rotate(175deg) brightness(0.85);
}

body.site-modern .header .home-brand-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.site-modern .header .header__nav {
  float: none !important;
  flex: 1 1 auto;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  margin: 0;
}

body.site-modern .header .nav.navbar-nav,
body.site-modern .header .nav-main,
body.site-modern .header .navbar-right {
  float: none !important;
  margin: 0;
}

body.site-modern .header .nav-main {
  display: flex !important;
  flex: 0 1 auto;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px 8px;
}

body.site-modern .header .navbar-right {
  display: flex !important;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}

body.site-modern .header .nav-main > li > a,
body.site-modern .header .navbar-right > li > a {
  color: #334155 !important;
  font-weight: 500;
  font-size: 13px;
  text-transform: none;
  line-height: 1.4;
  padding: 10px 8px !important;
}

body.site-modern .header .nav-main > li > a:before {
  display: none !important;
}

body.site-modern .header .nav-main > li > a:hover,
body.site-modern .header .navbar-right > li > a:hover {
  color: #0fa5e2 !important;
  background: transparent !important;
}

body.site-modern .header .btn-login {
  color: #fff !important;
  background: #0fa5e2 !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 8px 18px !important;
  margin-top: 0 !important;
  font-weight: 600;
  box-shadow: none !important;
}

body.site-modern .header .btn-login:hover {
  background: #1a5f8a !important;
}

body.site-modern .header .header__filter.filter__icon {
  position: static !important;
  flex: 0 0 auto;
  display: none;
  margin: 0 0 0 8px;
  padding: 8px 12px;
  width: auto;
  height: auto;
  color: #334155 !important;
  background: #f1f5f9;
  border-radius: 8px;
}

body.site-modern.landing .header.navbar {
  background: #ffffff !important;
  box-shadow: 0 1px 0 #e2e8f0;
}

body.site-modern .hamburger__menu .bar {
  background: #334155;
}

/* —— Alt satır: arama —— */
body.site-modern .header.header--has-subnav {
  padding-bottom: 0;
}

body.site-modern .header .header__sub {
  width: 100%;
  padding: 0 15px 14px;
  border-top: 1px solid #f1f5f9;
  background: #fff;
  box-sizing: border-box;
}

body.site-modern .header .header-search {
  max-width: 720px;
  margin: 12px auto 0;
  width: 100%;
}

body.site-modern .header .header-search__form {
  display: block !important;
  margin: 0 !important;
  float: none !important;
  width: 100%;
}

body.site-modern .header .header-search__row {
  display: flex !important;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

body.site-modern .header .header-search__inner {
  flex: 1 1 auto;
  position: relative;
  min-width: 0;
  margin: 0 !important;
  float: none !important;
}

body.site-modern .header .header-search__inner.doctor__field:before {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-family: "weboty" !important;
  content: "\e935";
  color: #94a3b8;
  z-index: 2;
  pointer-events: none;
  width: auto;
  height: auto;
}

body.site-modern .header .header-search__inner--help:before {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-family: "weboty" !important;
  content: "\e887";
  color: #94a3b8;
  z-index: 2;
  pointer-events: none;
}

body.site-modern .header .header-search__inner--help .header-search__input,
body.site-modern .header .header-search__inner--hospital .header-search__input {
  padding-left: 48px !important;
}

body.site-modern .header .header-search__inner--hospital:before {
  content: "\f0f8";
}

body.site-modern .header .header-search__input,
body.site-modern .header .header-search__inner .form-control {
  width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 20px 0 48px !important;
  float: none !important;
  display: block !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 100px 0 0 100px !important;
  background: #f8fafc !important;
  color: #1e293b !important;
  box-shadow: none !important;
  font-size: 15px;
}

body.site-modern .header .header-search__inner--plain .header-search__input {
  padding-left: 20px !important;
}

body.site-modern .header .header-search__input:focus,
body.site-modern .header .header-search__inner .form-control:focus {
  border-color: #0fa5e2 !important;
  background: #fff !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 165, 226, 0.12) !important;
}

body.site-modern .header .header-search__input::placeholder {
  color: #94a3b8 !important;
  opacity: 1;
}

body.site-modern .header .header-search__submit,
body.site-modern .header .header-search__form .btn-search {
  flex: 0 0 52px;
  width: 52px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  position: static !important;
  left: auto !important;
  border: none !important;
  border-radius: 0 100px 100px 0 !important;
  background: #0fa5e2 !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: none !important;
}

body.site-modern .header .header-search__submit:hover {
  background: #1a5f8a !important;
}

/* Eski .search sınıfı — gizle (nav içinde kalmışsa) */
body.site-modern .header .header__nav .search,
body.site-modern .header .header__nav .search,
body.site-modern .header .header__top > .search {
  display: none !important;
}

/* Doktor önerileri — yalnızca odaklanınca, çubuk altında chip */
body.site-modern .header .header-search__suggestions.doctor__list__field {
  display: none !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  float: none !important;
}

body.site-modern .header .header-search__form:has(.doctor__field.is-open) .header-search__suggestions {
  display: block !important;
}

body.site-modern .header .header-search__suggestions .scrollbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: none;
  overflow: visible;
}

body.site-modern .header .header-search__suggestions a,
body.site-modern .header .header-search__suggestions span {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 14px !important;
  margin: 0 !important;
  border-radius: 100px !important;
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-size: 13px;
  white-space: nowrap;
  border: 1px solid #e2e8f0;
  float: none !important;
}

body.site-modern .header .header-search__suggestions a:hover {
  background: #e0f2fe !important;
  color: #0fa5e2 !important;
  padding-left: 14px !important;
}

/* Eski header.search kurallarını ez */
body.site-modern .header .search {
  float: none !important;
  margin: 0 !important;
}

body.site-modern .header .search .form-group {
  float: none !important;
  margin: 0 !important;
}

body.site-modern .header .search .w50 {
  width: auto !important;
  margin: 0 !important;
}

@media (max-width: 991px) {
  body.site-modern .header .header__menu {
    display: none !important;
  }

  body.site-modern .header .header__filter.filter__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  body.site-modern .header .header__container {
    max-width: 970px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  body.site-modern .header .header__container {
    max-width: 750px;
  }
}

@media (max-width: 768px) {
  body.site-modern .header .header__top {
    flex-wrap: nowrap;
    min-height: 56px;
  }

  body.site-modern .header .navbar-header {
    flex: 0 0 auto;
    text-align: left;
  }

  body.site-modern .header .navbar-brand {
    padding: 10px 0 !important;
    justify-content: flex-start;
  }

  body.site-modern .header .header-search {
    max-width: 100%;
    margin-top: 10px;
  }

  body.site-modern .header .header-search__input,
  body.site-modern .header .header-search__inner .form-control {
    height: 44px !important;
    font-size: 14px;
  }

  body.site-modern .header .header-search__submit {
    width: 48px !important;
    height: 44px !important;
  }
}

/* Mobil: responsive.css header .search gizliyor — alt satırı göster */
@media (max-width: 991px) {
  body.site-modern .header .header__sub,
  body.site-modern .header .header-search {
    display: block !important;
  }
}
