/* Shopilife marketing site — design tokens + base styles.
   Palette and wordmark approved by the user (see assets/logo/). */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #0f0c16;
  --surface: #171325;
  --surface-2: #1e1a2e;
  --line: #2b2640;

  --ink: #f4f2ee;
  --ink-dim: #a79fc2;
  --ink-faint: #6d6690;

  --accent: #6e3aa8;
  --accent-strong: #8a4fd1;
  --accent-2: #d6ff5c;
  --lime: #d6ff5c;
  --btn-grad: linear-gradient(120deg, #8f55d6 0%, #7a44c0 50%, #5e2f9c 100%);

  --success: #4ade80;
  --danger: #f87171;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 5vw, 40px); letter-spacing: -0.01em; }
h2 { font-size: clamp(22px, 2.8vw, 28px); letter-spacing: -0.01em; }
h3 { font-size: 17px; }

p { margin: 0; color: var(--ink-dim); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent-2);
}

.lede {
  font-size: 17px;
  color: var(--ink-dim);
  max-width: 60ch;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background-color .25s ease, background-position .45s ease, border-color .2s ease, color .2s ease;
}
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary {
  background: var(--btn-grad);
  background-size: 220% 220%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 20px rgba(91,45,145,.35);
}
.btn-lime {
  background: var(--lime);
  color: #1b1530;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink-faint); }

.btn-outline-accent {
  background: transparent;
  color: var(--accent-2);
  border-color: var(--accent);
}
.btn-outline-accent:hover { background: rgba(110, 58, 168, 0.18); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 12, 22, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand img { height: 40px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  color: var(--ink-dim);
}
.nav-links a:hover { color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 12px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .header-cta { gap: 8px; }
  .header-cta .btn { padding: 9px 16px; font-size: 13.5px; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 45px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: 900px;
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(110, 58, 168, 0.45), transparent);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-meta div { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); }
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 2px;
}

.hero-preview img {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: top;
}
.pill {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(214, 255, 92, 0.14);
  color: var(--accent-2);
}
.pill-soon {
  background: rgba(110, 58, 168, 0.25);
  color: #c9a6f5;
}

/* ---------- Sections ---------- */

section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(110, 58, 168, 0.28);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.feature-icon svg {
  width: 30px;
  height: 30px;
}

.card h3 { margin-bottom: 10px; }
.card p { font-size: 14.5px; }

#ozellikler .card { text-align: center; }

/* AI callout */
.ai-callout {
  background: linear-gradient(135deg, rgba(110,58,168,0.35), rgba(23,19,37,0.4));
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
@media (max-width: 720px) {
  .ai-callout { grid-template-columns: 1fr; }
}
.ea-box { min-width: 0; max-width: 380px; }
.ea-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.ea-row { display: flex; gap: 8px; }
.ea-row input[type="email"] {
  flex: 1; min-width: 0;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
}
.ea-row .btn { white-space: nowrap; }
.ea-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ea-note { font-size: 12px; color: var(--ink-faint); margin-top: 8px; }
.ea-error { font-size: 13px; color: #f87171; margin-top: 8px; }
.ea-done { font-size: 14.5px; color: var(--ink); max-width: 320px; }
@media (max-width: 720px) {
  .ea-box { max-width: none; }
  .ea-row { flex-direction: column; }
}
.badge-soon {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lime);
  color: #14100a;
  display: inline-block;
  margin-bottom: 14px;
}

/* Pricing teaser */
.price-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  color: var(--ink);
  margin: 18px 0 4px;
}
.price-tag span { font-size: 14px; color: var(--ink-faint); font-weight: 500; }

.plan-list {
  list-style: none;
  margin: 20px 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-dim);
}
.plan-list li { display: flex; align-items: center; gap: 10px; }
.plan-list li::before {
  content: "✓";
  color: var(--accent-2);
  font-weight: 700;
}
.card-highlight {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px var(--accent-strong), 0 24px 60px -30px rgba(110,58,168,0.6);
  position: relative;
}
.card-highlight::before {
  content: "En Popüler";
  position: absolute;
  top: -13px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  background: var(--lime);
  color: #14100a;
  padding: 4px 10px;
  border-radius: 999px;
}

/* CTA strip */
.cta-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}
.cta-strip .btn { margin-top: 24px; }

/* Steps */
.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 860px) {
  .step-list { grid-template-columns: 1fr 1fr; }
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--surface);
}
.step .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-2);
  margin-bottom: 12px;
}

/* Forms */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 13px;
  color: var(--ink-dim);
  margin-bottom: 6px;
}
.form-field input:not([type="checkbox"]):not([type="radio"]),
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
}
.form-field input[type="checkbox"],
.form-field input[type="radio"] {
  width: auto;
  flex: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 2px 0 0;
  height: 20px;
  width: 20px;
  border: 1.5px solid var(--line);
  background: var(--surface-2);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.form-field input[type="checkbox"] { border-radius: 6px; }
.form-field input[type="radio"] { border-radius: 50%; }
.form-field input[type="checkbox"]:checked,
.form-field input[type="radio"]:checked {
  background: var(--accent-2);
  border-color: var(--accent-2);
}
.form-field input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #14100a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-field input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #14100a;
}
.form-field input[type="checkbox"]:focus-visible,
.form-field input[type="radio"]:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}
.form-field input[type="checkbox"]:hover,
.form-field input[type="radio"]:hover {
  border-color: var(--accent-strong);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid var(--accent-strong);
  outline-offset: 1px;
  border-color: var(--accent-strong);
}
.form-field textarea { resize: vertical; min-height: 100px; }

