/* NS MASAÜSTÜ ARAMA KATMANI v1 — 28 Kas 2026
   Yalnız masaüstü başlıktaki arama kutusu (Journal3 #search). Kullanıcının seçimi: "3 · Siyah yuvarlak düğme".
   Başka hiçbir şeye dokunmaz: logo, sağ üstteki kapsül (#nsl-mono), kayan şerit, kategori menüsü, telefon başlığı aynı kalır.
   Öneri listesi (twitter-typeahead .tt-menu) temanın kendi görünümüyle, kutunun altında açılmaya devam eder.
   Kutu: 48 px (sağdaki kapsülle aynı boy, aynı çizgi ve gölge), logo ile kapsülün ortasında, en çok 560 px.
   Kaynak: masaustu-baslik/arama.css (ön izleme, şekil 3). */

html.desktop-header-active header:not(#na) .desktop-search-wrapper {
  flex: 1 1 auto !important;
  justify-content: center;
  min-width: 0;
  margin: 0 32px !important;
}
html.desktop-header-active header:not(#na) .desktop-search-wrapper #search,
html.desktop-header-active header:not(#na) .desktop-search-wrapper #search > .dropdown-menu {
  width: 100% !important;
  max-width: 560px !important;
  height: auto !important;              /* tema ikisine 38 px sabit boy veriyor */
}
html.desktop-header-active header:not(#na) .desktop-search-wrapper #search > .dropdown-menu { max-width: none !important; }

html.desktop-header-active header:not(#na) .desktop-search-wrapper .header-search {
  box-sizing: border-box;
  width: 100% !important;
  height: 48px !important;
  padding: 0 4px 0 22px !important;
  border: 1px solid rgba(0, 0, 0, .08) !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);   /* #nsl-mono ile aynı */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif !important;
  transition: box-shadow .2s, border-color .2s;
}
html.desktop-header-active header:not(#na) .desktop-search-wrapper .header-search:focus-within {
  border-color: rgba(0, 0, 0, .16) !important;
  box-shadow: 0 0 0 3px rgba(29, 30, 34, .07), 0 8px 28px rgba(0, 0, 0, .08);
}

/* Yazı alanı (asıl kutu ve öneri ipucu kutusu aynı ölçüde kalır) */
html.desktop-header-active header:not(#na) .desktop-search-wrapper .header-search .twitter-typeahead {
  flex: 1 1 auto !important;
  min-width: 0;
  height: 100% !important;
  order: 1 !important;
}
html.desktop-header-active header:not(#na) .desktop-search-wrapper .header-search .search-input {
  flex: 1 1 auto;
  order: 1 !important;
  min-width: 0;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #1d1d1f !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: -.01em;
  text-overflow: ellipsis;
  outline: none !important;
}
html.desktop-header-active header:not(#na) .desktop-search-wrapper .header-search .search-input::placeholder { color: #86868b; opacity: 1; }

/* Siyah yuvarlak büyüteç düğmesi (kartlardaki "Sepete Ekle" siyahı) */
html.desktop-header-active header:not(#na) .desktop-search-wrapper .header-search .search-button {
  flex: none;
  display: flex !important;
  align-items: center;
  justify-content: center;
  order: 2 !important;
  width: 40px !important;
  height: 40px !important;
  margin: 0 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #1d1e22 !important;
  color: #fff !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color .2s;
}
html.desktop-header-active header:not(#na) .desktop-search-wrapper .header-search .search-button:hover { background: #000 !important; }
html.desktop-header-active header:not(#na) .desktop-search-wrapper .header-search .search-button:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }
/* Büyüteç: temanın yazı-tipi simgesi yerine çizgi simge; tema ::before'a #212121 verdiği için renk düğmeden alınır */
html.desktop-header-active header:not(#na) .desktop-search-wrapper .header-search .search-button::before {
  content: "" !important;
  display: block !important;
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;
  color: inherit !important;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.75'/%3E%3Cpath d='m20 20-4.7-4.7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.75'/%3E%3Cpath d='m20 20-4.7-4.7'/%3E%3C/svg%3E") center / contain no-repeat;
  font-size: 0 !important;
  line-height: 0 !important;
}
