/* Ortak üst menü — B2 antrasit (2026-10-22). Yalnız .ust2 kapsamı; sitenin genel renklerine dokunmaz. Renkler B2 prompt tablosundan. */
.ust2 {
  --u2-beyaz: #ffffff; --u2-serit: #333333; --u2-serit-hover: #454545; --u2-metin: #242424; --u2-ikincil: #666666; --u2-placeholder: #6b6b6b;
  --u2-bilgi: #f4f4f4; --u2-alan: #f7f7f7; --u2-kenar: #dedede; --u2-cizgi: #e8e8e8; --u2-hover: #f4f4f4; --u2-turuncu: #f26a0f;
  --u2-golge: 0 10px 28px rgba(0, 0, 0, .10); --u2-bilgi-yuk: 32px;
  position: sticky; top: calc(-1 * var(--u2-bilgi-yuk)); z-index: 60; background: var(--u2-beyaz); color: var(--u2-metin);
  font-size: 15px; line-height: 1.45; font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ust2 *, .ust2 *::before, .ust2 *::after { box-sizing: border-box; }
.ust2 a { color: inherit; text-decoration: none; }
.ust2 :where(button) { font: inherit; color: inherit; cursor: pointer; }
.ust2 svg { width: 22px; height: 22px; flex: none; }
.ust2 :focus-visible { outline: 2px solid #242424; outline-offset: 2px; }
.u2-seritler :focus-visible, .u2-bilgi :focus-visible { outline-color: #fff; }
.u2-kap { width: min(1280px, 100% - 64px); margin-inline: auto; }
/* ince bilgi şeridi */
.u2-bilgi { background: var(--u2-bilgi); height: var(--u2-bilgi-yuk); font-size: 12.5px; color: var(--u2-ikincil); }
.u2-bilgi .u2-kap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.u2-bilgi-sag { display: flex; align-items: center; gap: 14px; }
.u2-bilgi-sag a:not(.mod-anahtar):hover { color: var(--u2-metin); text-decoration: underline; }
.u2-sosyal { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--u2-kenar); border-radius: 50%; color: var(--u2-ikincil); background: #fff; }
.u2-sosyal svg { width: 14px; height: 14px; }
.u2-sosyal:hover { color: var(--u2-metin); border-color: #999; }
.ust2 .mod-anahtar { display: inline-flex; align-items: stretch; border: 1px solid var(--u2-kenar); border-radius: 999px; padding: 2px; margin: 0; background: #fff; font-size: 11.5px; font-weight: 600; line-height: 1; }
.ust2 .mod-anahtar .mod-sec { padding: 4px 10px; border-radius: 999px; color: var(--u2-ikincil); white-space: nowrap; }
.ust2 .mod-anahtar .mod-acik { background: #333; color: #fff; }
.ust2 .mod-anahtar:hover .mod-sec:not(.mod-acik) { color: var(--u2-metin); }
/* ana satır */
.u2-ana { background: var(--u2-beyaz); height: 80px; }
.u2-ana .u2-kap { display: flex; align-items: center; gap: 28px; height: 100%; }
.u2-logo { flex: none; display: block; width: 220px; }
.u2-logo img { display: block; width: 100%; height: auto; max-height: 40px; object-fit: contain; object-position: left center; }
.u2-menu-dugme { display: none; }
.u2-arama { position: relative; flex: 1 1 auto; max-width: 680px; display: flex; height: 46px; }
.u2-arama input { flex: 1; min-width: 0; height: 100%; padding: 0 14px; border: 1px solid var(--u2-kenar); border-right: 0; border-radius: 8px 0 0 8px; background: var(--u2-alan); color: var(--u2-metin); font: inherit; font-size: 15px; }
.u2-arama input::placeholder { color: var(--u2-placeholder); }
.u2-arama input:focus { outline: 0; border-color: #333; background: #fff; box-shadow: inset 0 0 0 1px #333; }
.u2-arama button { flex: none; width: 48px; height: 100%; border: 0; border-radius: 0 8px 8px 0; background: #333; color: #fff; display: grid; place-items: center; }
.u2-arama button:hover { background: #454545; }
.u2-arama button:focus-visible { outline: 2px solid #333; outline-offset: 2px; }
.u2-sag { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.u2-oge { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.u2-oge:hover { color: #000; }
.u2-sayac { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #333; color: #fff; font-size: 12px; font-weight: 600; }
.u2-sayac[hidden] { display: none; }
.u2-sepet .u2-sayac[hidden] { display: inline-grid; }          /* sepet sayacı boşken de 0 gösterir */
/* arama önerileri */
.u2-sonuc { position: absolute; z-index: 70; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--u2-kenar); border-radius: 8px; box-shadow: var(--u2-golge); max-height: min(70vh, 560px); overflow-y: auto; padding: 6px 0; }
.u2-sonuc[hidden] { display: none; }
.u2-s-baslik { margin: 8px 14px 2px; font-size: 12px; font-weight: 700; color: var(--u2-ikincil); letter-spacing: .02em; }
.u2-s-oge { display: flex; align-items: center; gap: 12px; padding: 8px 14px; min-height: 44px; }
.u2-s-oge:hover, .u2-s-oge.etkin { background: var(--u2-hover); }
.u2-s-oge img { width: 44px; height: 44px; object-fit: contain; background: #fff; border: 1px solid var(--u2-cizgi); border-radius: 6px; flex: none; }
.u2-s-oge span { display: grid; min-width: 0; }
.u2-s-oge strong { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u2-s-oge small { color: var(--u2-ikincil); font-size: 12.5px; }
.u2-s-ikon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 6px; background: var(--u2-alan); color: var(--u2-ikincil); flex: none; }
.u2-s-tumu { display: block; margin: 6px 0 0; padding: 12px 14px; border-top: 1px solid var(--u2-cizgi); font-weight: 600; font-size: 14px; }
.u2-s-tumu:hover { background: var(--u2-hover); }
.u2-s-durum { margin: 0; padding: 14px; color: var(--u2-ikincil); font-size: 14px; }
/* kategori şeridi */
.u2-seritler { background: var(--u2-serit); color: #fff; position: relative; height: 48px; }
.u2-seritler-kap { position: relative; height: 100%; }
.u2-seritler-kap > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; justify-content: space-between; height: 100%; }
.u2-seritler-kap > ul > .u2-oge-kat { display: flex; align-items: stretch; }
.u2-ayri { margin-left: 8px; padding-left: 8px; border-left: 1px solid #4d4d4d; }
.u2-kat { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 18px; border: 0; background: none; color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; border-radius: 0; }
.u2-kat svg { width: 16px; height: 16px; transition: transform .15s ease; }
.u2-kat:hover, .u2-oge-kat.acik > .u2-kat { background: var(--u2-serit-hover); }
.u2-kat[aria-expanded="true"] svg { transform: rotate(180deg); }
.u2-kat[aria-expanded="true"]::after, .u2-kat.u2-gecerli::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; background: var(--u2-turuncu); }
.u2-panel { position: absolute; z-index: 65; left: 0; right: 0; top: 100%; background: #fff; color: var(--u2-metin); border: 1px solid var(--u2-kenar); border-top: 0; box-shadow: var(--u2-golge); max-height: calc(100vh - 160px); overflow-y: auto; }
.u2-panel[hidden] { display: none; }
.u2-panel-ic { display: grid; gap: 40px; padding: 30px 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.u2-sutun-1 { grid-template-columns: minmax(0, 260px); }
.u2-sutun-2 { grid-template-columns: repeat(2, minmax(0, 260px)); }
.u2-sutun-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.u2-baslik { margin: 0 0 8px; font-size: 14.5px; font-weight: 700; color: var(--u2-metin); }
.u2-sutun ul { list-style: none; margin: 0; padding: 0; }
.u2-link { display: block; padding: 7px 8px; margin: 0 -8px; border-radius: 6px; font-size: 14.5px; color: var(--u2-ikincil); }
.u2-link:hover { background: var(--u2-hover); color: var(--u2-metin); }
/* mobil / tablet */
.u2-karartma { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .32); }
.u2-karartma[hidden] { display: none; }
.u2-cekmece { position: fixed; z-index: 90; top: 0; left: 0; bottom: 0; width: min(92vw, 400px); height: 100dvh; background: #fff; color: var(--u2-metin); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .16s ease; box-shadow: var(--u2-golge); }
.u2-cekmece[hidden] { display: none; }
.u2-cekmece.acik { transform: none; }
.u2-c-ust { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--u2-cizgi); flex: none; }
.u2-c-ust h2 { margin: 0; font-size: 17px; font-weight: 700; }
.u2-c-dugme { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 8px; }
.u2-c-dugme:hover { background: var(--u2-hover); }
.u2-c-govde { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 0 18px; }
.u2-c-satir { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 16px; border: 0; background: none; text-align: left; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--u2-cizgi); }
.u2-c-satir:hover { background: var(--u2-hover); }
.u2-c-ikincil { font-weight: 500; font-size: 15px; color: var(--u2-ikincil); }
.u2-c-ayrac { height: 8px; background: var(--u2-bilgi); }
.u2-c-geri { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 0; background: #fff; font-weight: 700; font-size: 16px; width: 100%; text-align: left; border-bottom: 1px solid var(--u2-cizgi); }
.u2-c-baslik { margin: 14px 16px 2px; font-size: 13.5px; font-weight: 700; color: var(--u2-ikincil); }
.u2-c-link { display: flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: 15px; color: var(--u2-metin); }
.u2-c-link:hover { background: var(--u2-hover); }
body.u2-kilit { overflow: hidden; }
@media (max-width: 1199px) {
  .ust2 { --u2-bilgi-yuk: 0px; }
  .u2-bilgi, .u2-seritler { display: none; }
  .u2-kap { width: calc(100% - 48px); }
  .u2-ana { height: auto; padding: 8px 0 8px; }
  .u2-ana .u2-kap { flex-wrap: wrap; gap: 8px 14px; }
  .u2-menu-dugme { order: 1; display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 12px 0 8px; border: 0; background: none; font-size: 15px; font-weight: 600; border-radius: 8px; }
  .u2-menu-dugme:hover { background: var(--u2-hover); }
  .u2-logo { order: 2; width: 180px; }
  .u2-sag { order: 3; gap: 4px; margin-left: auto; }
  .u2-sag .u2-yazi { display: none; }
  .u2-sag .u2-oge { min-width: 44px; justify-content: center; }
  .u2-sag .u2-sayac { position: absolute; top: 2px; right: 0; }
  .u2-hesap { display: none !important; }
  .u2-arama { order: 4; flex: 1 1 100%; max-width: none; height: 44px; }
}
@media (max-width: 767px) {
  .u2-kap { width: calc(100% - 32px); }
  .u2-ana .u2-kap { flex-wrap: nowrap; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "menu logo sag" "ara ara ara"; align-items: center; gap: 4px 8px; }
  .u2-ana { padding: 6px 0 8px; }
  .u2-menu-dugme { grid-area: menu; padding: 0 8px; }
  .u2-menu-dugme span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .u2-logo { grid-area: logo; justify-self: center; width: clamp(130px, 44vw, 180px); }
  .u2-sag { grid-area: sag; }
  .u2-fav { display: none; }
  .u2-arama { grid-area: ara; }
}
@media (max-width: 360px) { .u2-kap { width: calc(100% - 24px); } }
@media (min-width: 1200px) { .u2-cekmece, .u2-karartma { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .u2-cekmece { transition: none; } .u2-kat svg { transition: none; } }
/* eski üst çubuk kalıntıları: yeni başlık varken eski yan öğeler görünmesin */
.ust2 ~ .arama-satir, .ust2 + .ust { display: none; }
/* arama sonuçları sayfası + marka süzgeci (2026-10-22) */
.ara-suz, .marka-suz { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ara-chip { border: 1px solid #dedede; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13.5px; cursor: pointer; color: #242424; }
.ara-chip span { color: #666; margin-left: 4px; }
.ara-chip.etkin { background: #333; border-color: #333; color: #fff; }
.ara-chip.etkin span { color: #ddd; }
.ara-liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.ara-kart { background: #fff; padding: 8px; }
.ara-bag { display: flex; flex-direction: column; gap: 6px; height: 100%; text-decoration: none; color: inherit; }
.ara-bag img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.ara-bag h3 { font-size: .9rem; font-weight: 600; line-height: 1.3; text-align: center; margin: 0; }
.ara-alt { margin: 0; text-align: center; font-size: .8rem; color: #666; }
.ara-bos { color: #666; }
@media (max-width: 1100px) { .ara-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .ara-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* küçük paneller (1-2 sütun) tetikleyicinin altında; geniş Sofra paneli içerik genişliğinde */
.u2-seritler-kap > ul > .u2-goreli { position: relative; }
.u2-goreli > .u2-panel { right: auto; left: 0; width: max-content; min-width: 280px; max-width: 92vw; }
.u2-goreli.u2-sag-hiza > .u2-panel { left: auto; right: 0; }
.u2-goreli .u2-panel-ic { grid-template-columns: repeat(2, minmax(200px, auto)); }
.u2-goreli .u2-sutun-1 { grid-template-columns: minmax(220px, auto); }

/* sabit başlığın altında kalan bağlantı hedefleri (ör. #yeni-gelenler): kaydırma payı = başlığın GERÇEK görünür yüksekliği + 14 px (ust-menu.js --u2-yuk'u ölçer; ölçülene kadar varsayılanlar) */
html { scroll-padding-top: calc(var(--u2-yuk, 128px) + 14px); }
@media (max-width: 1199px) { html { scroll-padding-top: calc(var(--u2-yuk, 112px) + 14px); } }
#yeni-gelenler { scroll-margin-top: -13px; }   /* bölümün kendi üst boşluğu (~13 px) payı çıkar: sekmeler başlığın ~14 px altında */