/* Yönetim modül/tema listesi: ad altındaki puan + yorum ikonu */
.item-rating { font-size: 12.5px; color: var(--ink-faint); margin-top: 3px; }
.item-rating .stars { color: #e0a100; }
.btn-review { padding: 6px 10px; display: inline-flex; align-items: center; }

/* "Beni hatırla" anahtarı (giriş formları) */
.remember-row { margin: -4px 0 18px; }
.form-field .switch-label, .switch-label { display: inline-flex; margin: 0; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--ink-dim); user-select: none; }
.form-field input[type="checkbox"].switch {
  width: 38px; height: 22px; margin: 0; border-radius: 999px;
  background: var(--surface-2); border: 1.5px solid var(--line);
}
.form-field input[type="checkbox"].switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px;
  border: 0; border-radius: 50%; background: var(--ink-faint); transform: none;
  transition: left .18s ease, background .18s ease;
}
.form-field input[type="checkbox"].switch:checked { background: var(--accent); border-color: var(--accent); }
.form-field input[type="checkbox"].switch:focus:not(:focus-visible) { outline: none; }
.form-field input[type="checkbox"].switch:checked::after { left: 18px; top: 2px; width: 15px; height: 15px; border: 0; transform: none; background: #fff; }
body.theme-light .form-field input[type="checkbox"].switch { background: #ece6f5; border-color: #d3ccdf; }
body.theme-light .form-field input[type="checkbox"].switch::after { background: #a59cbb; }
body.theme-light .form-field input[type="checkbox"].switch:checked { background: var(--accent); border-color: var(--accent); }
body.theme-light .form-field input[type="checkbox"].switch:checked::after { background: #fff; }

/* Şifre alanı göster/gizle (assets/js/password-toggle.js sarar) */
.pw-wrap { position: relative; display: block; }
.form-field .pw-wrap input { padding-right: 46px !important; }
.pw-wrap input { padding-right: 46px; }
.pw-toggle {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 8px; color: var(--ink-faint); cursor: pointer; padding: 0;
}
.pw-toggle:hover { color: var(--ink); }
.pw-toggle:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 1px; }
.pw-toggle svg { width: 18px; height: 18px; }
body.theme-light .pw-toggle { color: #8a82a3; }
body.theme-light .pw-toggle:hover { color: #3b3452; }

/* Destek yanıtı basit HTML editörü (G3/D12) */
.rte-toolbar {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
}
.rte-toolbar button {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13.5px;
  padding: 6px 11px;
  cursor: pointer;
}
.rte-toolbar button:hover { border-color: var(--accent-strong); }
.rte-toolbar input[type="color"] {
  width: 34px;
  height: 32px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  cursor: pointer;
}
.rte-editor {
  width: 100%;
  min-height: 120px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
}
.rte-editor:focus {
  outline: 2px solid var(--accent-strong);
  outline-offset: 1px;
  border-color: var(--accent-strong);
}
.rte-editor p { margin: 0 0 10px; }
.rte-editor p:last-child { margin-bottom: 0; }
.rte-editor ul, .rte-editor ol { margin: 0 0 10px 20px; }
.message-html p { margin: 0 0 10px; }
.message-html p:last-child { margin-bottom: 0; }
.message-html ul, .message-html ol { margin: 0 0 10px 20px; }

.table-wrap input[type="text"],
.table-wrap input[type="number"] {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
}
.table-wrap input[type="text"]:focus,
.table-wrap input[type="number"]:focus {
  outline: 2px solid var(--accent-strong);
  outline-offset: 1px;
  border-color: var(--accent-strong);
}

.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.alert {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-success {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #86efac;
}
.alert-error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fca5a5;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  color: var(--ink-faint);
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: var(--ink); }

/* Table (panel) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); }
tr:last-child td { border-bottom: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Confirm/alert modal (replaces native confirm()/alert()) ---------- */
.cm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 22, 0.72);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cm-overlay.is-open { display: flex; }
body.cm-lock { overflow: hidden; }
.cm-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 24px 24px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}
.cm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-dim);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.cm-close:hover { color: var(--ink); border-color: var(--ink-faint); }
.cm-message {
  margin: 0 26px 22px 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-line;
}
.cm-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cm-actions .btn { padding: 10px 20px; font-size: 14px; }

/* ---------- Legal content slide-in panel (KVKK/sözleşme "okumak için tıklayın" linkleri) ---------- */
.legal-link {
  text-decoration: underline;
  color: var(--ink);
  font-size: inherit;
  white-space: nowrap;
}
.legal-link:hover { color: var(--accent-2); }

.lm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 22, 0.6);
  z-index: 9998;
  justify-content: flex-end;
}
.lm-overlay.is-open { display: flex; }
body.lm-lock { overflow: hidden; }
.lm-panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--line);
  padding: 48px 28px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  animation: lm-slide-in 0.25s ease forwards;
}
@keyframes lm-slide-in {
  to { transform: translateX(0); }
}
.lm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-dim);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.lm-close:hover { color: var(--ink); border-color: var(--ink-faint); }
.lm-body {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-dim);
}
.lm-body h2 { color: var(--ink); font-size: 22px; margin-bottom: 16px; }
.lm-body h3 { color: var(--ink); margin-top: 22px; }
.lm-loading { color: var(--ink-faint); }
@media (max-width: 640px) {
  .lm-panel { max-width: 100%; padding: 44px 18px 28px; }
}

