/* =====================================================================
   navbar-premium.css — Soft-light şık header
   Load after design-standard / prod-stability
   ===================================================================== */

html body .cs-sticky-header-1 {
  position: sticky !important;
  top: 0 !important;
  z-index: 1040 !important;
  min-height: 72px !important;
  /* Soft-light page (#f3f6fb) ile aynı ton — beyaz slab ayrılığı yok */
  background: rgba(243, 246, 251, 0.94) !important;
  background-color: rgba(243, 246, 251, 0.94) !important;
  background-image: none !important;
  -webkit-backdrop-filter: saturate(140%) blur(14px) !important;
  backdrop-filter: saturate(140%) blur(14px) !important;
  border-bottom: 1px solid rgba(26, 31, 54, 0.05) !important;
  box-shadow: none !important;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  overflow: visible !important;
}

html body .cs-sticky-header-1:not(.is-menu-open) {
  max-height: 88px !important;
}

html body .cs-sticky-header-1.is-scrolled,
html body .cs-sticky-header-1.is-menu-open,
html body .cs-sticky-header-1.header-transparent.is-scrolled {
  background: rgba(243, 246, 251, 0.97) !important;
  background-color: rgba(243, 246, 251, 0.97) !important;
  border-bottom-color: rgba(26, 31, 54, 0.07) !important;
  box-shadow: 0 8px 20px rgba(26, 31, 54, 0.04) !important;
}

