/* ══════════════════════════════════════════════════════════════
   bluep.css — ortak tasarım dili (değişkenler, temel, bileşenler)
   Tema: koyu "blueprint" (varsayılan) + açık tema — <html data-theme="dark|light">
   ══════════════════════════════════════════════════════════════ */

:root,
:root[data-theme="dark"] {
  --bg: #060d1a;
  --bg-2: #0a1526;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --surface-solid: #0d1b30;
  --border: rgba(148, 178, 214, 0.18);
  --border-strong: rgba(148, 178, 214, 0.34);
  --text: #e8f1ff;
  --muted: #94a7c2;
  --accent: #38bdf8;
  --accent-2: #22d3ee;
  --accent-3: #3b82f6;
  --accent-ink: #04202e;
  --grid: rgba(56, 189, 248, 0.07);
  --glow-a: rgba(34, 211, 238, 0.16);
  --glow-b: rgba(59, 130, 246, 0.2);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f3f7fc;
  --bg-2: #e9f0f9;
  --surface: #ffffff;
  --surface-2: #f0f5fb;
  --surface-solid: #ffffff;
  --border: #d6e2f1;
  --border-strong: #b7c9df;
  --text: #0b1b33;
  --muted: #566a86;
  --accent: #0369a1;   /* WCAG AA: #0284c7 açık zeminde 3,8:1 idi → 5,5:1 */
  --accent-2: #0891b2;
  --accent-3: #2563eb;
  --accent-ink: #ffffff;
  --grid: rgba(2, 132, 199, 0.08);
  --glow-a: rgba(8, 145, 178, 0.13);
  --glow-b: rgba(37, 99, 235, 0.12);
  --shadow: 0 16px 40px rgba(15, 45, 90, 0.12);
  --ok: #047857;
  --warn: #b45309;
  --danger: #b91c1c;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Zemin deseni — Yönetim → Renk & tema → "Arka plan deseni"nden seçilir (js/theme.js data-bg yazar).
   Varsayılan (data-bg yoksa ya da "blueprint"): ince ızgara + iki renkli parıltı. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 12% -5%, var(--glow-b), transparent 60%),
    radial-gradient(800px 480px at 95% 8%, var(--glow-a), transparent 60%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, rgba(0, 0, 0, .55) 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, rgba(0, 0, 0, .55) 100%);
}
/* Noktalı: çizgiler yerine ince nokta deseni */
:root[data-bg="dots"] body::before {
  background:
    radial-gradient(900px 500px at 12% -5%, var(--glow-b), transparent 60%),
    radial-gradient(800px 480px at 95% 8%, var(--glow-a), transparent 60%),
    radial-gradient(var(--grid) 1.4px, transparent 1.6px) 0 0 / 26px 26px,
    var(--bg);
}
/* Yumuşak: yalnızca parıltı, çizgi/nokta yok */
:root[data-bg="soft"] body::before {
  background:
    radial-gradient(900px 500px at 12% -5%, var(--glow-b), transparent 60%),
    radial-gradient(800px 480px at 95% 8%, var(--glow-a), transparent 60%),
    var(--bg);
}
/* Düz: tamamen desensiz */
:root[data-bg="plain"] body::before { background: var(--bg); }