/* Aramalı seçim kutuları (bkz. public/assets/js/searchable-select.js) */
.ss-wrap { position: relative; }
.form-field .ss-wrap .ss-native,
.ss-wrap .ss-native {
  position: absolute !important;
  left: 0; bottom: 0;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; border: 0 !important;
  opacity: 0; pointer-events: none;
}
.ss-clear {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--ink-faint);
  font-size: 20px; line-height: 1; cursor: pointer; padding: 2px 6px;
}
.ss-clear:hover { color: var(--ink); }
.ss-list {
  position: absolute; z-index: 60; left: 0; right: 0; top: 100%;
  margin-top: 4px; max-height: 260px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.ss-item, .ss-empty { padding: 10px 14px; font-size: 14px; }
.ss-item { cursor: pointer; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.ss-item .ss-sub { font-size: 12px; color: var(--ink-faint); }
.ss-item:hover, .ss-item.is-active { background: var(--surface-2); }
.ss-empty { color: var(--ink-faint); }

/* =====================================================================
   YENİ TEMA (2026-09) — vitrin koyu + hareketli, paneller açık.
   Tasarım kaynağı: Shopilife Store Yeni Tasarım tuvali (tema.css).
   Paneller (panel/yönetim/bayi/geliştirici) <body class="theme-light"> alır;
   aynı değişken adları açık değerlerle yeniden tanımlanır, sol menü sabit koyu kalır.
   ===================================================================== */

/* ---------- Açık tema ---------- */
body.theme-light {
  --bg: #f6f4fa;
  --surface: #ffffff;
  --surface-2: #f7f5fb;
  --line: #e6e1ef;
  --ink: #1b1530;
  --ink-dim: #4a4463;
  --ink-faint: #6b6485;
  --accent: #5b2d91;
  --accent-strong: #7a44c0;
  --accent-2: #5b2d91;
  --success: #17753f;
  --danger: #b0281c;
}
/* Sol menü mevcut koyu görünümünü korur */
body.theme-light .panel-side {
  --surface: #171325;
  --surface-2: #1e1a2e;
  --line: #2b2640;
  --ink: #f4f2ee;
  --ink-dim: #a79fc2;
  --ink-faint: #6d6690;
  --accent-2: #d6ff5c;
}
body.theme-light .card { box-shadow: 0 1px 2px rgba(27, 21, 48, .06); }
body.theme-light .card:hover { border-color: #d3ccdf; }
body.theme-light .btn-ghost { color: var(--ink-dim); border-color: #d3ccdf; }
body.theme-light .btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: #efe7f8; }
body.theme-light .btn-outline-accent { color: var(--accent); border-color: var(--accent); }
body.theme-light .btn-outline-accent:hover { background: #efe7f8; }
body.theme-light .alert-success { background: #e3f5ea; border-color: #9bd7b2; color: #17753f; }
body.theme-light .alert-error { background: #fde5e2; border-color: #f1a9a2; color: #b0281c; }
body.theme-light .pill,
body.theme-light .pill-soon { background: #efe7f8; color: #5b2d91; }
body.theme-light .badge-soon { background: var(--lime); color: #1b1530; }
body.theme-light .form-field input[type="checkbox"]:checked::after { border-color: #fff; }
body.theme-light .form-field input[type="radio"]:checked::after { background: #fff; }
body.theme-light .cm-overlay { background: rgba(27, 21, 48, .45); }
body.theme-light .cm-modal { box-shadow: 0 24px 60px -20px rgba(27, 21, 48, .35); }
body.theme-light .form-field input:not([type="checkbox"]):not([type="radio"]),
body.theme-light .form-field textarea,
body.theme-light .form-field select { border-color: #d3ccdf; background: #fff; }
body.theme-light .table-wrap { background: var(--surface); }
body.theme-light th { background: var(--surface-2); }

/* ---------- Durum rozetleri (.st) — iki temada da okunur ---------- */
.st {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
  transition: transform .15s ease;
}
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st:hover { transform: scale(1.05); }
.st-ok { background: rgba(74, 222, 128, .13); color: #4ade80; }
.st-warn { background: rgba(245, 196, 81, .13); color: #f5c451; }
.st-info { background: rgba(125, 183, 245, .14); color: #7db7f5; }
.st-brand { background: rgba(138, 79, 209, .2); color: #b08ae8; }
.st-bad { background: rgba(248, 113, 113, .14); color: #f87171; }
.st-muted { background: rgba(167, 159, 194, .14); color: #a79fc2; }
body.theme-light .st-ok { background: #e3f5ea; color: #17753f; }
body.theme-light .st-warn { background: #fff0d1; color: #8a5300; }
body.theme-light .st-info { background: #e2edfa; color: #1b5ca5; }
body.theme-light .st-brand { background: #efe7f8; color: #5b2d91; }
body.theme-light .st-bad { background: #fde5e2; color: #b0281c; }
body.theme-light .st-muted { background: #ece9f2; color: #4a4463; }
.st-warn::before { animation: dotfade 1.8s ease-in-out infinite; }

/* ---------- Vitrin (koyu): bloklar ---------- */
body:not(.theme-light) .card {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)), var(--surface);
}
.card, .step {
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease, border-color .28s ease;
}
body:not(.theme-light) .grid-3 > .card:hover,
body:not(.theme-light) .grid-4 > .card:hover,
body:not(.theme-light) .grid-2 > .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
body:not(.theme-light) .step:hover { transform: translateY(-4px); }
.feature-icon { transition: transform .28s ease; }
.card:hover .feature-icon { transform: scale(1.1) rotate(-5deg); }
body:not(.theme-light) .card-highlight {
  background: linear-gradient(160deg, #7a42bc 0%, #4a2384 55%, #2e1657 100%);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 24px 60px -24px rgba(110,58,168,.7);
}
body:not(.theme-light) .card-highlight p,
body:not(.theme-light) .card-highlight .price-tag span { color: #e3d7f6; }
body:not(.theme-light) .card-highlight .plan-list { color: #fff; }
body:not(.theme-light) .card-highlight .plan-list li::before { color: var(--lime); }
body:not(.theme-light) .card-highlight .btn-primary {
  background: var(--lime); background-image: none; color: #1b1530; box-shadow: none;
}
body:not(.theme-light) .card-highlight .btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }

/* ---------- Buton hareketi ---------- */
.btn svg { transition: transform .2s ease; }
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 14px 30px rgba(91,45,145,.5);
}
.btn-lime:hover { background-color: #e6ff8c; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(214,255,92,.35); }
.btn-ghost:hover { border-color: var(--accent-strong); background-color: rgba(138,79,209,.12); transform: translateY(-2px); }
.btn-outline-accent:hover { transform: translateY(-2px); }
/* Vitrin sitesi: hover'da parlak mor çerçeve/parıltı yok (paneller theme-light, kendi kurallarını korur). */
body:not(.theme-light) .btn-ghost:hover { border-color: var(--ink-faint); background-color: rgba(255,255,255,.06); }
body:not(.theme-light) .btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 12px 26px rgba(0,0,0,.35); }
.btn-primary:active, .btn-lime:active, .btn-ghost:active { transform: translateY(0) scale(.98); }

/* ---------- Vitrin arka plan süslemeleri (head.tpl.php'deki .site-deco) ---------- */
body { position: relative; }
.site-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.site-header, main, section, .site-footer { position: relative; z-index: 1; }
.site-header { position: sticky; }
.sd { position: absolute; }
.sd-p { background: radial-gradient(closest-side, rgba(138,79,209,.36), rgba(138,79,209,0)); border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.sd-g { background: radial-gradient(closest-side, rgba(20,184,140,.22), rgba(20,184,140,0)); border-radius: 50%; animation: drift 22s ease-in-out -8s infinite alternate; }
.sd-b { background: radial-gradient(closest-side, rgba(70,110,230,.24), rgba(70,110,230,0)); border-radius: 50%; animation: drift 26s ease-in-out -14s infinite alternate; }
.sd-ring { border: 1.5px solid rgba(255,255,255,.07); border-radius: 50%; animation: breathe 16s ease-in-out infinite; }
.sd-sq { border: 1.5px solid rgba(255,255,255,.06); border-radius: 44px; transform: rotate(16deg); animation: sway 20s ease-in-out infinite alternate; }
.sd-dots {
  background-image: radial-gradient(rgba(255,255,255,.11) 1.4px, transparent 1.6px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent);
  mask-image: radial-gradient(closest-side, #000 25%, transparent);
}
.sd-1 { left: 52%; top: -5%; width: 900px; height: 900px; }
.sd-2 { left: -18%; top: 14%; width: 720px; height: 720px; }
.sd-3 { left: 60%; top: 34%; width: 800px; height: 800px; }
.sd-4 { left: -16%; top: 56%; width: 860px; height: 860px; }
.sd-5 { left: 58%; top: 78%; width: 800px; height: 800px; }
.sd-6 { left: 62%; top: 1%; width: 540px; height: 540px; }
.sd-7 { left: 70%; top: 2.6%; width: 340px; height: 340px; }
.sd-8 { left: -8%; top: 30%; width: 420px; height: 420px; }
.sd-9 { left: 88%; top: 47%; width: 240px; height: 240px; }
.sd-10 { left: -4%; top: 68%; width: 300px; height: 300px; }
.sd-11 { left: -3%; top: 3%; width: 440px; height: 440px; }
.sd-12 { left: 78%; top: 66%; width: 440px; height: 440px; }
#ozellikler { background: linear-gradient(180deg, rgba(138,79,209,0), rgba(138,79,209,.09), rgba(138,79,209,0)); }

/* ---------- Çağrı bandı: gradient + hover'da arka plan hareketi ---------- */
.cta-strip {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #7a42bc 0%, #4a2384 55%, #2e1657 100%);
  background-size: 170% 170%; background-position: 0% 0%;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  transition: background-position 1s ease, box-shadow .4s ease;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #e3d7f6; }
.cta-strip .eyebrow { color: var(--lime); }
.cta-strip .eyebrow::before { background: var(--lime); }
.cta-strip .btn-primary { background: var(--lime); background-image: none; color: #1b1530; box-shadow: none; }
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip::before {
  content: ""; position: absolute; right: -90px; top: -140px; width: 420px; height: 420px;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.12);
  transition: transform 1.3s cubic-bezier(.2,.7,.2,1), border-color .6s ease; z-index: 0;
}
.cta-strip::after {
  content: ""; position: absolute; left: -260px; top: -140px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.2), rgba(255,255,255,0));
  opacity: 0; transform: translateX(0);
  transition: opacity .5s ease, transform 2.6s cubic-bezier(.2,.6,.2,1);
  pointer-events: none; z-index: 0;
}
.cta-strip:hover { background-position: 100% 100%; box-shadow: 0 26px 60px rgba(0,0,0,.4); }
.cta-strip:hover::before { transform: scale(1.2) rotate(24deg); border-color: rgba(255,255,255,.26); }
.cta-strip:hover::after { opacity: 1; transform: translateX(1120px); }

/* ---------- Ana sayfa hero grafiği (hafif hareketli) ---------- */
.hero-mock { position: relative; width: 100%; max-width: 540px; height: 470px; margin-left: auto; }
.hm-card {
  position: absolute; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)), var(--surface);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.hm-main { left: 0; top: 44px; width: calc(100% - 50px); padding: 22px; backdrop-filter: blur(6px); animation: floaty 7s ease-in-out infinite; }
.hm-a { right: 0; top: 0; width: 236px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; background: #1e1a2e; animation: floaty 8s ease-in-out -2.5s infinite; }
.hm-b { right: 6px; bottom: 0; width: 256px; padding: 14px 16px; background: #1e1a2e; animation: floaty 9s ease-in-out -5s infinite; }
.hm-row { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; }
.hm-muted { color: var(--ink-dim); font-size: 13.5px; }
.hm-num { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; color: var(--ink); }
.hm-bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; margin: 16px 0 18px; }
.hm-bars i { flex: 1; border-radius: 8px; background: rgba(138,79,209,.2); transform-origin: bottom; animation: barbeat 4s ease-in-out infinite; }
.hm-bars i:nth-child(1) { height: 34%; }
.hm-bars i:nth-child(2) { height: 52%; animation-delay: -.5s; }
.hm-bars i:nth-child(3) { height: 44%; animation-delay: -1s; }
.hm-bars i:nth-child(4) { height: 70%; animation-delay: -1.5s; }
.hm-bars i:nth-child(5) { height: 58%; animation-delay: -2s; }
.hm-bars i:nth-child(6) { height: 84%; background: linear-gradient(180deg, #b08ae8, #8a4fd1); animation-name: barhot; animation-duration: 3.2s; }
.hm-bars i:nth-child(7) { height: 64%; animation-delay: -2.5s; }
.hm-orders { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.hm-ava { width: 30px; height: 30px; border-radius: 50%; background: rgba(138,79,209,.2); color: #b08ae8; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; margin-right: 8px; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hm-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-dim); background: rgba(255,255,255,.05); }
.hm-ico { width: 38px; height: 38px; border-radius: 12px; background: var(--lime); color: #1b1530; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.hm-ico svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .hero-mock { margin: 0 auto; } }

/* ---------- Panel: sihirbaz adım göstergesi (kompakt) ---------- */
.wz { display: flex; align-items: flex-start; gap: 6px; margin: 4px 0 22px; }
.wz-step { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 66px; font-size: 12.5px; font-weight: 600; color: var(--ink-faint); text-align: center; }
.wz-step i {
  font-style: normal; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid #d3ccdf; background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
}
.wz-step.done { color: var(--ink); }
.wz-step.done i { background: var(--success); border-color: var(--success); color: #fff; }
.wz-step.now { color: var(--accent); }
.wz-step.now i { background: var(--accent); border-color: var(--accent); color: #fff; animation: ringpulse 2.4s ease-out infinite; }
.wz-bar { flex: 1; min-width: 12px; height: 2px; margin-top: 13px; background: var(--line); }
.wz-bar.done { background: var(--success); }

/* ---------- Panel: hareket ---------- */
.panel-main > * { animation: rise .55s cubic-bezier(.2,.7,.2,1) both; }
.panel-main > *:nth-child(2) { animation-delay: .07s; }
.panel-main > *:nth-child(3) { animation-delay: .14s; }
.panel-main > *:nth-child(4) { animation-delay: .21s; }
.panel-main > *:nth-child(5) { animation-delay: .28s; }
.panel-main > *:nth-child(6) { animation-delay: .35s; }
.panel-nav a { transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.panel-nav a:hover { transform: translateX(3px); }
.panel-nav a svg { transition: transform .18s ease; }
.panel-nav a:hover svg { transform: scale(1.12); }
tbody tr { transition: background-color .18s ease; }
body.theme-light tbody tr:hover { background: #f5effc; }
body:not(.theme-light) tbody tr:hover { background: rgba(138,79,209,.1); }
body.theme-light .form-field input:hover, body.theme-light .form-field select:hover, body.theme-light .form-field textarea:hover { border-color: var(--accent-strong); }
.form-field input, .form-field select, .form-field textarea { transition: border-color .2s ease, box-shadow .2s ease; }
.nav-links a { transition: color .2s ease; }

/* ---------- Duran görsellerde hafif canlılık (keyframes) ---------- */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes barbeat { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.82); } }
@keyframes barhot { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.1); } }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(30px,-22px) scale(1.07); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes sway { from { transform: rotate(14deg); } to { transform: rotate(22deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ringpulse { 0% { box-shadow: 0 0 0 4px rgba(91,45,145,.28); } 100% { box-shadow: 0 0 0 13px rgba(91,45,145,0); } }
@keyframes dotfade { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.hero .hero-inner > div:first-child { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Bayi paneli: referans linki bandı ---------- */
.ref-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(160deg, #7a42bc 0%, #4a2384 55%, #2e1657 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 26px 28px; margin-bottom: 24px;
  box-shadow: 0 16px 40px -18px rgba(91, 45, 145, .6);
}
.ref-banner b { font-size: 17px; }
.ref-banner p { color: #e3d7f6; font-size: 13.5px; margin-top: 4px; }
.ref-copy { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ref-url {
  background: #47206f; border: 1px solid #6b3fa5; color: #fff; border-radius: 12px;
  padding: 12px 14px; font-size: 13.5px; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Tema sonrası düzeltmeler ---------- */
.panel-main { min-width: 0; }
.table-wrap th { white-space: nowrap; }
.table-wrap td.nowrap { white-space: nowrap; }
body.theme-light .panel-side { --ink-faint: #8f87b0; }
body.theme-light .card { text-align: left; }
.dashboard-page .card > p:last-of-type { margin-bottom: 18px; }.table-wrap .sticky-end { position: sticky; right: 0; background: var(--surface); box-shadow: -10px 0 12px -10px rgba(27, 21, 48, .18); }
.table-wrap tbody tr:hover .sticky-end { background: #f5effc; }
.table-wrap th.sticky-end { background: var(--surface-2); }

/* Yapışkan üst menü, sayfa içeriğinin (z-index:1) her zaman üstünde kalır */
.site-header { position: sticky; top: 0; z-index: 40; }

/* =====================================================================
   PANEL ARAYÜZ İNCE AYARI (2026-09-21): küçük yazı, ikonlu renkli butonlar,
   tam genişlik filtreler. JS tarafı: public/assets/js/panel-ui.js
   ===================================================================== */
body.theme-light { font-size: 14px; }
body.theme-light h1 { font-size: clamp(22px, 2.6vw, 26px); }
body.theme-light h2 { font-size: 21px; }
body.theme-light h3 { font-size: 15px; }
body.theme-light p { font-size: 13.5px; }
body.theme-light .eyebrow { font-size: 11.5px; margin-bottom: 10px; }
body.theme-light .panel-main { padding: 30px 34px; }
body.theme-light table { font-size: 13px; }
body.theme-light th { font-size: 10.5px; padding: 10px 14px; }
body.theme-light td { padding: 11px 14px; }
body.theme-light .btn { font-size: 13px; padding: 9px 16px; gap: 7px; }
body.theme-light .btn svg { width: 16px; height: 16px; flex: none; }
body.theme-light .table-wrap .btn { padding: 7px 12px; font-size: 12.5px; }
body.theme-light .form-field label { font-size: 12.5px; margin-bottom: 5px; }
body.theme-light .form-field input:not([type="checkbox"]):not([type="radio"]),
body.theme-light .form-field textarea,
body.theme-light .form-field select { font-size: 13.5px; padding: 10px 12px; }
body.theme-light .alert { font-size: 13px; padding: 11px 14px; }
body.theme-light .st { font-size: 11.5px; height: 24px; padding: 0 10px; }

/* İkon butonlar (liste eylemleri) */
.btn-icon { width: 34px; height: 34px; min-height: 34px; padding: 0 !important; border-radius: 10px; }
.btn-icon svg { width: 17px; height: 17px; }
.table-wrap td form { display: inline-block; margin: 0; }
.table-wrap td .btn-icon + .btn-icon,
.table-wrap td form + .btn-icon,
.table-wrap td .btn-icon + form,
.table-wrap td form + form { margin-left: 6px; }
.table-wrap td:last-child { white-space: nowrap; }

/* Eylem renkleri: açık zemin + renkli ikon/yazı, üzerine gelince dolar */
body.theme-light .btn.btn-c-blue { background: #e2edfa; color: #1b5ca5; border-color: transparent; box-shadow: none; }
body.theme-light .btn.btn-c-green { background: #e3f5ea; color: #17753f; border-color: transparent; box-shadow: none; }
body.theme-light .btn.btn-c-red { background: #fde5e2; color: #b0281c; border-color: transparent; box-shadow: none; }
body.theme-light .btn.btn-c-amber { background: #fff0d1; color: #8a5300; border-color: transparent; box-shadow: none; }
body.theme-light .btn.btn-c-purple { background: #efe7f8; color: #5b2d91; border-color: transparent; box-shadow: none; }
body.theme-light .btn.btn-c-blue:hover { background: #1b5ca5; color: #fff; }
body.theme-light .btn.btn-c-green:hover { background: #17753f; color: #fff; }
body.theme-light .btn.btn-c-red:hover { background: #b0281c; color: #fff; }
body.theme-light .btn.btn-c-amber:hover { background: #b46a00; color: #fff; }
body.theme-light .btn.btn-c-purple:hover { background: #5b2d91; color: #fff; }
body.theme-light .btn-icon:hover { transform: translateY(-2px); }

/* Filtre formları: ortalanmış dar kart yerine tablo ile aynı genişlikte, hizalı satır */
body.theme-light form.form-card[method="get" i] {
  max-width: none !important;
  width: 100%;
  margin: 0 0 22px !important;
  padding: 16px 20px !important;
  border-radius: 16px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end;
}
body.theme-light form.form-card[method="get" i] .form-field { flex: 1 1 180px; margin-bottom: 0; min-width: 0; }
body.theme-light form.form-card[method="get" i] > .btn,
body.theme-light form.form-card[method="get" i] > button { flex: none; }

/* ---------- Filtre çubukları: HER GET formu (kartlı ya da değil) tablo genişliğinde tek çubuk ---------- */
body.theme-light .panel-main form[method="get" i] {
  display: flex !important; flex-wrap: wrap; gap: 12px 14px; align-items: flex-end;
  width: 100%; max-width: none !important; margin: 0 0 22px !important; padding: 14px 18px !important;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
}
body.theme-light .panel-main form[method="get" i] > div,
body.theme-light .panel-main form[method="get" i] > .form-field { flex: 1 1 170px; min-width: 0; margin: 0; }
body.theme-light .panel-main form[method="get" i] > .date-quick-filters { flex: none; }
body.theme-light .panel-main form[method="get" i] > div:has(> .date-quick-filters) { flex: none; }
body.theme-light .panel-main form[method="get" i] label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-dim); margin: 0 0 5px; }
body.theme-light .panel-main form[method="get" i] input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.theme-light .panel-main form[method="get" i] select {
  width: 100%; height: 38px; padding: 0 12px; box-sizing: border-box;
  border: 1px solid #d3ccdf; border-radius: 10px; background: #fff; color: var(--ink);
  font-family: var(--font-body); font-size: 13px;
}
body.theme-light .panel-main form[method="get" i] > .btn,
body.theme-light .panel-main form[method="get" i] > a.btn,
body.theme-light .panel-main form[method="get" i] > button { flex: none; height: 38px; }
.table-wrap .btn:not(.btn-icon) { min-height: 34px; }

/* =====================================================================
   GENEL BAKIŞ (dashboard) bileşenleri — tüm roller ortak (dz- öneki)
   Tasarım: Shopilife Store Yeni Tasarım tuvali, "Genel bakış" panoları.
   ===================================================================== */
.dz-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dz-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dz-grid2 { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; }
.dz-grid2e { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dz-row { margin-bottom: 20px; }
@media (max-width: 1100px) { .dz-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dz-grid2, .dz-grid3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .dz-grid4, .dz-grid2e { grid-template-columns: 1fr; } }

.dz-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.dz-head h1 { margin: 2px 0 0; }
.dz-head-sub { color: var(--ink-faint); font-size: 12.5px; }
.dz-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.dz-card { text-align: left; padding: 0; }
.dz-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 0; }
.dz-card-head h2 { font-size: 15px; margin: 0; }
.dz-card-head small { display: block; color: var(--ink-faint); font-size: 12px; margin-top: 2px; }
.dz-card-body { padding: 16px 20px 20px; }
.dz-card .table-wrap { border: 0; border-radius: 0; margin-top: 12px; }

.dz-kpi { text-align: left; padding: 18px 20px; }
.dz-kpi-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dz-kpi-label { font-size: 12.5px; font-weight: 600; color: var(--ink-faint); }
.dz-kpi b { display: block; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; color: var(--ink); }
.dz-kpi-foot { margin-top: 8px; font-size: 12px; }
.dz-delta { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #ece9f2; color: #4a4463; }
.dz-delta.up { background: #e3f5ea; color: #17753f; }
.dz-delta.down { background: #fde5e2; color: #b0281c; }
.dz-ico { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.dz-ico svg { width: 18px; height: 18px; }
.dz-ico.ok { background: #e3f5ea; color: #17753f; }
.dz-ico.warn { background: #fff0d1; color: #8a5300; }
.dz-ico.info { background: #e2edfa; color: #1b5ca5; }
.dz-ico.brand { background: #efe7f8; color: #5b2d91; }
.dz-ico.bad { background: #fde5e2; color: #b0281c; }
.dz-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.dz-legend { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.dz-legend-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; gap: 10px; }
.dz-legend-name { display: inline-flex; align-items: center; gap: 8px; }
.dz-donut { display: flex; align-items: center; gap: 18px; }
.dz-bar { height: 8px; border-radius: 99px; background: #e6e1ef; overflow: hidden; }
.dz-bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7b45bd, #5b2d91); }
.dz-bar.lg { height: 14px; }
.dz-meter { display: flex; flex-direction: column; gap: 6px; }
.dz-meter-row { display: flex; justify-content: space-between; font-size: 13px; gap: 10px; }
.dz-stack { display: flex; flex-direction: column; gap: 14px; }
.dz-stack.sm { gap: 10px; }
.dz-empty { color: var(--ink-faint); font-size: 13px; padding: 8px 0; }

.dz-task { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: inherit; transition: transform .2s ease, border-color .2s ease; }
.dz-task:hover { transform: translateX(4px); border-color: #b9a2dc; }
.dz-task b { font-size: 13.5px; display: block; }
.dz-task small { color: var(--ink-faint); font-size: 12px; }
.dz-task .dz-count { margin-left: auto; font-weight: 800; font-size: 15px; }
.dz-task > svg { width: 16px; height: 16px; color: var(--ink-faint); flex: none; }
.dz-task.is-zero { opacity: .55; }

.dz-tl { display: flex; flex-direction: column; }
.dz-tl-item { display: flex; gap: 12px; padding-bottom: 16px; position: relative; }
.dz-tl-item::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 0; width: 2px; background: var(--line); }
.dz-tl-item:last-child::before { display: none; }
.dz-tl-dot { width: 12px; height: 12px; border-radius: 50%; border: 3px solid #5b2d91; background: #fff; flex: none; margin-top: 3px; }
.dz-tl-item b { font-size: 13px; display: block; }
.dz-tl-item small { color: var(--ink-faint); font-size: 12px; }

.dz-tile { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: inherit; transition: transform .2s ease, border-color .2s ease; }
.dz-tile:hover { transform: translateY(-3px); border-color: #b9a2dc; }
.dz-tile b { font-size: 13.5px; }
.dz-tile small { color: var(--ink-faint); font-size: 12px; }
.dz-tile-top { display: flex; align-items: center; justify-content: space-between; }
.dz-chipsel { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid #d3ccdf; background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink-dim); }
.dz-chips { display: inline-flex; gap: 8px; }
.dz-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid #d3ccdf; background: var(--surface); font-size: 12.5px; font-weight: 600; color: var(--ink-dim); }
.dz-chip.on { background: #1b1530; border-color: #1b1530; color: #fff; }
.dz-stars { color: #9a6a00; letter-spacing: 1px; font-size: 13px; }
.dz-avatar { width: 36px; height: 36px; border-radius: 50%; background: #efe7f8; color: #5b2d91; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex: none; }
.dz-person { display: flex; align-items: center; gap: 12px; }
.dz-person b { display: block; }
.dz-person small { color: var(--ink-faint); font-size: 12px; }
.dz-acts { display: flex; gap: 6px; justify-content: flex-end; }
.dz-soft { display: flex; gap: 10px; align-items: center; padding: 11px 13px; border-radius: 12px; font-size: 12.5px; }
.dz-soft.warn { background: #fff0d1; color: #8a5300; }
.dz-soft.bad { background: #fde5e2; color: #b0281c; }
.dz-soft.info { background: #e2edfa; color: #1b5ca5; }
.dz-soft svg { width: 18px; height: 18px; flex: none; }
.dz-hl { background: linear-gradient(160deg, #7a42bc 0%, #4a2384 55%, #2e1657 100%); color: #fff; border-radius: 20px; border: 1px solid rgba(255,255,255,.16); padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 16px 40px -18px rgba(91,45,145,.6); }
.dz-hl .dz-hl-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.dz-hl .dz-hl-row span { color: #e3d7f6; }
.dz-hl p { color: #e3d7f6; }
.dz-preview { background: #efe7f8; padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.dz-browser { background: #fff; border-radius: 12px; border: 1px solid #d3ccdf; overflow: hidden; box-shadow: 0 8px 20px rgba(91,45,145,.15); }
.dz-browser-bar { display: flex; gap: 6px; padding: 7px 10px; border-bottom: 1px solid #e6e1ef; }
.dz-browser-bar i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.dz-browser-body { padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dz-browser-body i { display: block; height: 34px; border-radius: 6px; }
.dz-chart { display: block; max-width: 100%; }
.dz-spark { display: block; }
.dz-steps { display: flex; align-items: flex-start; }
.dz-step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; text-align: center; font-size: 12.5px; }
.dz-step > i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; border: 1.5px solid #d3ccdf; color: var(--ink-faint); background: var(--surface); }
.dz-step.done > i { background: #17753f; border-color: #17753f; color: #fff; }
.dz-step.now > i { background: #5b2d91; border-color: #5b2d91; color: #fff; }
.dz-step.now b { color: #5b2d91; }
.dz-step-line { flex: 1; height: 2px; background: #e6e1ef; margin-top: 15px; }
.dz-step-line.done { background: #17753f; }

/* dz-extra: yonetim */
button.dz-chip { cursor: pointer; font-family: inherit; }
button.dz-chip:not(.on):hover { border-color: #b9a2dc; }
[data-dz-pane][hidden] { display: none; }
.dz-money { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.dz-tl-item b a, .dz-meter-row b a { color: inherit; }
.dz-tl-item b a:hover, .dz-meter-row b a:hover { color: #5b2d91; }
.dz-card td.dz-empty { padding: 16px; }

/* dz-extra: bayi */
.dz-card .small, .dz-kpi .small, .dz-kpi-foot .small { font-size: 12px; }
.dz-card .muted, .dz-kpi .muted, .dz-kpi-foot.muted { color: var(--ink-faint); }
.dz-card .dz-card-body > .small { line-height: 1.5; }

/* dz-extra: musteri */
.dz-page .small { font-size: 12.5px; }
.dz-page .muted { color: var(--ink-faint); }
.dz-page .btn-sm { padding: 7px 12px; font-size: 12.5px; min-height: 34px; }
.dz-page h1 { font-size: 26px; letter-spacing: -.02em; }
.dz-h { font-size: 17px; margin: 0; letter-spacing: -.01em; }
.dz-card.dz-pad, .dz-pad { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.dz-card > .dz-card-head + .dz-card-body { padding-top: 14px; }
.dz-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dz-big { font-size: 24px; letter-spacing: -.03em; font-weight: 800; color: var(--ink); }
.dz-push { margin-top: auto; align-self: flex-start; }
.dz-acts-left { display: flex; gap: 8px; flex-wrap: wrap; }
.dz-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.dz-stats > div { display: flex; flex-direction: column; gap: 2px; }
.dz-stats b { font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.15; }
.dz-tile-top .btn-icon { text-decoration: none; }

/* Mağaza önizleme + kurulum sihirbazı (3 sütun: önizleme | ilerleme | sıradaki adım) */
.dz-onb { display: grid; grid-template-columns: 210px minmax(0, 1fr) 340px; overflow: hidden; }
.dz-onb.dz-onb-2 { grid-template-columns: 210px minmax(0, 1fr); }
.dz-preview-url { font-size: 12.5px; font-weight: 700; color: #5b2d91; text-align: center; word-break: normal; overflow-wrap: anywhere; }
.dz-preview-empty { color: var(--ink-faint); font-weight: 600; overflow-wrap: normal; word-break: normal; hyphens: none; }
.dz-onb-mid { padding: 22px 24px; min-width: 0; }
.dz-onb-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.dz-onb-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dz-onb-progress b { font-size: 13px; }
.dz-onb-item { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 13.5px; font-weight: 600; color: var(--ink-faint); }
.dz-onb-num { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 12px; font-weight: 800; border: 1.5px solid #d3ccdf; color: var(--ink-faint); background: var(--surface); }
.dz-onb-num svg { width: 14px; height: 14px; stroke-width: 3; }
.dz-onb-item.done { color: var(--ink); }
.dz-onb-item.done .dz-onb-num { background: #e3f5ea; border-color: transparent; color: #17753f; }
.dz-onb-item.now { color: var(--ink); font-weight: 700; }
.dz-onb-item.now .dz-onb-num { background: #5b2d91; border-color: #5b2d91; color: #fff; }
.dz-onb-act { padding: 22px; border-left: 1px solid var(--line); background: #fbfafd; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 0; }
.dz-onb-act form { margin: 0; }
.dz-onb-act .form-field { margin-bottom: 10px; }
.dz-onb-act .dz-act-title { font-size: 14px; }
.dz-onb-act code { font-size: 12px; }
.dz-onb-btns { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 1100px) {
  .dz-onb, .dz-onb.dz-onb-2 { grid-template-columns: 1fr; }
  .dz-onb-act { border-left: 0; border-top: 1px solid var(--line); }
}

/* dz-extra: gelistirici */
button.dz-chip { font-family: inherit; cursor: pointer; transition: background .15s ease, color .15s ease; }
button.dz-chip:not(.on):hover { border-color: #b9a2dc; color: #5b2d91; }
.dz-hl form { margin: 0; }
.dz-hl .dz-hl-row b { color: #fff; }
.dz-hl .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.dz-hl .small { font-size: 12px; color: #e3d7f6; }
.dz-soft a { color: inherit; font-weight: 700; text-decoration: underline; }
.dz-kpi-foot .muted { display: inline-block; margin-bottom: 4px; }
.dz-card-head .btn { flex: none; }

/* dz-extra: musteri-detay */
.cd-crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-faint); margin-bottom: 14px; }
.cd-crumb a { color: var(--ink-faint); font-weight: 600; }
.cd-crumb a:hover { color: #5b2d91; }
.cd-crumb b { color: var(--ink); font-weight: 600; }

.cd-hero { text-align: left; padding: 22px 24px; margin-bottom: 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cd-hero-main { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.cd-avatar { width: 60px; height: 60px; font-size: 20px; }
.cd-hero-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cd-hero-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cd-hero-title h1 { margin: 0; overflow-wrap: anywhere; min-width: 0; }
.cd-hero-main, .cd-hero-info, .cd-hero-title { max-width: 100%; }
.cd-meta span, .cd-chip { overflow-wrap: anywhere; }
.cd-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.cd-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cd-meta svg { color: var(--ink-faint); }
.cd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; align-items: center; }
.cd-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid #d3ccdf; background: var(--surface); font-size: 12.5px; color: var(--ink-dim); }
.cd-chip a { color: #5b2d91; font-weight: 700; }
.cd-chip b { color: var(--ink); }
.cd-hero-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.cd-hero-acts form { margin: 0; }

.cd-strip { margin-bottom: 16px; padding: 12px 16px; border-radius: 14px; font-size: 13px; line-height: 1.45; }
.cd-strip-muted { background: #ece9f2; color: #4a4463; }

.cd-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.cd-tab { padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--ink-faint); border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 6px; }
.cd-tab:hover { color: #5b2d91; }
.cd-tab.on { color: #5b2d91; border-bottom-color: #5b2d91; }
.cd-n { font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 99px; background: #efe7f8; color: #5b2d91; }
.cd-root:not(.js-tabs) .cd-tabs { display: none; }

.cd-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.cd-stat { text-align: left; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; transition: transform .2s ease, box-shadow .2s ease; }
.cd-stat:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -14px rgba(91, 45, 145, .35); }
.cd-stat-top { display: flex; align-items: center; gap: 12px; }
.cd-stat-label { font-size: 12.5px; font-weight: 600; color: var(--ink-faint); }
.cd-ico { width: 38px; height: 38px; border-radius: 11px; }
.cd-stat b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; color: var(--ink); }
.cd-stat .small { display: block; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1100px) { .cd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cd-stats { grid-template-columns: 1fr; } }

.cd-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.cd-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cd-cols.cd-single { grid-template-columns: minmax(0, 1fr); }
.cd-cols.cd-single > .cd-side { max-width: 760px; }
.cd-col.cd-empty { display: none; }
.cd-sec[hidden] { display: none !important; }
@media (max-width: 1100px) { .cd-cols { grid-template-columns: 1fr; } }

.cd-dl { display: flex; flex-direction: column; }
.cd-dl-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.cd-dl-row:last-child { border-bottom: 0; }
.cd-dl-row > span { color: var(--ink-faint); flex: none; }
.cd-dl-row > b { font-weight: 600; text-align: right; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.cd-subhead { font-size: 12px; font-weight: 700; color: var(--ink-faint); margin: 16px 0 4px; text-transform: uppercase; letter-spacing: .04em; }

.cd-acts { display: flex; gap: 6px; justify-content: flex-end; }
.cd-acts form { margin: 0; display: inline-flex; }
.cd-mods { display: flex; flex-wrap: wrap; gap: 12px; }
.cd-mod { flex: 1 1 240px; min-width: 0; }
.cd-mod:hover { transform: none; }
.cd-morebar { padding: 4px 20px 16px; }
.cd-root.js-tabs:not(.tab-odemeler) .cd-more-odemeler,
.cd-root.js-tabs:not(.tab-teklifler) .cd-more-teklifler { display: none; }

.cd-edit-form { display: none; }
.cd-root .is-editing .cd-edit-form { display: block; }
.cd-root .is-editing .cd-view { display: none; }
.cd-root:not(.js-tabs) .cd-edit-toggle { display: none; }
.cd-root:not(.js-tabs) .cd-edit-form { display: block; margin-top: 14px; }
.cd-root:not(.js-tabs) .cd-edit-cancel { display: none; }
.cd-edit-form .form-field { margin-bottom: 12px; }
.cd-edit-form small { display: block; margin-top: 4px; font-size: 11.5px; }
.cd-form-btns { display: flex; gap: 8px; }

.cd-lbl { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-dim); margin-bottom: 5px; }
.cd-inline-form { margin: 0; }
.cd-inline-form small { display: block; margin-top: 6px; font-size: 11.5px; line-height: 1.4; }
.cd-inline-row { display: flex; gap: 8px; align-items: center; }
.cd-inline-row input[type="text"] { flex: 1; min-width: 0; height: 38px; padding: 0 12px; box-sizing: border-box; border: 1px solid #d3ccdf; border-radius: 10px; background: #fff; color: var(--ink); font-family: var(--font-body); font-size: 13px; }
.cd-inline-row input[type="text"]:focus { outline: none; border-color: #7b45bd; box-shadow: 0 0 0 3px rgba(123, 69, 189, .15); }
.cd-link-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.cd-tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }

.cd-step-txt { display: flex; flex-direction: column; min-width: 0; }
.cd-step-txt small { font-size: 11.5px; font-weight: 500; color: var(--ink-faint); line-height: 1.35; }
.cd-contract { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }

.cd-note-form { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cd-note-form textarea { width: 100%; box-sizing: border-box; min-height: 64px; padding: 10px 12px; border: 1px solid #d3ccdf; border-radius: 10px; background: #fff; color: var(--ink); font-family: var(--font-body); font-size: 13px; resize: vertical; }
.cd-note-form textarea:focus { outline: none; border-color: #7b45bd; box-shadow: 0 0 0 3px rgba(123, 69, 189, .15); }
.cd-note-text { white-space: pre-wrap; font-weight: 600; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .cd-stat { transition: none; } .cd-stat:hover { transform: none; } }

/* Liste üstü butonlar: gri (geri/nötr) renk + filtre çubuğu buton grubu */
body.theme-light .btn.btn-c-gray { background: #eceaf1; color: #47425a; border-color: transparent; box-shadow: none; }
body.theme-light .btn.btn-c-gray:hover { background: #47425a; color: #fff; }
body.theme-light .panel-main form[method="get" i] > .filter-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: none; margin-left: auto; align-items: flex-end; }
body.theme-light .panel-main form[method="get" i] > .filter-actions > .btn { height: 38px; }

/* ---------- Blog: liste kartı, iki sütunlu detay, okunabilir içerik, kenar çubuğu ---------- */
.btn-sm { padding: 8px 18px; font-size: 13.5px; }
.blog-card { display: flex; flex-direction: column; }
.blog-card > p { margin-bottom: 22px; }
.blog-card-more { margin-top: auto; align-self: center; padding: 6px 16px; font-size: 12.5px; }

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.blog-main { min-width: 0; }
@media (max-width: 960px) {
  .blog-layout { grid-template-columns: 1fr; gap: 48px; }
}

.blog-content { font-size: 17px; line-height: 1.8; color: #dcd7e8; }
.blog-content p { color: inherit; margin: 0 0 18px; }
.blog-content h2 { color: var(--ink); font-size: clamp(21px, 2.4vw, 25px); margin: 44px 0 14px; }
.blog-content h3 { color: var(--ink); font-size: 19px; margin: 32px 0 10px; }
.blog-content strong { color: #fff; font-weight: 700; }
.blog-content ul, .blog-content ol { margin: 0 0 22px; padding-left: 22px; }
.blog-content li { margin-bottom: 8px; }
.blog-content li::marker { color: var(--accent-2); }
.blog-content a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.blog-content blockquote {
  margin: 0 0 22px;
  padding: 18px 22px;
  border-left: 3px solid var(--accent-strong);
  background: rgba(138, 79, 209, .10);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}
.blog-content blockquote p:last-child { margin-bottom: 0; }
.blog-content img { border-radius: var(--radius-sm); margin: 8px 0 22px; }

.blog-sidebar { display: flex; flex-direction: column; gap: 20px; }
.blog-widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}
.blog-widget h4 { font-size: 15px; margin-bottom: 14px; color: var(--ink); }
.blog-search { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--bg); }
.blog-search:focus-within { border-color: var(--accent-strong); }
.blog-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 14px; padding: 10px 16px; outline: none;
}
.blog-search input::placeholder { color: var(--ink-faint); }
.blog-search button { border: 0; background: transparent; color: var(--ink-dim); padding: 0 14px; cursor: pointer; }
.blog-search button:hover { color: var(--accent-2); }
.blog-cat-list, .blog-recent-list { list-style: none; margin: 0; padding: 0; }
.blog-cat-list li + li { border-top: 1px solid var(--line); }
.blog-cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 14.5px; color: #dcd7e8; transition: color .2s ease; }
.blog-cat-list a:hover { color: var(--accent-2); }
.blog-cat-count { font-size: 12px; color: var(--ink-dim); background: var(--surface-2); border-radius: 999px; padding: 2px 9px; }
.blog-recent-list li + li { margin-top: 14px; }
.blog-recent-list a { display: flex; gap: 12px; align-items: flex-start; }
.blog-recent-list img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.blog-recent-list strong { display: block; font-size: 13.5px; line-height: 1.4; color: #dcd7e8; font-weight: 600; transition: color .2s ease; }
.blog-recent-list a:hover strong { color: var(--accent-2); }
.blog-recent-list small { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-faint); }

/* ---------- Özellikler v2 (/ozellikler + alt sayfalar) ---------- */
.fx-preview-note { background: var(--lime); color: #1b1530; text-align: center; font-size: 13.5px; font-weight: 600; padding: 8px 16px; }
.fx-hero { padding: 72px 0 56px; }
.fx-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.fx-hero h1 { font-size: clamp(30px, 4vw, 46px); margin: 6px 0 18px; }
.fx-hero .lede { max-width: 56ch; }
.fx-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.fx-shot-wrap { position: relative; min-width: 0; }
.fx-shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .03); }
.fx-shot-bar { display: flex; gap: 6px; padding: 9px 12px; background: #ecebf1; border-bottom: 1px solid #dcdae3; }
.fx-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9c6d3; }
.fx-shot-bar i:first-child { background: #f47d72; }
.fx-shot-bar i:nth-child(2) { background: #f6c451; }
.fx-shot-bar i:nth-child(3) { background: #5fce74; }
.fx-shot img { width: 100%; height: auto; display: block; }
.fx-shot-wrap.has-mobile { padding-right: 56px; }
.fx-phone { position: absolute; right: 0; bottom: -28px; width: 23%; margin: 0; border-radius: 22px; overflow: hidden;
  border: 6px solid #1a1626; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .8); background: #fff; }
.fx-phone img { width: 100%; height: auto; display: block; }

.fx-chips { position: sticky; top: 77px; z-index: 20; background: rgba(15, 12, 22, .88); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fx-chips .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.fx-chips .container::-webkit-scrollbar { display: none; }
.fx-chips a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 13.5px; font-weight: 600;
  color: #dcd7e8; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s ease, color .2s ease; }
.fx-chips a svg { width: 16px; height: 16px; color: var(--accent-2); }
.fx-chips a:hover { border-color: var(--accent-strong); color: #fff; }
.fx-chips--inline { position: static; background: none; backdrop-filter: none; border: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.fx-channels { padding-top: 96px; }
.fx-channel-grid { display: grid; grid-template-columns: repeat(2, 1fr) 1.3fr repeat(2, 1fr); gap: 14px; align-items: stretch; }
.fx-channel, .fx-hub { border-radius: var(--radius-md); padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
.fx-channel { background: var(--surface); border: 1px solid var(--line); }
.fx-channel svg { width: 26px; height: 26px; color: var(--accent-2); margin-bottom: 4px; }
.fx-channel strong, .fx-hub strong { color: var(--ink); font-size: 15px; }
.fx-channel span, .fx-hub span { color: var(--ink-dim); font-size: 13px; line-height: 1.45; }
.fx-hub { justify-content: center; background: var(--btn-grad); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 20px 50px -22px rgba(138, 79, 209, .8); }
.fx-hub strong { color: #fff; font-size: 20px; }
.fx-hub span { color: #eadcff; }

.fx-row { padding: 72px 0; }
.fx-row-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.fx-row--rev .fx-row-text { order: 2; }
.fx-row h2 { margin: 6px 0 16px; }
.fx-checks { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.fx-checks li { position: relative; padding-left: 28px; color: #dcd7e8; font-size: 15.5px; }
.fx-checks li::before, .fx-included li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(214, 255, 92, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.4' fill='none' stroke='%23d6ff5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.fx-more { color: var(--accent-2); font-weight: 700; font-size: 15px; }
.fx-more span { display: inline-block; transition: transform .2s ease; }
.fx-more:hover span { transform: translateX(4px); }

.fx-included { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 24px; }
.fx-included li { position: relative; padding-left: 28px; color: #dcd7e8; font-size: 14.5px; }

.fx-faq-wrap { max-width: 860px; }
.fx-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.fx-faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 16.5px; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after { content: "+"; color: var(--accent-2); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.fx-faq details[open] summary::after { transform: rotate(45deg); }
.fx-faq details p { margin-top: 10px; color: #cfc9dd; line-height: 1.7; }

.fx-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fx-highlight { text-align: left; }
.fx-highlight h3 { font-size: 17px; margin-bottom: 10px; }
.fx-highlight p { color: #cfc9dd; line-height: 1.65; }
.fx-tight { padding: 32px 0; }
.fx-scenario { border-radius: var(--radius-lg); padding: 40px 44px; border: 1px solid rgba(138, 79, 209, .45);
  background: linear-gradient(135deg, rgba(138, 79, 209, .18), rgba(214, 255, 92, .05)); }
.fx-scenario h2 { margin: 6px 0 12px; }
.fx-scenario .lede { color: #dcd7e8; max-width: 70ch; }
.fx-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
.fx-gallery figure { margin: 0; }
.fx-gallery figcaption { margin-top: 14px; color: var(--ink-dim); font-size: 14.5px; }

@media (max-width: 960px) {
  .fx-hero-grid, .fx-row-grid { grid-template-columns: 1fr; gap: 36px; }
  .fx-row--rev .fx-row-text { order: 0; }
  .fx-channel-grid { grid-template-columns: repeat(2, 1fr); }
  .fx-hub { grid-column: 1 / -1; order: -1; }
  .fx-included { grid-template-columns: repeat(2, 1fr); }
  .fx-highlights { grid-template-columns: repeat(2, 1fr); }
  .fx-gallery { grid-template-columns: 1fr; }

}
@media (max-width: 600px) {
  .fx-hero { padding: 44px 0 36px; }
  .fx-row { padding: 48px 0; }
  .fx-included, .fx-highlights { grid-template-columns: 1fr; }
  .fx-scenario { padding: 28px 22px; }
  .fx-shot-wrap.has-mobile { padding-right: 36px; }
  .fx-phone { border-width: 4px; border-radius: 14px; }
}