html body .cs-sticky-header-1.header-transparent:not(.is-scrolled):not(.is-menu-open) {
  background: rgba(243, 246, 251, 0.72) !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

html body .cs-sticky-header-1 .container-2,
html body .cs-sticky-header-1 .container {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

html body .cs-sticky-header-1 .cs-header-row-1 {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(12px, 2vw, 28px) !important;
  min-height: 52px !important;
}

/* Logo */
html body .cs-sticky-header-1 .cs-main-logo-1 {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 0 !important;
}

html body .cs-sticky-header-1 .cs-main-logo-1 img {
  width: auto !important;
  max-width: 168px !important;
  height: 44px !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Nav links — sadece desktop */
@media (min-width: 1024px) {
  html body .cs-sticky-header-1 .cs-main-nav-1 {
    display: flex !important;
    justify-content: center !important;
  }

  html body .cs-sticky-header-1 .cs-main-menu-1 {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
}

html body .cs-sticky-header-1 .main-li-1 {
  position: relative !important;
  margin: 0 !important;
}

html body .cs-sticky-header-1 .main-a-1,
html body .cs-sticky-header-1 .cs-main-menu-1 > .main-li-1 > a.main-a-1 {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 40px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  color: #2d3550 !important;
  -webkit-text-fill-color: #2d3550 !important;
  font-family: Sora, Inter, system-ui, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 650 !important;
  letter-spacing: 0.06em !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: color 0.2s ease, background 0.2s ease !important;
}

html body .cs-sticky-header-1 .main-a-1::after {
  content: "" !important;
  position: absolute !important;
  left: 14px !important;
  right: 14px !important;
  bottom: 6px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: #0f9e96 !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  transition: transform 0.22s ease !important;
  opacity: 0.95 !important;
}

html body .cs-sticky-header-1 .main-a-1:hover,
html body .cs-sticky-header-1 .main-a-1.active,
html body .cs-sticky-header-1 .main-a-1:focus-visible {
  color: #0b827b !important;
  -webkit-text-fill-color: #0b827b !important;
  background: rgba(15, 158, 150, 0.08) !important;
}

html body .cs-sticky-header-1 .main-a-1:hover::after,
html body .cs-sticky-header-1 .main-a-1.active::after,
html body .cs-sticky-header-1 .main-a-1:focus-visible::after {
  transform: scaleX(1) !important;
}

/* Dropdown panel — hover köprüsü: boşlukta kapanmayı engelle */
html body .cs-sticky-header-1 .main-dd-d-1,
html body .cs-sticky-header-1 .csgdd1-d-1 {
  top: 100% !important;
  margin-top: 0 !important;
  padding: 10px 0 0 !important;
  min-width: 220px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body .cs-sticky-header-1 .main-dd-d-1 {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}

html body .cs-sticky-header-1 .csgdd1-d-1 {
  right: 0 !important;
  left: auto !important;
  transform: none !important;
}

/* Görsel kart: iç liste — dış padding hover köprüsü olarak kalır */
html body .cs-sticky-header-1 .main-dd-d-1 > .mdd-m-1,
html body .cs-sticky-header-1 .csgdd1-d-1 > .csgdd1-m-1 {
  margin: 0 !important;
  padding: 8px !important;
  list-style: none !important;
  background: #ffffff !important;
  border: 1px solid rgba(26, 31, 54, 0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 40px rgba(26, 31, 54, 0.12) !important;
}

/* Eski ok/caret köprüsü — overflow kırpmasın diye gizle */
html body .cs-sticky-header-1 .main-dd-d-1::before,
html body .cs-sticky-header-1 .csgdd1-d-1::before {
  display: none !important;
}

html body .cs-sticky-header-1 .main-li-1:hover > .main-dd-d-1,
html body .cs-sticky-header-1 .main-li-1:focus-within > .main-dd-d-1,
html body .cs-sticky-header-1 .main-li-1.dd-active-1 > .main-dd-d-1,
html body .cs-sticky-header-1 .cs-globe-dd-1:hover > .csgdd1-d-1,
html body .cs-sticky-header-1 .cs-globe-dd-1:focus-within > .csgdd1-d-1,
html body .cs-sticky-header-1 .cs-globe-dd-1.dd-active-1 > .csgdd1-d-1 {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

html body .cs-sticky-header-1 .mdd-m-l-1,
html body .cs-sticky-header-1 .csgdd1-m-l-1 {
  display: flex !important;
  align-items: center !important;
  min-height: 42px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  color: #1a1f36 !important;
  -webkit-text-fill-color: #1a1f36 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  transition: background 0.18s ease, color 0.18s ease !important;
}

html body .cs-sticky-header-1 .mdd-m-l-1:hover,
html body .cs-sticky-header-1 .mdd-m-l-1.active,
html body .cs-sticky-header-1 .csgdd1-m-l-1:hover {
  background: rgba(15, 158, 150, 0.1) !important;
  color: #0b827b !important;
  -webkit-text-fill-color: #0b827b !important;
}

/* Right actions */
html body .cs-sticky-header-1 .cs-header-row-2 {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

html body .cs-sticky-header-1 .cs-header-btn-1,
html body .cs-sticky-header-1 .cs-header-btn-2 {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: #f7f9fc !important;
  border: 1px solid rgba(26, 31, 54, 0.08) !important;
  color: #1a1f36 !important;
  box-shadow: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

html body .cs-sticky-header-1 .cs-header-btn-1:hover,
html body .cs-sticky-header-1 .cs-header-btn-2:hover {
  background: rgba(15, 158, 150, 0.1) !important;
  border-color: rgba(15, 158, 150, 0.28) !important;
  color: #0b827b !important;
  transform: translateY(-1px) !important;
}

html body .cs-sticky-header-1 .cs-header-btn-1 i,
html body .cs-sticky-header-1 .cs-header-btn-2 i {
  color: inherit !important;
  font-size: 18px !important;
}

html body .cs-sticky-header-1 .cs-header-btn-1.notification::after {
  background: #ef4444 !important;
  box-shadow: 0 0 0 2px #fff !important;
}

/* Login CTA */
html body .cs-sticky-header-1 .cs-header-btn-3,
html body .cs-sticky-header-1 a.cs-header-btn-3 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: #0f9e96 !important;
  background-image: none !important;
  border: 0 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: Sora, Inter, system-ui, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 8px 18px rgba(15, 158, 150, 0.28) !important;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

html body .cs-sticky-header-1 .cs-header-btn-3:hover,
html body .cs-sticky-header-1 a.cs-header-btn-3:hover {
  background: #0b827b !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 10px 22px rgba(15, 158, 150, 0.34) !important;
  transform: translateY(-1px) !important;
}

html body .cs-sticky-header-1 .cs-header-btn-3 .ds-in-1 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: inherit !important;
}

html body .cs-sticky-header-1 .cs-header-btn-3 i {
  color: inherit !important;
  font-size: 16px !important;
}

/* Logged-in user chip */
html body .cs-sticky-header-1 .cs-header-btn-4,
html body .cs-sticky-header-1 a.cs-header-btn-4 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 42px !important;
  padding: 4px 12px 4px 4px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid rgba(26, 31, 54, 0.1) !important;
  box-shadow: 0 6px 16px rgba(26, 31, 54, 0.06) !important;
  text-decoration: none !important;
}

html body .cs-sticky-header-1 .cs-header-btn-4 .image-d-1,
html body .cs-sticky-header-1 .cs-header-btn-4 .image-d-1 img,
html body .cs-sticky-header-1 .fake-char-i-1 {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  object-fit: cover !important;
}

html body .cs-sticky-header-1 .fake-char-i-1 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(15, 158, 150, 0.12) !important;
  color: #0b827b !important;
  font-size: 12px !important;
  font-weight: 750 !important;
}

html body .cs-sticky-header-1 .name-t-1 {
  margin: 0 !important;
  color: #1a1f36 !important;
  font-size: 13.5px !important;
  font-weight: 650 !important;
  max-width: 140px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Language */
html body .cs-sticky-header-1 #headerLanguageOption,
html body .cs-sticky-header-1 select.cs-language-select {
  width: 72px !important;
  min-width: 72px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 28px 0 12px !important;
  border-radius: 999px !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(26, 31, 54, 0.1) !important;
  color: #1a1f36 !important;
  -webkit-text-fill-color: #1a1f36 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* Hamburger */
html body .cs-sticky-header-1 .cs-humberge-m-1 {
  width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  background: #f7f9fc !important;
  border: 1px solid rgba(26, 31, 54, 0.08) !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

html body .cs-sticky-header-1 .cs-humberge-m-1-top,
html body .cs-sticky-header-1 .cs-humberge-m-1-bottom {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  width: 16px !important;
  max-width: 16px !important;
  height: 2px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: #1a1f36 !important;
  animation: none !important;
  transform: none !important;
  flex: 0 0 auto !important;
}

html body .cs-sticky-header-1 .cs-humberge-m-1:not(.is-active) .cs-humberge-m-1-bottom {
  width: 12px !important;
  max-width: 12px !important;
}

html body .cs-sticky-header-1 .cs-humberge-m-1.is-active .cs-humberge-m-1-top {
  width: 16px !important;
  transform: translateY(3.5px) rotate(45deg) !important;
  animation: none !important;
}

html body .cs-sticky-header-1 .cs-humberge-m-1.is-active .cs-humberge-m-1-bottom {
  width: 16px !important;
  max-width: 16px !important;
  transform: translateY(-3.5px) rotate(-45deg) !important;
  animation: none !important;
}

/* Mobile drawer */
html body .cs-mobile-menu-d-1 {
  background: #ffffff !important;
  border-left: 1px solid rgba(26, 31, 54, 0.08) !important;
  box-shadow: -18px 0 40px rgba(26, 31, 54, 0.12) !important;
}

html body .cs-mobile-menu-d-1 .main-a-1,
html body .cs-mobile-menu-d-1 a {
  color: #1a1f36 !important;
  -webkit-text-fill-color: #1a1f36 !important;
}

@media (max-width: 1023.98px) {
  /* Desktop nav asla mobilde görünmesin */
  html body .cs-sticky-header-1 .cs-main-nav-1,
  html body .cs-sticky-header-1 .cshr1-col-2,
  html body .cs-sticky-header-1 .cs-main-menu-1 {
    display: none !important;
  }

  html body .cs-sticky-header-1:not(.is-menu-open),
  html body .cs-sticky-header-1 .container-2,
  html body .cs-sticky-header-1 .container {
    max-height: none !important;
  }

  html body .cs-sticky-header-1 .container-2,
  html body .cs-sticky-header-1 .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html body .cs-sticky-header-1 .cs-header-row-1 {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 8px !important;
    min-height: 48px !important;
    max-height: none !important;
  }

  html body .cs-sticky-header-1 .cshr1-col-1 {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  html body .cs-sticky-header-1 .cshr1-col-3 {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin-left: auto !important;
  }

  html body .cs-sticky-header-1 .cs-header-row-2 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    width: auto !important;
    margin-left: 0 !important;
  }

  html body .cs-sticky-header-1 .cshr2-col-1:has(#headerLanguageOption),
  html body .cs-sticky-header-1 .cshr2-col-1:has(.cs-signal-cont-1),
  html body .cs-sticky-header-1 .cshr2-col-1:has(.jsSignalBtn1) {
    display: none !important;
  }

  html body .cs-sticky-header-1 .cshr2-col-1:has(.cs-header-btn-1),
  html body .cs-sticky-header-1 .cshr2-col-2,
  html body .cs-sticky-header-1 .cshr2-col-3 {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
  }

  html body .cs-sticky-header-1 .cs-main-logo-1 img {
    max-width: min(140px, 42vw) !important;
    height: 36px !important;
  }

  html body .cs-sticky-header-1 .cs-header-btn-1,
  html body .cs-sticky-header-1 .cs-header-btn-2 {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  html body .cs-sticky-header-1 .cs-header-btn-3 {
    padding: 0 12px !important;
    font-size: 12.5px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  /* Profil: avatar-only — isim mobilde taşmasın */
  html body .cs-sticky-header-1 .cs-header-btn-4,
  html body .cs-sticky-header-1 a.cs-header-btn-4 {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    padding: 0 !important;
    gap: 0 !important;
    overflow: hidden !important;
    border-radius: 999px !important;
  }

  html body .cs-sticky-header-1 .cs-header-btn-4 .name-d-1 {
    display: none !important;
  }

  html body .cs-sticky-header-1 .cs-header-btn-4 .image-d-1,
  html body .cs-sticky-header-1 .cs-header-btn-4 .image-d-1 img,
  html body .cs-sticky-header-1 .cs-header-btn-4 .fake-char-i-1 {
    width: 40px !important;
    height: 40px !important;
    border-radius: 999px !important;
    object-fit: cover !important;
  }

  html body .cs-sticky-header-1 .cs-humberge-m-1 {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    flex-shrink: 0 !important;
  }

  /* Nav dropdown'ları kapalı; profil dropdown tıklanınca açılsın */
  html body .cs-sticky-header-1 .main-dd-d-1 {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  html body .cs-sticky-header-1 .cs-main-logo-1 img {
    max-width: min(132px, 40vw) !important;
    height: 34px !important;
  }
}