img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ── Butonlar ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: .95rem; line-height: 1.2;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, opacity .2s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-loading { opacity: .65; cursor: not-allowed; pointer-events: none; }
.btn-primary {
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  box-shadow: 0 8px 24px -8px var(--accent-3);
}
:root[data-theme="light"] .btn-primary { color: #fff; }
.btn-primary:hover { box-shadow: 0 10px 30px -6px var(--accent-3); transform: translateY(-1px); }
.btn-ghost { color: var(--text); background: var(--surface); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { padding: 7px 13px; font-size: .86rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn .spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Rozetler ── */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em; line-height: 1.5;
  color: var(--muted); background: var(--surface-2); border: 1px solid var(--border);
}
.badge-accent { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.badge-ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.badge-warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.badge-danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); background: color-mix(in srgb, var(--danger) 12%, transparent); }

/* ── Üst çubuk ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { min-width: 0; flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.brand img { width: 40px; height: 40px; display: block; border-radius: 50%; box-shadow: 0 0 0 1px var(--border-strong); }
.brand-name { font-size: 1.32rem; font-weight: 800; letter-spacing: -.02em; }
.brand-name span { background: linear-gradient(135deg, var(--accent-2), var(--accent-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.header-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.header-nav a { color: var(--muted); font-weight: 600; font-size: .93rem; padding: 8px 12px; border-radius: 10px; text-decoration: none; }
.header-nav a:hover, .nav-dd-btn:hover { color: var(--text); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
.header-nav > a[aria-current="page"], .nav-dd.is-current > .nav-dd-btn { color: var(--text); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
.header-nav:not([data-ready]) { visibility: hidden; }
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: inherit; font-weight: 600; font-size: .93rem; padding: 8px 12px; color: var(--muted); background: none; border: 0; border-radius: 10px; }
.nav-dd-btn::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.nav-dd.open > .nav-dd-btn::after { transform: rotate(225deg); margin-top: 3px; }
.nav-dd-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; display: none; flex-direction: column; gap: 2px; min-width: 250px; padding: 8px; background: var(--surface-solid, var(--bg)); border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: var(--shadow); }
.nav-dd.open > .nav-dd-menu { display: flex; }
.nav-dd-menu a, .nav-dd-off { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--text); overflow-wrap: anywhere; }
.nav-dd-off { color: var(--muted); opacity: .7; cursor: default; }
.nav-dd-menu small { font-weight: 600; font-size: .72rem; color: var(--warn); white-space: nowrap; }
.icon-btn.nav-toggle { display: none; }   /* .icon-btn'den SONRA gelmeli: aksi halde .icon-btn'in display:inline-grid'i bunu geçersiz kılar (eşit özgüllük, kaynak sırası kazanır) */
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; cursor: pointer;
  color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  transition: color .2s, border-color .2s, background .2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-icon-sun { display: none; }
:root[data-theme="light"] .theme-icon-sun { display: block; }
:root[data-theme="light"] .theme-icon-moon { display: none; }

/* ── SSS akordiyonu ── Ana Sayfa "showOnHome" açıksa js/faq-widget.js bir <div>/<button> + .open sınıfını
   JS ile aç/kapatır (eski desen). sss.php artık sunucu tarafında render edildiği için (bkz. SEO notu orada)
   gerçek <details>/<summary> kullanıyor — JS HİÇ gerekmeden tarayıcı kendisi açıp kapatıyor; aynı görsel
   stil İKİ seçiciyle de (.open VE [open]) çalışır. */
.faq-list { display: grid; gap: 10px; max-width: 760px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.faq-item > summary { list-style: none; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: none; border: none; color: var(--text); font: inherit; font-weight: 650; font-size: 1rem; text-align: left; cursor: pointer; }
.faq-q:hover { background: var(--surface-2); }
.faq-ico { flex-shrink: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--accent); font-weight: 700; transition: transform .2s ease; }
.faq-item.open .faq-ico, .faq-item[open] .faq-ico { transform: rotate(45deg); }
.faq-a { padding: 0 20px 18px; color: var(--muted); line-height: 1.65; }
/* white-space:pre-line: js/faq-widget.js cevabı textContent ile basıyor (güvenli, HTML enjeksiyonu yok) —
   ama bu yüzden admin'in textarea'da yazdığı satır sonları varsayılan olarak GÖRMEZDEN GELİNİYORDU, çok
   satırlı cevaplar tek satıra yapışıyordu (sss.php tarafı nl2br ile zaten düzeltildi, bkz. KURULUM.md).
   pre-line, innerHTML/br eklemeden salt CSS ile aynı sonucu veriyor — güvenlik notu hâlâ geçerli. */
.faq-a p { margin: 0; max-width: 66ch; white-space: pre-line; }

/* ── Kullanıcı menüsü ── */
.user-menu { position: relative; }
.user-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; cursor: pointer;
  color: var(--text); font: inherit; font-weight: 650; font-size: .9rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
}
.user-chip:hover { border-color: var(--border-strong); background: var(--surface-2); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; overflow: hidden; flex: none;
  font-size: .8rem; font-weight: 800; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
}
:root[data-theme="light"] .avatar { color: #fff; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-chip-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px; padding: 14px;
  background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: var(--shadow);
  display: none;
}
.user-dropdown.open { display: block; animation: pop .15s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.user-dropdown .ud-name { font-weight: 750; overflow-wrap: anywhere; }
.user-dropdown .ud-mail { color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; margin-bottom: 10px; }
.user-dropdown .ud-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.user-dropdown .ud-links { display: grid; gap: 2px; margin: 0 -6px 12px; padding: 8px 6px; border-block: 1px solid var(--border); }
.user-dropdown .ud-link { display: block; padding: 8px 10px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .92rem; text-decoration: none; }
.user-dropdown .ud-link:hover { background: var(--surface-2); text-decoration: none; }

/* ── Form ── */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .86rem; font-weight: 650; color: var(--muted); }
.input-wrap { position: relative; }
.input {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.input:hover { border-color: var(--border-strong); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.input-wrap .input { padding-right: 46px; }
.input-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center;
  color: var(--muted); background: none; border: 0; border-radius: 10px; cursor: pointer;
}
.input-toggle:hover { color: var(--text); background: var(--surface-2); }
.input-toggle svg { width: 18px; height: 18px; }

.alert { padding: 11px 14px; border-radius: 12px; font-size: .9rem; border: 1px solid; margin-bottom: 14px; }
.alert-error { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); border-color: color-mix(in srgb, var(--danger) 35%, transparent); }
.alert-ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.alert-info { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }

/* ── Bildirim (toast) ── */
#toast-container { position: fixed; z-index: 200; right: 18px; bottom: 18px; display: grid; gap: 10px; max-width: min(360px, calc(100vw - 36px)); }
.toast {
  padding: 12px 16px; border-radius: 14px; font-size: .92rem; font-weight: 600; color: var(--text);
  background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  animation: pop .2s ease-out;
}
.toast.ok { border-left: 4px solid var(--ok); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.info { border-left: 4px solid var(--accent); }


/* ── Bildirimler (zil) ── */
.notif { position: relative; }
.notif-btn { position: relative; }
.notif-count { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; font-size: .68rem; font-weight: 800; line-height: 1; color: #fff; background: #ef4444; border: 2px solid var(--bg); border-radius: 999px; }
.notif-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(360px, calc(100vw - 32px)); background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: var(--shadow); display: none; overflow: hidden; z-index: 60; }
.notif-panel.open { display: block; animation: pop .15s ease-out; }
.notif-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.notif-list { max-height: 380px; overflow: auto; }
.notif-empty { padding: 26px 16px; text-align: center; color: var(--muted); font-size: .9rem; }
.notif-item { display: grid; gap: 2px; width: 100%; padding: 12px 16px 12px 22px; text-align: left; font: inherit; color: var(--text); background: none; border: 0; border-bottom: 1px solid var(--border); cursor: pointer; position: relative; }
.notif-item:last-child { border-bottom: 0; }
.notif-item:hover { background: var(--surface-2); }
.notif-item.unread::before { content: ""; position: absolute; left: 9px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.notif-title { font-weight: 700; font-size: .92rem; }
.notif-msg { color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }
.notif-time { color: var(--muted); font-size: .74rem; opacity: .85; }
@media (max-width: 480px) { .notif-panel { position: fixed; right: 16px; left: 16px; top: 70px; width: auto; } }

@media (max-width: 480px) {
  .header-inner { gap: 8px; }
  .header-actions, #auth-area { gap: 6px !important; }
  .header-actions .btn-sm { padding: 6px 11px; font-size: .82rem; }
  .icon-btn { width: 36px; height: 36px; }
  .brand img { width: 32px; height: 32px; }
  .brand-name { font-size: 1.1rem; }
}
@media (max-width: 360px) { .header-actions .icon-btn:not(.nav-toggle):not([data-theme-toggle]) { display: none; } }
@media (max-width: 860px) {
  .icon-btn.nav-toggle { display: inline-grid; }
  .header-nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 55; display: none; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 10px 16px 16px; max-height: calc(100vh - 70px); overflow-y: auto; background: var(--bg); border-bottom: 1px solid var(--border-strong); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
  .site-header.nav-open .header-nav { display: flex; }
  .header-nav > a { padding: 12px 14px; font-size: 1rem; }
  .nav-dd-btn { width: 100%; padding: 12px 14px 4px; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; opacity: .7; cursor: default; pointer-events: none; }
  .nav-dd-btn::after { display: none; }
  .nav-dd-menu { position: static; display: flex; min-width: 0; padding: 0 0 6px 10px; background: none; border: 0; box-shadow: none; }
}
@media (max-width: 760px) {
  .brand-name { font-size: 1.2rem; }
  .user-chip-name { display: none; }
  .user-chip { padding-right: 4px; }
}

/* Duyuru çubuğu (yönetim panelinden: Site Ayarları → Duyuru) */
.announce { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding: 9px 16px; font-size: .9rem; font-weight: 600; text-align: center; color: #fff; }
.announce-info { background: linear-gradient(90deg, var(--accent-3), var(--accent-2)); }
.announce-warn { background: linear-gradient(90deg, #b45309, #d97706); }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* dar telefonlarda üst çubuk sığsın: ☰ düğmesi ekran dışına taşmasın */
.nav-auth-mobile { display: none; }
@media (max-width: 480px) {
  .header-inner { padding-left: 12px; padding-right: 12px; }
  #auth-area > .btn-primary { display: none; }                  /* "Kayıt Ol" menünün içinde */
  .header-nav > .nav-auth-mobile { display: block; }
  .brand-name { font-size: 1.05rem; }
  .header-actions { flex-shrink: 0; gap: 6px; }
  .nav-toggle { flex: none; }
}

/* ── ORTAK ALTBİLGİ (js/mini-footer.js) — ana sayfa dahil TÜM sayfalarda aynı: marka + 4 grup + iletişim, altta telif · ek bağlantılar · ödeme şeridi.
      (Ana sayfanın eski ayrı footer'ı kaldırıldı; .mini-footer sınıfı yazdırma/Kalıp stüdyosu kurallarının hedefi olarak korunur.) */
.mini-footer { margin-top: 56px; padding: 40px 0 26px; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.uf-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 28px 32px; padding-bottom: 28px; }
.uf-brand p { margin: 12px 0 0; max-width: 320px; font-size: .93rem; line-height: 1.55; color: var(--muted); }
.uf-col { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; min-width: 0; }
.uf-col h4 { margin: 0 0 6px; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.uf-col a, .fc-v { font-size: .93rem; font-weight: 500; line-height: 1.4; color: var(--text); opacity: .82; text-decoration: none; overflow-wrap: anywhere; }
.uf-col a:hover { opacity: 1; color: var(--accent); }
.fc-row { display: flex; flex-direction: column; gap: 1px; align-items: flex-start; }
.fc-k { font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.uf-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.uf-links { display: flex; flex-wrap: wrap; gap: 6px 16px; flex: 1 1 auto; }
.uf-links a { color: var(--muted); text-decoration: none; }
.uf-links a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 1000px) { .uf-grid { grid-template-columns: repeat(3, 1fr); } .uf-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .uf-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; } .uf-brand, .uf-contact { grid-column: 1 / -1; } .uf-bottom { flex-direction: column; align-items: flex-start; } }
@media (max-width: 600px) { .uf-legal { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; } .uf-legal h4 { grid-column: 1 / -1; } }
/* ödeme logoları (iyzico ile Öde · Visa · MasterCard): açık zeminli çipte, koyu temada da okunur */
.pay-band-chip { display: inline-flex; align-items: center; padding: 8px 14px; background: #fff; border-radius: 10px; border: 1px solid rgba(15, 23, 42, .1); max-width: 100%; }
.pay-band-chip img { display: block; width: 100%; max-width: 429px; height: auto; }
.pay-with { display: grid; gap: 6px; justify-items: center; margin-top: 10px; text-align: center; font-size: .78rem; color: var(--muted); }
@media (max-width: 400px) { .user-chip { padding: 3px; } .brand img { width: 28px; height: 28px; } }

/* Tek tip çizgi ikonlar (js/ui-icons.js): sekme / düğme metninin başında */
.ui-ico { width: 1.1em; height: 1.1em; vertical-align: -.2em; margin-right: 6px; flex-shrink: 0; }

/* ── Dokunmatik ekranlar: parmakla rahat basılsın (en az ~40 px yükseklik). Masaüstü görünümünü değiştirmez. ── */
@media (pointer: coarse), (max-width: 760px) {
  .brand { min-height: 44px; }
  .header-actions .btn-sm, #auth-area .btn-sm { min-height: 40px; display: inline-flex; align-items: center; }
  .uf-col a, .uf-links a { display: inline-block; padding: 5px 2px; }
  button.link-btn { padding: 10px 2px; }
  .check input[type="checkbox"], .check input[type="radio"] { width: 20px; height: 20px; flex: none; }
  .cp-sw, .swatch { min-width: 32px; min-height: 32px; }
  .tool-back-link { display: inline-flex; align-items: center; min-height: 40px; }
  .check { min-height: 36px; }
}

/* Orta genişlik (861–1100 px: küçük dizüstü / yatay tablet): menü maddeleri + işlem düğmeleri tek satıra sığsın, üst çubuk yana taşmasın.
   Hamburger menü 860 px ve altında zaten açılır; bu aralıkta yalnız boşluklar daraltılır ve kullanıcı adı gizlenir (avatar kalır). */
@media (min-width: 861px) and (max-width: 1100px) {
  .header-inner { gap: 10px; }
  .header-nav { margin-left: 2px; gap: 0; }
  .header-nav a, .nav-dd-btn { padding: 8px 8px; font-size: .88rem; }
  .header-actions { gap: 6px; }
  .user-chip-name { display: none; }
}
