/* latin-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/sora-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/sora-0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/sora-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/sora-0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/sora-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/sora-0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/sora-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/sora-0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/sora-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/sora-0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ============================================================
   Mete Epin — koyu bordo tema (theme-spec.md token seti)
   ============================================================ */

:root {
  /* Zemin — nötr grafit-siyah (mavisiz, tam dark) */
  --bg:              #0a0b0c;
  --bg-glow:         #16211d;
  --bg-glow-grad:    radial-gradient(1100px 440px at 50% -90px, rgba(16,185,129,.08), transparent 72%);
  --bg-section:      #101214;
  --bg-section-line: rgba(255,255,255,.05);
  --bg-footer:       #0a0b0c;
  --bg-footer-deep:  #060708;

  /* Panel / kart */
  --panel:           #14171a;
  --panel-soft:      #111417;
  --panel-deep:      #0d1012;
  --panel-black:     #070809;
  --panel-menu:      #0e1113;
  --overlay:         rgb(10 11 12 / .78);
  --overlay-blur:    blur(6px);

  /* Border */
  --border-subtle:   rgba(255,255,255,.06);
  --border:          rgba(255,255,255,.10);
  --border-strong:   rgba(16,185,129,.30);
  --border-hover:    rgba(16,185,129,.50);
  --border-nav:      rgba(255,255,255,.06);
  --border-footer:   rgba(255,255,255,.06);

  /* Vurgu — zümrüt yeşili (mavisiz) */
  --accent:          #10b981;
  --accent-dark:     #047857;
  --accent-grad:     linear-gradient(135deg, #34d399, #047857);
  --accent-red:      #0e9f6e;
  --accent-red-grad: linear-gradient(135deg, #10b981, #047857);
  --accent-hover:    #34d399;
  --nav-hover:       rgba(16,185,129,.14);

  /* Metin */
  --text:            #e7ebe9;
  --text-heading:    #ffffff;
  --text-card-title: #f0f4f2;
  --text-muted:      #b3bdb8;
  --text-faint:      #8b938f;
  --link:            #34d399;
  --link-hover:      #a7f3d0;
  --link-hot:         #10b981;

  /* Fiyat / özel — altın */
  --price:           #f5c451;
  --gold:            #f5c451;
  --star:            #f5c451;
  --discount-grad:   linear-gradient(135deg, #10b981, #047857);

  /* Durum */
  --success:         #34d399;
  --warning:         #fbbf24;
  --danger:          #f43f5e;
  --danger-bg:       #3a1220;
  --danger-text:     #ffb3bf;
  --info:            #38bdf8;

  /* Buton */
  --btn-primary-grad:   linear-gradient(135deg, #10b981, #047857);
  --btn-primary-border: transparent;
  --btn-secondary-bg:   rgba(255,255,255,.05);
  --btn-secondary-text: #d7ece2;
  --btn-h:              42px;

  /* Header / nav */
  --header-h:        100px;
  --nav-h:           58px;
  --header-bg:       rgba(8,9,10,.92);
  --nav-bg:          rgba(6,7,8,.94);
  --blur-sm:         blur(14px);
  --blur-lg:         blur(22px);

  /* Form */
  --input-bg:        #0c0e10;
  --input-border:    rgba(16,185,129,.22);
  --input-h:         42px;
  --input-radius:    var(--radius);

  /* Şekil / gölge / hareket */
  --radius-sm:       8px;
  --radius:          11px;
  --radius-md:       15px;
  --radius-pill:     50px;
  --shadow-card:     0 6px 22px rgba(0,0,0,.38);
  --shadow-panel:    0 14px 40px rgba(0,0,0,.48);
  --shadow-modal:    0 24px 60px rgba(0,0,0,.6);
  --shadow-menu:     drop-shadow(0 20px 28px rgba(0,0,0,.5));
  --shadow-glow:     0 8px 24px rgba(16,185,129,.32);
  --transition:      .18s ease;
  --hover-brighten:     brightness(1.12);
  --hover-brighten-lg:  brightness(1.25);
  --card-hover-grad: linear-gradient(to top, rgba(16,185,129,.12), transparent);

  /* Tipografi — Sora (lokal woff2, offline) */
  --font: "Sora", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --fs-xs:   12.5px;
  --fs-sm:   13.5px;
  --fs-body: 15px;
  --fs-md:   16px;
  --fs-lg:   20px;
  --fs-hero: 34px;
  --fw-normal: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700;
  --text-shadow-badge: 1px 1px 0 #04140e;
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}
body::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 450px;
  background: var(--bg-glow-grad);
  pointer-events: none;
  z-index: 0;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--link-hover); }
ul, ol { list-style: none; }
button { font-family: inherit; }
h1, h2, h3, h4, h5 { color: var(--text-heading); font-weight: var(--fw-bold); }
small { font-size: var(--fs-xs); }

/* ============ Layout ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.site-header { position: relative; z-index: 20; }
.site-main { position: relative; z-index: 1; flex: 1; padding: 24px 0 48px; }
.section { padding: 24px 0; }
.odd-section { background: var(--bg-section); border-top: 1px solid var(--bg-section-line); }

.page-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--text-heading);
  margin-bottom: 16px;
}

/* ============ Header-top ============ */
.header-top {
  background: var(--bg-footer-deep);
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--fs-xs);
}
.header-top__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 35px;
  gap: 12px;
}
.header-top__slogan { color: var(--text-faint); }
.header-top__links { display: flex; gap: 16px; }
.header-top__links a { color: var(--text-muted); }
.header-top__links a:hover { color: var(--link-hot); }

/* ============ Header-main ============ */
.header-main {
  position: relative;
  z-index: 30; /* nav'ın üstünde kalsın ki dropdown menü nav'ın altında ezilmesin */
  background: var(--header-bg);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
}
.header-main__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}
.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .3px;
  white-space: nowrap;
  background: linear-gradient(135deg, #fff 10%, #34d399 55%, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}
.logo:hover { filter: var(--hover-brighten); }

.header-search { flex: 1; display: flex; max-width: 460px; margin: 0 auto; }
.header-search input {
  flex: 1;
  min-width: 0;
  height: var(--input-h);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-right: none;
  border-radius: var(--input-radius) 0 0 var(--input-radius);
  padding: 0 12px;
  color: var(--text);
}
.header-search button {
  height: var(--input-h);
  padding: 0 18px;
  background: var(--btn-primary-grad);
  border: 1px solid var(--btn-primary-border);
  border-radius: 0 var(--input-radius) var(--input-radius) 0;
  color: #fff;
  cursor: pointer;
  transition: filter var(--transition);
}
.header-search button:hover { filter: var(--hover-brighten); }

.header-user { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.balance-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--btn-h);
  padding: 0 16px;
  background: var(--accent-grad);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: #fff;
  font-weight: var(--fw-bold);
  text-shadow: var(--text-shadow-badge);
  white-space: nowrap;
  transition: filter var(--transition);
}
.balance-chip:hover { filter: var(--hover-brighten); color: #fff; }

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--btn-secondary-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex: none;
}

/* ============ Dropdown ============ */
.dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: var(--btn-h);
  padding: 0 14px;
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--fs-body);
  cursor: pointer;
  transition: filter var(--transition);
}
.dropdown-toggle:hover { filter: var(--hover-brighten); }
.caret { font-size: 10px; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 210px;
  background: var(--panel-menu);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
  padding: 8px;
  z-index: 100;
}
.dropdown-item { border-radius: var(--radius-sm); }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-item {
  display: block;
  width: 100%;
  padding: 9px 16px;
  color: var(--text-muted);
  font-size: var(--fs-body);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.dropdown-item:hover { background: var(--nav-hover); color: var(--link-hover); }
.dropdown-form { margin: 0; }
.dropdown-item--button { font-family: inherit; }

/* ============ Nav menü ============ */
.main-nav {
  position: relative;
  z-index: 20; /* header-main (30) altında kalsın */
  background: var(--nav-bg);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  border-bottom: 1px solid var(--border-nav);
}
.nav-menu { gap: 4px; }
.nav-menu a { border-radius: var(--radius-sm); margin: 8px 0; font-weight: var(--fw-medium); }
.nav-menu { display: flex; align-items: stretch; min-height: var(--nav-h); }
.nav-menu a {
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: var(--text);
  font-size: var(--fs-body);
  text-transform: capitalize;
  transition: background var(--transition), color var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active { background: var(--nav-hover); color: var(--link-hot); }

/* ============ Flash / alert ============ */
.flash-area { margin-bottom: 8px; }
.alert {
  position: relative;
  padding: 12px 40px 12px 14px;
  border: 1px solid;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  margin-bottom: 12px;
}
.alert-success { background: rgba(58,174,20,.12);  border-color: rgba(58,174,20,.45);  color: #a9e88b; }
.alert-danger  { background: var(--danger-bg);     border-color: var(--danger);        color: var(--danger-text); }
.alert-warning { background: rgba(242,181,0,.12);  border-color: rgba(242,181,0,.45);  color: #ffd970; }
.alert-info    { background: rgba(47,134,201,.12); border-color: rgba(47,134,201,.45); color: #9fd0f2; }
.alert__close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: .7;
}
.alert__close:hover { opacity: 1; }

/* ============ Butonlar ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: var(--btn-h);
  padding: 0 20px;
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: .2px;
  transition: transform var(--transition), filter var(--transition), box-shadow var(--transition);
}
.btn:hover { filter: var(--hover-brighten); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--btn-primary-grad); border-color: var(--btn-primary-border); box-shadow: var(--shadow-glow); }
.btn-success { background: linear-gradient(135deg, #34d399, #10a473); border-color: transparent; }
.btn-danger  { background: linear-gradient(135deg, #fb7185, #e11d48);  border-color: transparent; }
.btn-outline { background: var(--btn-secondary-bg); color: var(--btn-secondary-text); border-color: var(--border); }
.btn-outline:hover { color: var(--link-hover); border-color: var(--border-hover); background: rgba(255,255,255,.08); }
.btn-sm { height: 32px; padding: 0 12px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }
.btn:disabled, .btn.disabled { opacity: .5; cursor: not-allowed; filter: none; }

/* ============ Form elemanları ============ */
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="tel"], input[type="search"],
select, textarea {
  width: 100%;
  height: var(--input-h);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--input-radius);
  color: var(--text);
  padding: 0 12px;
  font-family: inherit;
  font-size: var(--fs-body);
  transition: border-color var(--transition);
}
textarea { height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; }
select { cursor: pointer; }
select option { background: var(--panel-deep); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--border-strong); }
input::placeholder, textarea::placeholder { color: var(--text-faint); opacity: .7; }
input[type="checkbox"], input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-red);
  cursor: pointer;
}

.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
}
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row .form-group { flex: 1; min-width: 180px; }
.form-error { color: var(--danger-text); font-size: var(--fs-xs); margin-top: 4px; }
.form-hint { color: var(--text-faint); font-size: var(--fs-xs); margin-top: 4px; }
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.checkbox-row input { flex: none; margin-top: 2px; }

/* ============ Kart / panel ============ */
.card {
  background: var(--panel-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-card);
}
.panel {
  background: var(--panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-panel);
}
.panel-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--text-heading);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

/* ============ İlan kartı ============ */
.listing-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--panel-soft);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.listing-card:hover { border-color: var(--border-hover); background-image: var(--card-hover-grad); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.5); }
.listing-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--panel-deep);
  margin-bottom: 2px;
}
.listing-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.listing-card__category {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-xs);
  color: var(--gold);
  background: var(--overlay);
  backdrop-filter: var(--overlay-blur);
  -webkit-backdrop-filter: var(--overlay-blur);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  text-shadow: var(--text-shadow-badge);
  white-space: nowrap;
}
.listing-card__server { font-size: var(--fs-xs); color: var(--text-faint); white-space: nowrap; }
.listing-card__title { font-size: var(--fs-body); font-weight: var(--fw-semibold); line-height: 1.35; }
.listing-card__title a { display: block; color: var(--text-card-title); }
.listing-card__title a:hover { color: var(--link-hover); }
.listing-card__seller {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.listing-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}
.listing-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}
.listing-card__price { font-size: var(--fs-md); font-weight: var(--fw-bold); color: var(--price); }
.listing-card__price small { font-size: var(--fs-xs); }
.listing-card__actions { display: flex; gap: 6px; }

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  color: #8be060;
  background: rgba(58,174,20,.12);
  border: 1px solid rgba(58,174,20,.4);
  border-radius: var(--radius-pill);
  padding: 1px 8px;
  white-space: nowrap;
}

.price { color: var(--price); font-weight: var(--fw-bold); }

/* ============ Tablo ============ */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th {
  background: var(--panel-black);
  color: var(--text);
  font-weight: var(--fw-semibold);
  text-align: left;
  padding: 11px 13px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table td {
  background: var(--panel-deep);
  color: var(--text-muted);
  padding: 11px 13px;
  border-bottom: 1px solid var(--border-subtle);
}
.table tbody tr:hover td { background: var(--panel); }

/* ============ Rozetler ============ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  text-shadow: var(--text-shadow-badge);
  white-space: nowrap;
}
.badge-warning { background: rgba(242,181,0,.15);  color: var(--warning);     border-color: rgba(242,181,0,.4); }
.badge-info    { background: rgba(47,134,201,.15); color: #6fb7e8;            border-color: rgba(47,134,201,.4); }
.badge-success { background: rgba(58,174,20,.15);  color: #8be060;            border-color: rgba(58,174,20,.4); }
.badge-danger  { background: var(--danger-bg);     color: var(--danger-text); border-color: var(--danger); }

/* ============ Grid yardımcıları ============ */
.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ============ Sipariş zaman çizelgesi ============ */
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; padding: 0 0 18px 12px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--border-strong);
}
.timeline-item.done::before      { background: var(--success); border-color: var(--success); }
.timeline-item.active::before    { background: var(--warning); border-color: var(--warning); box-shadow: 0 0 0 4px rgba(242,181,0,.2); }
.timeline-item.cancelled::before { background: var(--danger);  border-color: var(--danger); }
.timeline-item__title { font-size: var(--fs-body); font-weight: var(--fw-semibold); color: var(--text-heading); }
.timeline-item__time  { font-size: var(--fs-xs); color: var(--text-faint); }
.timeline-item__text  { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 2px; }

/* ============ Uyarı kutusu ============ */
.warning-box {
  background: rgba(107,16,16,.35);
  border: 2px solid var(--danger);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--danger-text);
  font-size: var(--fs-body);
  margin: 16px 0;
}
.warning-box strong { color: #fff; }

/* ============ Sayaç ============ */
.countdown { font-weight: var(--fw-bold); color: var(--warning); font-variant-numeric: tabular-nums; }
.countdown.expired, [data-countdown].expired { color: var(--danger-text); }

/* ============ Footer ============ */
.site-footer { position: relative; z-index: 1; }
.footer-main {
  background: linear-gradient(to top, var(--bg-footer) 30%, transparent);
  border-top: 1px solid var(--border-footer);
  padding: 40px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-col--about p { max-width: 380px; }
.footer-logo {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--text-heading);
  margin-bottom: 10px;
}
.footer-col h4 { font-size: var(--fs-body); color: var(--text-heading); margin-bottom: 12px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-muted); font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--link-hot); }
.footer-col p { color: var(--text-faint); font-size: var(--fs-sm); line-height: 1.6; }
.footer-bottom {
  background: var(--bg-footer-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 14px 0;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

/* ============ Yardımcılar ============ */
.text-muted  { color: var(--text-muted); }
.text-faint  { color: var(--text-faint); }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.only-mobile { display: none; }

/* ============ Responsive (768px) ============ */
@media (max-width: 992px) {
  .grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .only-mobile { display: block; }
  .only-pc { display: none; }

  .header-main__inner { flex-wrap: wrap; gap: 10px; min-height: 0; padding: 10px 0; }
  .mobile-menu-btn { display: inline-flex; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; margin: 0; }
  .header-user { gap: 6px; }
  .balance-chip { padding: 0 12px; }

  .nav-menu { display: none; flex-direction: column; align-items: stretch; min-height: 0; }
  body.nav-open .nav-menu { display: flex; }
  .nav-menu a { padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); }

  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-2 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-col--about p { max-width: none; }
}
@media (max-width: 480px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .listing-card__actions { width: 100%; }
  .listing-card__actions .btn { flex: 1; }
}

/* ============================================================
   EK: Genel sayfalar (home / listings / auth / pages)
   ============================================================ */

.btn-lg { height: 48px; padding: 0 28px; font-size: var(--fs-md); }

/* ---- Bölüm başlığı ---- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.section-head .page-title { margin-bottom: 0; }
.section-head__link { font-size: var(--fs-sm); color: var(--link); white-space: nowrap; }
.section-head__link:hover { color: var(--link-hot); }

/* ---- Hero ---- */
.hero {
  text-align: center;
  padding: 56px 20px;
  margin-bottom: 8px;
  background: linear-gradient(to bottom, rgba(110,48,48,.28), rgba(20,5,5,.05));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.hero__title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  color: var(--text-heading);
  text-shadow: 2px 2px 0 #041110;
  margin-bottom: 12px;
}
.hero__sub {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--text-muted);
  font-size: var(--fs-md);
}
.hero__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---- Kategori kartı ---- */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  background: var(--panel-black);
  background-image: linear-gradient(to bottom, rgba(48,27,27,.6), #000);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 24px 14px;
  transition: filter var(--transition), border-color var(--transition);
}
.category-card:hover { filter: var(--hover-brighten-lg); border-color: var(--border-strong); }
.category-card__icon { font-size: 34px; line-height: 1; color: var(--gold); text-shadow: var(--text-shadow-badge); }
.category-card__name { font-size: var(--fs-md); font-weight: var(--fw-bold); color: var(--gold); }
.category-card__desc { font-size: var(--fs-xs); color: var(--text-faint); }

/* ---- Sunucu kartı ---- */
.server-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  background: var(--panel-soft);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 20px 14px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), background var(--transition);
}
.server-card:hover { border-color: var(--border-hover); background-image: var(--card-hover-grad); }
.server-card__name { font-size: var(--fs-md); font-weight: var(--fw-bold); color: var(--text-card-title); }
.server-card__link { font-size: var(--fs-xs); color: var(--link); }

/* ---- Nasıl çalışır adımları ---- */
.step-card {
  background: var(--panel-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
}
.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-grad);
  border: 1px solid var(--border-strong);
  color: #fff;
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  text-shadow: var(--text-shadow-badge);
  margin-bottom: 12px;
}
.step-card__title { font-size: var(--fs-body); margin-bottom: 8px; }
.step-card__text { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---- İstatistik şeridi ---- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--bg-section);
  border-top: 1px solid var(--bg-section-line);
  border-bottom: 1px solid var(--bg-section-line);
  border-radius: var(--radius-md);
  padding: 28px 16px;
  margin-top: 24px;
  text-align: center;
}
.stat__value {
  display: block;
  font-size: 26px;
  font-weight: var(--fw-bold);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---- Boş durum ---- */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  background: var(--panel-soft);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

/* ---- İlan listeleme düzeni ---- */
.listings-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
}
.filter-panel { position: sticky; top: 12px; }
.filter-list li { margin-bottom: 2px; }
.filter-list a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  transition: background var(--transition), color var(--transition);
}
.filter-list a:hover { background: var(--nav-hover); color: var(--link-hover); }
.filter-list a.active {
  background: var(--nav-hover);
  color: var(--link-hot);
  font-weight: var(--fw-semibold);
}

.listing-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.listing-toolbar__title { margin-bottom: 2px; }
.sort-form { display: flex; align-items: center; gap: 8px; }
.sort-form__label { font-size: var(--fs-sm); color: var(--text-muted); white-space: nowrap; }
.sort-form select { width: auto; min-width: 150px; }

/* ---- Sayfalama (pagination::default markup) ---- */
.pagination-wrap { display: flex; justify-content: center; margin-top: 24px; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  background: var(--btn-secondary-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--btn-secondary-text);
  font-size: var(--fs-sm);
  transition: filter var(--transition);
}
.pagination a.page-link:hover { filter: var(--hover-brighten); color: var(--link-hover); }
.pagination .page-item.active .page-link {
  background: var(--btn-primary-grad);
  border-color: var(--btn-primary-border);
  color: #fff;
  font-weight: var(--fw-bold);
}
.pagination .page-item.disabled .page-link { opacity: .4; cursor: not-allowed; }

/* ---- İlan detay ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--text-faint);
  background: rgba(26,20,25,.33);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--link-hot); }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}
.detail-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  background: var(--overlay);
  backdrop-filter: var(--overlay-blur);
  -webkit-backdrop-filter: var(--overlay-blur);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  text-shadow: var(--text-shadow-badge);
  white-space: nowrap;
}
.tag-badge--gold { color: var(--gold); }
.detail-title {
  font-size: 23px;
  font-weight: var(--fw-bold);
  color: var(--text-heading);
  margin-bottom: 14px;
}
.detail-desc {
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.7;
  white-space: pre-line;
}

.seller-box { display: flex; align-items: center; gap: 14px; }
.seller-box__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-grad);
  border: 1px solid var(--border-strong);
  color: #fff;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  text-shadow: var(--text-shadow-badge);
  flex: none;
}
.seller-box__name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--text-card-title);
}
.seller-box__meta { font-size: var(--fs-xs); color: var(--text-faint); margin-top: 3px; }

.price-box__main {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border-subtle);
}
.price-box__price { font-size: 24px; font-weight: var(--fw-bold); color: var(--price); }
.price-box__unit { font-size: var(--fs-sm); color: var(--text-faint); }
.price-box__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.price-box__row:last-child { border-bottom: none; }
.price-box__row strong { color: var(--text); }

/* ---- Auth kartı ---- */
.auth-card { max-width: 440px; margin: 24px auto; }
.auth-card__title {
  font-size: var(--fs-lg);
  text-align: center;
  margin-bottom: 8px;
}
.auth-card__sub {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: 20px;
}
.auth-card__foot {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

/* ---- SSS accordion ---- */
.faq details {
  background: var(--panel-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 14px 16px;
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--text-card-title);
  list-style: none;
  transition: background var(--transition);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "▸ "; color: var(--accent); }
.faq details[open] summary::before { content: "▾ "; }
.faq details[open] summary {
  background: var(--nav-hover);
  border-bottom: 1px solid var(--border-subtle);
}
.faq summary:hover { background: var(--nav-hover); }
.faq__body { padding: 14px 16px; color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.7; }
.faq__body p { margin-bottom: 10px; }
.faq__body p:last-child { margin-bottom: 0; }

.static-list { list-style: disc; padding-left: 20px; margin: 8px 0 12px; }
.static-list li { margin-bottom: 6px; }
ol.static-list { list-style: decimal; }

/* ---- Statik içerik (hizmet şartları) ---- */
.static-content { line-height: 1.7; color: var(--text-muted); }
.static-content h2 {
  font-size: var(--fs-lg);
  color: var(--text-heading);
  margin: 22px 0 10px;
}
.static-content h2:first-child { margin-top: 0; }
.static-content h3 { font-size: var(--fs-md); color: var(--text-heading); margin: 16px 0 8px; }
.static-content p { margin-bottom: 12px; font-size: var(--fs-body); }
.static-content ul, .static-content ol { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.static-content ol { list-style: decimal; }
.static-content li { margin-bottom: 6px; }
.static-content strong { color: var(--text); }

/* ---- Ek responsive ---- */
@media (max-width: 992px) {
  .listings-layout { grid-template-columns: 220px 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { padding: 36px 16px; }
  .hero__title { font-size: 24px; }
  .listings-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .stats-strip { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   EK: Hesap / Sipariş / Satıcı sayfaları
   ============================================================ */

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.page-head .page-title { margin-bottom: 0; }

.quick-links { display: flex; gap: 10px; flex-wrap: wrap; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: var(--panel-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-card);
}
.stat-card__label {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.stat-card__value {
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--text-heading);
  margin-top: 4px;
}
.stat-card__value.gold { color: var(--gold); }

.order-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: start; }

.delivery-box {
  background: var(--panel-deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.delivery-box__item { min-width: 110px; }
.delivery-box__label {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.delivery-box__value {
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--gold);
  text-shadow: var(--text-shadow-badge);
  word-break: break-word;
}

.rules-box {
  background: rgba(47,134,201,.10);
  border: 1px solid rgba(47,134,201,.4);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.rules-box ul { list-style: disc; padding-left: 18px; }
.rules-box li { margin-bottom: 6px; }
.rules-box li:last-child { margin-bottom: 0; }

.live-total {
  display: flex;
  align-items: center;
  min-height: var(--input-h);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--gold);
}

.summary-list { display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-sm); }
.summary-list__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 6px;
}
.summary-list__row:last-child { border-bottom: none; padding-bottom: 0; }
.summary-list__key { color: var(--text-faint); white-space: nowrap; }
.summary-list__val { color: var(--text); font-weight: var(--fw-semibold); text-align: right; }

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: var(--fs-md);
}
.total-line strong { font-size: 20px; color: var(--gold); }

.event-list { display: flex; flex-direction: column; gap: 10px; }
.event-item {
  border-left: 3px solid var(--border-strong);
  padding: 2px 0 2px 10px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.event-item__meta { font-size: var(--fs-xs); color: var(--text-faint); }

.seller-order { border: 1px solid var(--border-strong); }
.seller-order__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.order-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.order-actions__ready { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.order-actions__ready .checkbox-row { margin-bottom: 0; }

.verify-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.verify-step__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.verify-step__head .panel-title { flex: 1; }

.verify-indicator { display: flex; gap: 10px; flex-wrap: wrap; }
.verify-indicator__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border: 1px solid;
}
.verify-indicator__item.ok { color: #8be060; border-color: rgba(58,174,20,.4); background: rgba(58,174,20,.12); }
.verify-indicator__item.no { color: var(--danger-text); border-color: var(--danger); background: var(--danger-bg); }

.dev-otp-box {
  background: rgba(242,181,0,.15);
  border: 1px dashed var(--warning);
  border-radius: var(--radius);
  color: #ffd970;
  padding: 10px 12px;
  font-weight: var(--fw-bold);
  margin-bottom: 12px;
}

.amount-pos { color: #8be060; font-weight: var(--fw-semibold); }
.amount-neg { color: var(--danger-text); font-weight: var(--fw-semibold); }

.narrow-panel { max-width: 640px; margin: 0 auto; }

.cell-body { max-width: 360px; white-space: pre-wrap; word-break: break-word; }

.empty-state .btn { margin-top: 12px; }

@media (max-width: 992px) {
  .order-grid { grid-template-columns: 1fr; }
  .verify-steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .order-actions .btn, .order-actions form { width: 100%; }
  .order-actions__ready { width: 100%; }
  .order-actions__ready .btn { flex: 1; }
}

/* ============================================================
   Admin panel + görsel yükleme + yardımcılar (ek modül)
   ============================================================ */
.text-sm    { font-size: var(--fs-sm); }
.text-faint { color: var(--text-faint); }

.dropdown-item--admin { color: var(--accent); font-weight: var(--fw-semibold); }

.admin-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border-subtle);
}
.admin-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-tabs a {
  padding: 8px 16px; border-radius: var(--radius-pill);
  color: var(--text-muted); font-weight: var(--fw-medium);
  background: var(--btn-secondary-bg); border: 1px solid var(--border-subtle);
  transition: all var(--transition);
}
.admin-tabs a:hover { color: var(--link-hover); border-color: var(--border-hover); }
.admin-tabs a.active { background: var(--accent-grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }

.admin-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-bottom: 22px;
}
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 14px;
}
.inline-search { display: flex; gap: 8px; }
.inline-search input { width: auto; min-width: 220px; }

/* Boyut ipucu kutusu */
.dim-hint {
  font-size: var(--fs-sm); color: var(--text-muted);
  background: rgba(255,207,92,.08); border: 1px solid rgba(255,207,92,.28);
  border-radius: var(--radius-sm); padding: 8px 12px; margin-bottom: 12px;
}
.dim-hint strong { color: var(--gold); }

/* Görsel grid & thumbnail */
.image-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.image-thumb {
  position: relative; width: 130px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--panel-deep);
}
.image-thumb img { width: 100%; height: 100px; object-fit: cover; display: block; }
.image-thumb__del {
  display: flex; align-items: center; gap: 5px; justify-content: center;
  font-size: var(--fs-xs); color: var(--danger-text);
  padding: 5px; background: var(--panel-black); cursor: pointer;
}
.image-inputs { display: flex; flex-direction: column; gap: 8px; }
.image-inputs input[type="file"] {
  padding: 8px; font-size: var(--fs-sm);
  background: var(--input-bg); border: 1px dashed var(--input-border);
  border-radius: var(--radius-sm); color: var(--text-muted); width: 100%;
}

@media (max-width: 768px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-grid-2 { grid-template-columns: 1fr; }
  .inline-search input { min-width: 0; flex: 1; }
}

/* İlan kartı kapak görseli / placeholder */
.listing-card__cover { display: block; }
.listing-card__image--empty {
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: var(--accent);
  background: radial-gradient(circle at 50% 40%, rgba(201,53,79,.18), var(--panel-deep));
}

/* ============ misali2 tarzı PostBox kart ============ */
.post-box {
  display: flex; flex-direction: column;
  background: var(--panel-soft); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.post-box:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.post-box__author {
  padding: 7px 10px; font-size: var(--fs-xs);
  background: var(--panel-deep); border-bottom: 1px solid var(--border-subtle);
}
.post-box__author a { display: flex; align-items: center; gap: 6px; color: var(--text-muted); }
.post-box__author a:hover { color: var(--link-hover); }
.mini-avatar {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-grad); color: #fff; font-size: 11px; font-weight: var(--fw-bold);
}
.mini-verified { color: var(--success); font-weight: var(--fw-bold); }
.post-box__image { position: relative; }
.post-box__image img, .post-box__image-empty {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 125px; object-fit: cover;
  font-size: 36px; color: var(--accent);
  background: radial-gradient(circle at 50% 40%, rgba(201,53,79,.15), var(--panel-deep));
}
.post-box__category {
  position: absolute; left: 0; right: 0; bottom: 0; text-align: center;
  background: var(--overlay); backdrop-filter: var(--overlay-blur);
  font-size: var(--fs-xs); padding: 3px 6px;
}
.post-box__category a { color: var(--gold); }
.post-box__body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; }
.post-box__title {
  font-size: var(--fs-body); font-weight: var(--fw-semibold); color: var(--text-card-title);
  line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.post-box__body:hover .post-box__title { color: var(--link-hover); }
.post-box__desc {
  font-size: var(--fs-xs); color: var(--text-faint); line-height: 1.35;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.post-box__price { margin-top: auto; padding-top: 6px; font-size: 17px; font-weight: var(--fw-bold); color: var(--price); }
.post-box__price small { font-size: 11px; }

/* ============ Nav dropdown + info-bar ============ */
.nav-dropdown { position: relative; }
.nav-dropdown__menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 190px;
  background: var(--panel-menu); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-panel);
  padding: 6px; z-index: 90;
}
.nav-dropdown:hover .nav-dropdown__menu, .nav-dropdown.open .nav-dropdown__menu { display: block; }
.nav-dropdown__menu li a {
  display: block; padding: 8px 12px; border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: var(--fs-sm); margin: 0;
}
.nav-dropdown__menu li a:hover { background: var(--nav-hover); color: var(--link-hover); }
.nav-menu__right { margin-left: auto; }
.nav-cta {
  background: var(--accent-grad); color: #fff !important; border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold); box-shadow: var(--shadow-glow);
}
.nav-cta:hover { filter: var(--hover-brighten); background: var(--accent-grad) !important; }
.info-bar {
  background: var(--bg-footer-deep); border-bottom: 1px solid var(--border-subtle);
  font-size: var(--fs-xs);
}
.info-bar__inner { display: flex; gap: 22px; min-height: 34px; align-items: center; }
.info-bar a { color: var(--text-faint); }
.info-bar a:hover { color: var(--link-hot); }
@media (max-width: 768px) {
  .info-bar__inner { flex-wrap: wrap; padding: 6px 15px; }
  .nav-menu__right { margin-left: 0; }
  .nav-dropdown__menu { position: static; display: none; }
  .nav-dropdown.open .nav-dropdown__menu { display: block; }
}

/* ============ Admin sol menülü layout ============ */
.admin-body { background: var(--bg); display: block; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; flex: none; display: flex; flex-direction: column;
  background: var(--panel-deep); border-right: 1px solid var(--border-subtle);
  position: sticky; top: 0; height: 100vh;
}
.admin-sidebar__logo {
  display: block; padding: 18px 16px; font-size: 17px; font-weight: var(--fw-bold);
  color: var(--text-heading); border-bottom: 1px solid var(--border-subtle);
}
.admin-sidebar__nav { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; flex: 1; overflow-y: auto; }
.admin-sidebar__nav a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: var(--fs-body);
}
.admin-sidebar__nav a:hover { background: var(--nav-hover); color: var(--link-hover); }
.admin-sidebar__nav a.active { background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-glow); }
.admin-sidebar__foot {
  padding: 12px 16px; border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-sm);
}
.admin-sidebar__foot button { background: none; border: none; color: var(--danger-text); cursor: pointer; font-size: var(--fs-sm); }
.admin-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px; background: var(--panel-black);
  border-bottom: 1px solid var(--border-subtle);
}
.admin-topbar h1 { font-size: var(--fs-lg); flex: 1; }
.admin-topbar__user { color: var(--text-faint); font-size: var(--fs-sm); }
.admin-main { padding: 22px; }
.admin-main .panel { margin-bottom: 18px; }
@media (max-width: 900px) {
  .admin-sidebar { position: fixed; z-index: 200; transform: translateX(-100%); transition: transform .2s ease; }
  .admin-shell.menu-open .admin-sidebar { transform: none; }
  .admin-topbar .mobile-menu-btn { display: inline-flex; }
}

.check-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; color: var(--text-muted); cursor: pointer; }
.check-row input { width: auto; }

/* ============ Kullanıcı paneli (Kontrol Merkezi) ============ */
.panel-shell { display: flex; gap: 20px; align-items: flex-start; }
.panel-side {
  width: 240px; flex: none; background: var(--panel-deep);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  overflow: hidden; position: sticky; top: 14px;
}
.panel-side__user { display: flex; align-items: center; gap: 10px; padding: 16px; background: var(--panel-black); }
.panel-side__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-grad); color: #fff; font-weight: var(--fw-bold); font-size: 18px;
}
.panel-side__name { font-weight: var(--fw-semibold); color: var(--text-heading); }
.panel-side__balance { font-size: var(--fs-sm); color: var(--gold); }
.panel-side__nav { display: flex; flex-direction: column; padding: 8px; gap: 1px; }
.panel-side__nav a { padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-muted); font-size: var(--fs-sm); }
.panel-side__nav a:hover { background: var(--nav-hover); color: var(--link-hover); }
.panel-side__nav a.active { background: var(--accent-grad); color: #fff; }
.panel-side__sep { padding: 10px 12px 4px; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .5px; color: var(--text-faint); }
.panel-content { flex: 1; min-width: 0; }

/* Sohbet kutusu (mesaj + destek) */
.chat-box {
  display: flex; flex-direction: column; gap: 10px;
  max-height: 460px; overflow-y: auto; padding: 6px 4px 14px;
  margin-bottom: 12px; border-bottom: 1px solid var(--border-subtle);
}
.chat-msg { max-width: 78%; padding: 9px 13px; border-radius: 12px; background: var(--panel); border: 1px solid var(--border-subtle); }
.chat-msg--me { align-self: flex-end; background: rgba(201,53,79,.16); border-color: var(--border-strong); }
.chat-msg__who { font-size: var(--fs-xs); color: var(--text-faint); margin-bottom: 3px; }
.chat-msg__body { font-size: var(--fs-sm); color: var(--text); white-space: pre-wrap; word-break: break-word; }
.chat-form { display: flex; gap: 8px; }
.chat-form input { flex: 1; }
.chat-form-block textarea { margin-bottom: 8px; }

/* Favori kalp butonu */
.fav-btn-form { position: absolute; top: 6px; right: 6px; z-index: 3; margin: 0; }
.fav-btn {
  width: 32px; height: 32px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
  font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition);
}
.fav-btn:hover { transform: scale(1.15); }

@media (max-width: 900px) {
  .panel-shell { flex-direction: column; }
  .panel-side { width: 100%; position: static; }
  .panel-side__nav { flex-direction: row; flex-wrap: wrap; }
  .panel-side__nav a { flex: 1 1 auto; }
  .panel-side__sep { display: none; }
}

/* ============ İlan Ekle — bölümlü form (misali2 tarzı) ============ */
.form-section {
  background: var(--panel-soft); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); margin-bottom: 18px; overflow: hidden;
}
.form-section__head {
  padding: 16px 20px; background: var(--panel-deep);
  border-bottom: 1px solid var(--border-subtle);
}
.form-section__head h3 { font-size: var(--fs-lg); color: var(--text-heading); }
.form-section__head p { font-size: var(--fs-sm); color: var(--text-faint); margin-top: 2px; }
.form-section__body { padding: 20px; }

.readonly-field { background: var(--panel-black) !important; color: var(--text-muted) !important; }
.readonly-field--net { color: var(--success) !important; font-weight: var(--fw-bold); }
.btn-lg { height: 52px; font-size: var(--fs-md); margin-top: 6px; }

/* İlan tipi seçim */
.type-choices { display: flex; gap: 10px; flex-wrap: wrap; }
.type-choice {
  flex: 1; min-width: 140px; padding: 12px 14px; cursor: pointer;
  background: var(--input-bg); border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center; transition: all var(--transition);
}
.type-choice input { display: none; }
.type-choice.is-selected { border-color: var(--accent); background: rgba(201,53,79,.14); color: var(--text-heading); }

/* Doping */
.doping-block { padding: 14px 0; border-bottom: 1px solid var(--border-subtle); }
.doping-block:last-of-type { border-bottom: none; }
.doping-block h4 { font-size: var(--fs-md); color: var(--text-heading); margin-bottom: 4px; }
.doping-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.doping-opt { cursor: pointer; }
.doping-opt input { display: none; }
.doping-opt span {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px;
  background: var(--input-bg); border: 1px solid var(--border); border-radius: var(--radius-pill);
  font-size: var(--fs-sm); color: var(--text-muted); transition: all var(--transition);
}
.doping-opt span b { color: var(--gold); font-weight: var(--fw-bold); }
.doping-opt.is-selected span { border-color: var(--accent); background: rgba(201,53,79,.16); color: var(--text-heading); }
.doping-total {
  margin-top: 14px; padding: 12px 16px; background: var(--panel-black);
  border-radius: var(--radius); font-size: var(--fs-md);
}
.doping-total strong { color: var(--gold); }

/* Dropzone */
.dropzone {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 30px; margin-top: 12px; cursor: pointer; text-align: center;
  border: 2px dashed var(--input-border); border-radius: var(--radius-md);
  background: var(--input-bg); color: var(--text-muted); transition: all var(--transition);
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--accent); background: rgba(201,53,79,.08); }
.dropzone__icon { font-size: 30px; }

/* Hazır görsel galerisi */
.stock-gallery { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; padding: 12px; background: var(--panel-black); border-radius: var(--radius); }
.stock-thumb { cursor: pointer; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; }
.stock-thumb input { display: none; }
.stock-thumb img { width: 76px; height: 60px; object-fit: cover; display: block; }
.stock-thumb.is-selected { border-color: var(--accent); }

/* Kurallar kutusu */
.rules-box {
  max-height: 240px; overflow-y: auto; padding: 14px 16px; margin-bottom: 12px;
  background: var(--panel-black); border: 1px solid var(--border-subtle); border-radius: var(--radius);
  font-size: var(--fs-sm); color: var(--text-muted);
}
.rules-box ul { list-style: disc; padding-left: 18px; display: flex; flex-direction: column; gap: 7px; }
.check-row--strong { font-weight: var(--fw-semibold); color: var(--text); }

/* Vitrin / öne çıkar kart rozetleri */
.post-box { position: relative; }
.post-box--highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-card); }
.post-box--highlight .post-box__title { color: #fff; }
.post-box__vitrin {
  position: absolute; top: 6px; left: 6px; z-index: 3;
  background: var(--accent-grad); color: #fff; font-size: 11px; font-weight: var(--fw-bold);
  padding: 2px 9px; border-radius: var(--radius-pill); box-shadow: var(--shadow-glow);
}

/* ============ Geniş auth kartı (misali2 tarzı) ============ */
.auth-wide {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  max-width: 900px; margin: 30px auto;
  background: var(--panel); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-panel);
}
.auth-wide__promo {
  padding: 40px 36px; display: flex; flex-direction: column; gap: 14px;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(16,185,129,.22), transparent 60%),
    linear-gradient(160deg, var(--accent-dark), var(--panel-deep));
  border-right: 1px solid var(--border-subtle);
}
.auth-wide__brand { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: .3px; }
.auth-wide__promo h2 { font-size: 24px; color: #fff; }
.auth-wide__promo p { color: rgba(255,255,255,.82); font-size: var(--fs-md); line-height: 1.6; }
.auth-wide__list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.auth-wide__list li { color: #eafff4; font-size: var(--fs-sm); }
.auth-wide__form { padding: 40px 36px; }

@media (max-width: 760px) {
  .auth-wide { grid-template-columns: 1fr; max-width: 460px; }
  .auth-wide__promo { display: none; }
  .auth-wide__form { padding: 30px 24px; }
}

/* ============ Menü — ortalı + koyu temalı arka plan + sağda İlan Ekle ============ */
.main-nav {
  background:
    linear-gradient(180deg, rgba(16,185,129,.10), rgba(5,13,12,.82) 60%),
    radial-gradient(720px 130px at 50% -20px, rgba(16,185,129,.20), transparent 72%),
    var(--panel-black);
  border-top: 1px solid var(--border-nav);
  border-bottom: 1px solid var(--border-nav);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 6px 18px rgba(0,0,0,.35);
}
.main-nav__inner {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: var(--nav-h);
}
.nav-menu { justify-content: center; flex-wrap: wrap; }
.nav-menu a { gap: 6px; }
.nav-ico { font-size: 15px; line-height: 1; filter: drop-shadow(0 1px 1px rgba(0,0,0,.4)); }

.nav-cta {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 18px;
  background: var(--accent-grad); color: #04140e !important;
  font-weight: var(--fw-bold); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow); white-space: nowrap;
  transition: transform var(--transition), filter var(--transition);
}
.nav-cta:hover { filter: var(--hover-brighten); transform: translateY(-50%) scale(1.04); background: var(--accent-grad) !important; }
.nav-cta .nav-ico { font-size: 17px; font-weight: 700; }

@media (max-width: 900px) {
  .main-nav__inner { justify-content: flex-start; }
  .nav-cta { position: static; transform: none; margin-left: auto; height: 34px; padding: 0 14px; }
  .nav-cta:hover { transform: none; }
}

/* ============ Menü düzeltme + tam koyu modern panel (final override) ============ */
/* Taşma yok: grid — menü ortada esner, İlan Ekle sağda ayrı sütun */
.main-nav__inner {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  column-gap: 14px; justify-content: initial;
}
.nav-menu {
  grid-column: 1; flex-wrap: nowrap; justify-content: center;
  overflow-x: auto; scrollbar-width: none; gap: 2px;
}
.nav-menu::-webkit-scrollbar { display: none; }
.nav-menu a { padding: 0 12px; white-space: nowrap; font-size: 13.5px; }
.nav-svg { width: 16px; height: 16px; flex: none; opacity: .92; }
.nav-menu a.active .nav-svg, .nav-menu a:hover .nav-svg { opacity: 1; }

.nav-cta {
  position: static; transform: none; grid-column: 2; align-self: center;
  height: 38px; padding: 0 18px;
}
.nav-cta:hover { transform: scale(1.04); }
.nav-cta .nav-svg { width: 17px; height: 17px; }

/* Tam koyu, modern header + nav (teal parıltı azaltıldı) */
.header-main {
  background: rgba(4,11,10,.94);
  border-bottom: 1px solid var(--border-subtle);
}
.main-nav {
  background:
    linear-gradient(180deg, rgba(16,185,129,.05), rgba(3,9,8,.98) 70%),
    var(--panel-black);
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid var(--border-nav);
  box-shadow: 0 8px 20px rgba(0,0,0,.45);
}
body::before { opacity: .5; } /* zemin parıltısını kısarak daha koyu his */

@media (max-width: 900px) {
  .main-nav__inner { grid-template-columns: 1fr auto; }
  .nav-cta { transform: none; height: 34px; padding: 0 13px; }
  .nav-cta:hover { transform: none; }
}

/* ============ Menü büyütme + tam koyu (final v2) ============ */
.main-nav { min-height: 62px; }
.main-nav__inner { min-height: 62px; }
.nav-menu a {
  font-size: 15.5px; font-weight: var(--fw-semibold);
  padding: 0 15px; gap: 8px; letter-spacing: .2px;
}
.nav-svg { width: 19px; height: 19px; }
.nav-cta { height: 42px; padding: 0 22px; font-size: 15px; }
.nav-cta .nav-svg { width: 19px; height: 19px; }

/* Auth promo panelini koyulaştır (parlak teal yerine derin) */
.auth-wide__promo {
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(16,185,129,.14), transparent 60%),
    linear-gradient(160deg, #0a2321, var(--panel-deep));
}

/* Panelleri biraz daha koyu-modern */
.panel, .card, .form-section, .post-box, .listing-card { background-color: var(--panel-deep); }
select, input, textarea { background-color: var(--input-bg) !important; }

/* ============ Menü final: ortalı, büyük, İlan Ekle son öğe ============ */
.main-nav__inner { display: flex; justify-content: center; align-items: center; min-height: 64px; grid-template-columns: none; }
.main-nav { min-height: 64px; }
.nav-menu { justify-content: center; flex-wrap: wrap; gap: 4px; }
.nav-menu a { font-size: 16px; padding: 0 16px; height: 44px; }
.nav-svg { width: 19px; height: 19px; }


/* İkon bileşeni hizası */
.ico { flex: none; vertical-align: -3px; }
.dropdown-item { display: flex; align-items: center; gap: 9px; }
.dropdown-item .ico { opacity: .85; }
.dropdown-item:hover .ico { opacity: 1; }
.logo-img { height: 64px; width: auto; max-width: 340px; object-fit: contain; display: block; }
@media (max-width: 600px) { .logo-img { height: 48px; max-width: 200px; } }

/* Profil başlığı */
.profile-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.profile-head__avatar {
  width: 60px; height: 60px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-grad); color: #04140e; font-size: 26px; font-weight: 800;
}
.profile-head__info { flex: 1; min-width: 0; }
.profile-head__info h1 { font-size: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ============ İlan listesi: 6 sütun + üst yatay filtre barı ============ */
.grid.cols-6 { grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 1150px) { .grid.cols-6 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px)  { .grid.cols-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .grid.cols-6 { grid-template-columns: repeat(2, 1fr); } }

.filterbar {
  display: flex; gap: 16px; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; margin-bottom: 18px; padding: 14px 16px;
  background: var(--panel-deep); border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
}
.filterbar__filters { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 10px; }
.filter-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.filter-row__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .5px; color: var(--text-faint); width: 66px; flex: none; }
.chip {
  padding: 5px 13px; border-radius: var(--radius-pill);
  background: var(--btn-secondary-bg); border: 1px solid var(--border);
  color: var(--text-muted); font-size: var(--fs-sm); white-space: nowrap;
}
.chip:hover { color: var(--link-hover); border-color: var(--border-hover); }
.chip.is-active { background: var(--accent-grad); color: #04140e; border-color: transparent; font-weight: var(--fw-semibold); }
.filterbar__search { display: flex; gap: 8px; flex: none; align-items: flex-start; }
.filterbar__search input { width: 230px; }
@media (max-width: 700px) { .filterbar__search { width: 100%; } .filterbar__search input { flex: 1; width: auto; } }

/* 6 sütunda kart biraz sıkışık — küçült */
.grid.cols-6 .post-box__body { padding: 9px 10px 11px; gap: 3px; }
.grid.cols-6 .post-box__title { font-size: 13.5px; }
.grid.cols-6 .post-box__price { font-size: 15px; }
.grid.cols-6 .post-box__image img, .grid.cols-6 .post-box__image-empty { height: 115px; }

/* ============ İlan detay görsel galerisi (max 835×570) ============ */
.detail-gallery { margin-bottom: 16px; }
.detail-gallery__main {
  width: 100%; max-width: 835px; margin: 0 auto;
  background: var(--panel-black); border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.detail-gallery__main img {
  max-width: 835px; max-height: 570px; width: 100%; height: auto;
  object-fit: contain; display: block;
}
.detail-gallery__thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; justify-content: center; }
.detail-thumb {
  width: 78px; height: 58px; padding: 0; cursor: pointer; overflow: hidden;
  border: 2px solid var(--border); border-radius: var(--radius-sm); background: var(--panel-black);
}
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumb.is-active { border-color: var(--accent); }

/* ============ İlan detay — 3 sütunlu (misali2 tarzı) ============ */
.ad-layout {
  display: grid; grid-template-columns: minmax(300px, 470px) 1fr 340px;
  gap: 16px; align-items: start; margin-bottom: 16px;
}
.ad-image { padding: 16px; }
.ad-image__frame {
  background: var(--panel-black); border: 1px solid var(--border-subtle); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; overflow: hidden;
}
.ad-image__frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.ad-image__empty { font-size: 64px; color: var(--accent); }
.ad-image__zoom { display: block; text-align: center; margin-top: 10px; font-size: var(--fs-sm); color: var(--text-faint); }
.ad-image__zoom:hover { color: var(--accent); }
.ad-image__thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; justify-content: center; }
.ad-thumb { width: 68px; height: 52px; padding: 0; overflow: hidden; cursor: pointer; border: 2px solid var(--border); border-radius: var(--radius-sm); background: var(--panel-black); }
.ad-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ad-thumb.is-active { border-color: var(--accent); }

.ad-info { padding: 22px; }
.ad-info__id { font-size: var(--fs-sm); color: var(--text-faint); }
.ad-info__title { font-size: 24px; margin: 4px 0 6px; color: var(--text-heading); line-height: 1.25; }
.ad-info__sub { color: var(--text-muted); margin-bottom: 16px; }
.ad-meta { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--border-subtle); padding-top: 12px; }
.ad-meta li { display: flex; align-items: center; gap: 10px; padding: 11px 4px; border-bottom: 1px solid var(--border-subtle); font-size: var(--fs-sm); color: var(--text-muted); }
.ad-meta li .ico { color: var(--accent); flex: none; }
.ad-meta li strong { color: var(--text); }

.ad-side .panel { padding: 18px; }
.ad-contact { display: flex; gap: 8px; margin-bottom: 14px; }
.ad-contact .btn { flex: 1; }
.ad-seller { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--panel-black); border-radius: var(--radius); }
.ad-seller__avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-grad); color: #04140e; font-size: 20px; font-weight: 800; }
.ad-seller__info { display: flex; flex-direction: column; }
.ad-seller__name { font-weight: var(--fw-semibold); color: var(--text-heading); }
.ad-seller__meta { font-size: var(--fs-xs); color: var(--text-faint); }
.ad-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.ad-badge { font-size: var(--fs-xs); padding: 4px 9px; border-radius: var(--radius-pill); background: var(--btn-secondary-bg); border: 1px solid var(--border); color: var(--text-muted); }
.ad-badge--gold { color: var(--gold); border-color: rgba(245,196,81,.3); }
.ad-price { display: flex; flex-direction: column; gap: 2px; padding: 14px; margin: 12px 0; background: var(--panel-black); border-radius: var(--radius); border: 1px solid var(--border-subtle); }
.ad-price__label { font-size: var(--fs-xs); color: var(--text-faint); text-transform: uppercase; letter-spacing: .5px; }
.ad-price__value { font-size: 26px; font-weight: 800; color: var(--gold); }
.ad-price__value small { font-size: 13px; color: var(--text-faint); font-weight: 400; }
.ad-actions { display: flex; gap: 8px; margin-bottom: 8px; }
.ad-actions .btn, .ad-actions form { flex: 1; }
.ad-actions form .btn { width: 100%; }

.ad-desc-panel { padding: 22px; }
.ad-desc { color: var(--text-muted); line-height: 1.7; white-space: pre-wrap; }

@media (max-width: 1050px) { .ad-layout { grid-template-columns: 1fr 1fr; } .ad-side { grid-column: 1 / -1; } }
@media (max-width: 700px) { .ad-layout { grid-template-columns: 1fr; } }

/* ============ Footer (4 sütun + sosyal) ============ */
.footer-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr 1.6fr; gap: 30px; }
.footer-col--brand p { color: var(--text-faint); font-size: var(--fs-sm); line-height: 1.6; margin-top: 8px; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--btn-secondary-bg); border: 1px solid var(--border); color: var(--text-muted);
  transition: all var(--transition);
}
.footer-social a:hover { color: var(--accent); border-color: var(--border-hover); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============ Banner (ana sayfa) ============ */
.banner { position: relative; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 24px; border: 1px solid var(--border-subtle); }
.banner__slide { display: none; }
.banner__slide.is-active { display: block; }
.banner__slide img { width: 100%; height: auto; max-height: 360px; object-fit: cover; display: block; }
.banner__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; }
.banner__dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); cursor: pointer; transition: all .2s; }
.banner__dot.is-active { background: var(--accent); transform: scale(1.2); }

/* 7 sütun grid */
.grid.cols-7 { grid-template-columns: repeat(7, 1fr); gap: 10px; }
@media (max-width: 1200px) { .grid.cols-7 { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 950px)  { .grid.cols-7 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px)  { .grid.cols-7 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px)  { .grid.cols-7 { grid-template-columns: repeat(2, 1fr); } }
.grid.cols-7 .post-box__body { padding: 8px 9px 10px; gap: 3px; }
.grid.cols-7 .post-box__title { font-size: 12.5px; }
.grid.cols-7 .post-box__desc { display: none; }
.grid.cols-7 .post-box__price { font-size: 14px; }
.grid.cols-7 .post-box__image img, .grid.cols-7 .post-box__image-empty { height: 100px; }
.grid.cols-7 .post-box__author { font-size: 11px; padding: 5px 8px; }

/* Admin banner listesi */
.banner-admin-list { display: flex; flex-direction: column; gap: 12px; }
.banner-admin-item { border: 1px solid var(--border-subtle); border-radius: var(--radius); overflow: hidden; }
.banner-admin-item.is-off { opacity: .5; }
.banner-admin-item img { width: 100%; max-height: 170px; object-fit: cover; display: block; }
.banner-admin-item__bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--panel-black); }

/* Uyarı metni (para çekme vs.) */
.warn-text { display: block; margin-top: 6px; font-size: var(--fs-xs); color: var(--danger-text); line-height: 1.5; }
.warn-text strong { color: var(--danger); }

/* Rozet + ikon hizası */
.ad-badge { display: inline-flex; align-items: center; gap: 5px; }
.ad-badge .ico { vertical-align: 0; }
.ad-badge--gold .ico { color: var(--gold); }

/* ===== Vitrin / Öne Çıkan rozetleri (yeni, temiz) ===== */
.post-box__flags {
  position: absolute; top: 6px; right: 6px; left: auto; z-index: 4;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px; pointer-events: none;
}
.pb-flag {
  display: inline-flex; align-items: center; gap: 3px; line-height: 1;
  font-size: 10px; font-weight: 800; letter-spacing: .2px; white-space: nowrap;
  padding: 3px 8px; border-radius: var(--radius-pill); box-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.pb-flag .ico { flex: none; }
.pb-flag--vitrin { background: linear-gradient(135deg, #ffdd80, #dd9c10); color: #3a2500; }
.pb-flag--hot { background: linear-gradient(135deg, #ff8a5b, #e0415c); color: #fff; }

/* Öne Çıkan kart — belirgin çerçeve + parıltı */
.post-box--highlight {
  border: 1.5px solid var(--accent) !important;
  box-shadow: 0 0 0 1px var(--accent), 0 10px 28px rgba(16,185,129,.30) !important;
  background: linear-gradient(180deg, rgba(16,185,129,.10), var(--panel-deep));
}
.post-box--highlight:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--accent), 0 14px 34px rgba(16,185,129,.42) !important; }
.post-box--highlight .post-box__title { color: #fff; font-weight: 700; }
/* Vitrin kart — altın üst çizgi */
.post-box--vitrin { border-top: 3px solid #e0a112; }

/* Detay sayfası vitrin/öne çıkan rozet satırı */
.ad-info__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.ad-info__top .pb-flag { position: static; font-size: 11px; padding: 4px 11px; margin-left: 0; box-shadow: none; }

/* Admin kimlik belge inceleme */
.identity-docs { display: flex; gap: 14px; flex-wrap: wrap; }
.identity-doc { display: flex; flex-direction: column; gap: 4px; }
.identity-doc__label { font-size: var(--fs-xs); color: var(--text-faint); }
.identity-doc img { width: 210px; height: 135px; object-fit: cover; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--panel-black); }

/* ===== Vitrin İlanı — altın banner (görsel referansı) ===== */
.post-box__vitrin-banner {
  background: linear-gradient(180deg, #f7d888, #e6b422 55%, #caa019);
  color: #3a2600; text-align: center; text-transform: uppercase;
  font-size: 10.5px; font-weight: 800; letter-spacing: 2.5px;
  padding: 4px 0; border-top: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.post-box--vitrin {
  border: 1px solid rgba(230,180,34,.55) !important;
  box-shadow: 0 0 0 1px rgba(230,180,34,.22), 0 8px 22px rgba(0,0,0,.45) !important;
  border-top: none !important;
}
.post-box--vitrin:hover { box-shadow: 0 0 0 1px rgba(230,180,34,.4), 0 12px 30px rgba(0,0,0,.55) !important; }

/* ===== Profil görselleri (avatar + kapak + değerlendirme) ===== */
.profile-edit { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.profile-edit__avatar { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; flex: none; background: var(--accent-grad); display: flex; align-items: center; justify-content: center; }
.profile-edit__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-edit__avatar-empty { font-size: 36px; font-weight: 800; color: #04140e; }
.profile-edit__fields { flex: 1; min-width: 240px; }

.profile-card { padding: 0 !important; overflow: hidden; }
.profile-cover { height: 200px; background: linear-gradient(135deg, var(--accent-dark), var(--panel-deep)); background-size: cover; background-position: center; }
.profile-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 0 22px 18px; margin-top: -40px; }
.profile-head__avatar { width: 88px; height: 88px; border-radius: 50%; flex: none; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-grad); color: #04140e; font-size: 34px; font-weight: 800; border: 3px solid var(--panel); }
.profile-head__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-head__info { flex: 1; min-width: 0; padding-bottom: 4px; }
.profile-rating { color: var(--gold); font-weight: var(--fw-bold); }

.review { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-subtle); }
.review:last-child { border-bottom: none; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-grad); color: #04140e; font-weight: 800; }
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review__stars { color: var(--gold); letter-spacing: 1px; }
.review__comment { color: var(--text-muted); margin-top: 4px; }

.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin-bottom: 12px; }
.star-input input { display: none; }
.star-input label { font-size: 30px; color: var(--border); cursor: pointer; transition: color .12s; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }

/* Kart mini avatar gerçek resim */
.mini-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mini-avatar { overflow: hidden; }

/* ===== Sayfalama (pagination) — temaya uygun ===== */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin: 20px 0 0; padding: 0; list-style: none; }
.pagination__item {
  min-width: 38px; height: 38px; padding: 0 11px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--panel); color: var(--text-muted); font-size: var(--fs-sm); font-weight: var(--fw-semibold);
  transition: all var(--transition);
}
.pagination__item:hover { border-color: var(--border-hover); color: var(--link-hover); }
.pagination__item.is-active { background: var(--accent-grad); color: #04140e; border-color: transparent; }
.pagination__item.is-disabled { opacity: .35; }
.pagination__item.is-dots { border: none; background: none; min-width: auto; }
.pagination-wrap { margin-top: 6px; }

/* İlan detay satıcı avatarı + DM sohbet avatarı */
.ad-seller__avatar { overflow: hidden; }
.ad-seller__avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-row--me { flex-direction: row-reverse; }
.chat-avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-grad); color: #04140e; font-weight: 800; font-size: 13px; }
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-row .chat-msg { max-width: 100%; }

/* ===== Admin Dashboard ===== */
.dash-alerts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-alert { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border); color: var(--text); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.dash-alert--warn { border-color: rgba(251,191,36,.45); color: var(--warning); }
.dash-alert--danger { border-color: rgba(244,63,94,.45); color: var(--danger); }
.dash-section-title { font-size: 15px; color: var(--text-heading); margin: 22px 0 12px; }
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dash-grid--3 { grid-template-columns: repeat(3, 1fr); }
.dash-card { background: var(--panel); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 18px 18px 18px 22px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; }
.dash-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.dash-card--green::before { background: var(--success); }
.dash-card--gold::before { background: var(--gold); }
.dash-card--blue::before { background: var(--info); }
.dash-card--red::before { background: var(--danger); }
.dash-card__label { font-size: var(--fs-xs); color: var(--text-faint); text-transform: uppercase; letter-spacing: .5px; }
.dash-card__value { font-size: 22px; font-weight: 800; color: var(--text-heading); line-height: 1.1; }
.dash-card__sub { font-size: var(--fs-xs); color: var(--text-muted); }
a.dash-card { transition: border-color var(--transition); }
a.dash-card:hover { border-color: var(--border-hover); }
@media (max-width: 900px) { .dash-grid, .dash-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .dash-grid, .dash-grid--3 { grid-template-columns: 1fr; } }

/* Otomatik teslim edilen kod kutusu */
.delivered-box { border: 1px solid var(--border-strong); }
.delivered-code {
  background: var(--panel-black); border: 1px dashed var(--accent);
  border-radius: var(--radius-sm); padding: 14px 16px; color: var(--accent);
  font-family: monospace; font-size: 15px; white-space: pre-wrap; word-break: break-all; user-select: all;
}

/* ============================================================
 * NAVBAR: bildirim zili + mesaj + kullanıcı kartı
 * ========================================================== */
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius); flex: none;
  background: var(--btn-secondary-bg); border: 1px solid var(--border);
  color: var(--text-muted); cursor: pointer; transition: all var(--transition);
}
.icon-btn:hover { color: var(--accent-hover); border-color: var(--border-hover); }
.notif-badge {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #ef4444; color: #fff; font-size: 11px; font-weight: 800;
  border-radius: 50px; border: 2px solid var(--bg); line-height: 1;
}
.notif-badge--msg { background: var(--accent); }
.notif-badge--cart { background: #22c55e; }

/* ============================================================
 * SEPET
 * ========================================================== */
.cart-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.cart-lines { display: flex; flex-direction: column; gap: 14px; }
.cart-line {
  display: grid; grid-template-columns: 84px 1fr auto auto; gap: 16px; align-items: center; padding: 16px;
}
.cart-line__img {
  width: 84px; height: 84px; border-radius: var(--radius); overflow: hidden; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--panel-black); border: 1px solid var(--border); font-size: 30px;
}
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__body { min-width: 0; }
.cart-line__title { display: block; font-weight: 700; color: var(--text); font-size: 15px; line-height: 1.35; }
.cart-line__title:hover { color: var(--accent-hover); }
.cart-line__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; font-size: 12.5px; color: var(--text-muted); }
.cart-line__badge { color: #22c55e; font-weight: 700; }
.cart-line__seller { margin-top: 5px; font-size: 12.5px; color: var(--text-faint); }
.cart-qty-form { display: flex; flex-direction: column; gap: 6px; }
.cart-qty__label { font-size: 12px; color: var(--text-muted); }
.cart-qty__control { display: flex; gap: 6px; align-items: center; }
.cart-qty__input {
  width: 74px; padding: 8px 10px; border-radius: var(--radius-sm);
  background: var(--input-bg); border: 1px solid var(--input-border); color: var(--text); font-weight: 700;
}
.cart-qty__unit { font-size: 11.5px; color: var(--text-faint); }
.cart-line__price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-line__subtotal { font-size: 17px; font-weight: 800; color: var(--accent); white-space: nowrap; }
.cart-line__remove {
  display: inline-flex; align-items: center; gap: 4px; background: none; border: none; cursor: pointer;
  color: var(--text-faint); font-size: 12.5px; padding: 0;
}
.cart-line__remove:hover { color: #ef4444; }
.cart-clear { margin-top: 4px; }
.cart-total {
  display: flex; justify-content: space-between; align-items: center; margin-top: 12px;
  padding-top: 14px; border-top: 1px solid var(--border); font-size: 16px;
}
.cart-total strong { font-size: 22px; color: var(--accent); }
.cart-empty { text-align: center; padding: 46px 20px; }
.cart-empty__icon { color: var(--text-faint); margin-bottom: 6px; }
.cart-empty h2 { margin: 6px 0; }
@media (max-width: 760px) {
  .cart-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 64px 1fr; grid-template-areas: "img body" "qty price"; row-gap: 12px; }
  .cart-line__img { width: 64px; height: 64px; grid-area: img; }
  .cart-line__body { grid-area: body; }
  .cart-line__qty { grid-area: qty; }
  .cart-line__price { grid-area: price; }
}

/* İlan kartında "Sepete Ekle" */
.post-box__foot { padding: 0 12px 12px; }
.post-box__cart-form { width: 100%; }
.post-box__cart {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--btn-secondary-bg); border: 1px solid var(--border); color: var(--text-muted);
  font-size: 12.5px; font-weight: 700; transition: all var(--transition);
}
.post-box__cart:hover { color: #22c55e; border-color: #22c55e; }
.notif-bell.has-new .icon-btn { animation: bell-shake .6s ease; color: var(--accent-hover); }
@keyframes bell-shake { 0%,100%{transform:rotate(0)} 20%{transform:rotate(-12deg)} 40%{transform:rotate(10deg)} 60%{transform:rotate(-6deg)} 80%{transform:rotate(4deg)} }

.notif-menu { width: 340px; max-width: 92vw; padding: 0; overflow: hidden; }
.notif-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--border-subtle); }
.notif-readall { background: none; border: none; color: var(--accent); font-size: var(--fs-xs); cursor: pointer; }
.notif-readall:hover { text-decoration: underline; }
.notif-menu__list { max-height: 380px; overflow-y: auto; }
.notif-item { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-bottom: 1px solid var(--border-subtle); }
.notif-item:hover { background: var(--panel-soft); }
.notif-item--unread { background: rgba(16,185,129,.06); border-left: 3px solid var(--accent); }
.notif-item__title { color: var(--text); font-weight: var(--fw-semibold); font-size: var(--fs-sm); }
.notif-item__text { color: var(--text-muted); font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notif-item__ago { color: var(--text-faint); font-size: 11px; }
.notif-empty { padding: 26px 14px; text-align: center; color: var(--text-faint); font-size: var(--fs-sm); }
.notif-menu__foot { display: block; text-align: center; padding: 11px; color: var(--accent); font-size: var(--fs-sm); border-top: 1px solid var(--border-subtle); }
.notif-menu__foot:hover { background: var(--panel-soft); }

.user-card {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 6px;
  background: var(--btn-secondary-bg); border: 1px solid var(--border); border-radius: var(--radius-pill);
  cursor: pointer; transition: all var(--transition);
}
.user-card:hover { border-color: var(--border-hover); }
.user-card__avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-grad); color: #04140e; font-weight: 800; font-size: 15px;
}
.user-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-card__info { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.user-card__name { color: var(--text); font-weight: var(--fw-semibold); font-size: var(--fs-sm); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-card__balance { color: var(--gold); font-weight: 800; font-size: var(--fs-xs); }
.user-card .caret { color: var(--text-faint); }

@media (max-width: 720px) {
  .user-card__info { display: none; }
  .user-card { padding: 0 6px; height: 40px; }
}

/* ============================================================
 * PROFİL: üst alan hizalama + rozet + sekmeler
 * ========================================================== */
/* Üst satır kapağın ALTINDA — örtüşme yok, hepsi tek eksende hizalı */
.profile-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px 24px 22px; margin-top: 0; }
.profile-head__avatar { width: 92px; height: 92px; border-width: 3px; align-self: center; }
.profile-head__info { flex: 1 1 220px; min-width: 200px; padding-bottom: 0; align-self: center; }
.profile-head__name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.profile-head__name h1 { font-size: 22px; margin: 0; line-height: 1.2; }
.profile-head__meta { color: var(--text-muted); font-size: var(--fs-sm); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 6px; }
.profile-head__meta .dot { color: var(--text-faint); }
.profile-head__msg { margin-left: auto; align-self: center; flex: none; }

/* Profil ilan/değerlendirme listesi: header'dan ayrık + kartlar arası ferah */
.profile-grid { margin-top: 22px; gap: 22px; }
.profile-reviews-panel { margin-top: 22px; }

@media (max-width: 640px) {
  .profile-head { align-items: flex-start; gap: 12px; padding: 16px; }
  .profile-head__avatar { width: 76px; height: 76px; }
  .profile-head__msg { margin-left: 0; width: 100%; justify-content: center; }
  .profile-tabs { padding: 0 12px; }
  .profile-grid { gap: 16px; }
}

.profile-tabs { display: flex; gap: 4px; padding: 0 22px; border-top: 1px solid var(--border-subtle); margin-top: 14px; }
.profile-tab {
  display: inline-flex; align-items: center; gap: 7px; padding: 13px 16px;
  color: var(--text-muted); font-weight: var(--fw-semibold); font-size: var(--fs-sm);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.profile-tab:hover { color: var(--text); }
.profile-tab.active { color: var(--accent-hover); border-bottom-color: var(--accent); }
.profile-tab__count { background: var(--panel-black); color: var(--text-muted); font-size: 11px; padding: 1px 7px; border-radius: 50px; }
.profile-tab.active .profile-tab__count { background: var(--accent); color: #04140e; }

/* Değerlendirmeye satıcı cevabı */
.review__reply { margin-top: 8px; padding: 9px 12px; background: var(--panel-soft); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); }
.review__reply-head { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-weight: var(--fw-semibold); font-size: var(--fs-xs); margin-bottom: 3px; }
.review__reply p { color: var(--text-muted); font-size: var(--fs-sm); }
.review__reply-form { display: flex; gap: 8px; margin-top: 8px; }
.review__reply-form input { flex: 1; height: 38px; padding: 0 12px; background: var(--panel-black); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); }
.btn-sm { height: 38px; padding: 0 14px; font-size: var(--fs-sm); }

/* ============================================================
 * BİLDİRİM SAYFASI + DM başlığı
 * ========================================================== */
.notif-row { display: flex; gap: 12px; align-items: flex-start; padding: 13px 6px; border-bottom: 1px solid var(--border-subtle); }
.notif-row:last-child { border-bottom: none; }
.notif-row--unread { background: rgba(16,185,129,.05); }
.notif-row__icon { width: 40px; height: 40px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--panel-black); color: var(--accent); }
.notif-ic--sale, .notif-ic--wallet { color: var(--gold); }
.notif-ic--message { color: var(--accent-hover); }
.notif-row__body { display: flex; flex-direction: column; gap: 3px; }
.notif-row__body strong { color: var(--text); }
.notif-row__text { color: var(--text-muted); font-size: var(--fs-sm); }

.dm-head-avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-grad); color: #04140e; font-weight: 800; font-size: 15px; }
.dm-head-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dm-head-name { color: var(--text-heading); }
.dm-head-name:hover { color: var(--accent-hover); }

/* ============================================================
 * PARA ÇEKME: form üstte, talepler ayrı kartta altta
 * ========================================================== */
.withdraw-layout { display: flex; flex-direction: column; gap: 20px; }
.withdraw-layout > .panel { margin: 0; }
.withdraw-history { margin-top: 0; }

/* ============================================================
 * MENÜ HİZALAMA — tam ortala (öğe sayısından bağımsız)
 * ========================================================== */
.main-nav__inner { display: flex; justify-content: center; align-items: center; }
.nav-menu {
  margin: 0 auto;
  justify-content: center;
  flex-wrap: wrap;
  overflow: visible;
  width: auto;
}

/* ============================================================
 * ADMIN — Ejderha Parası çizgi grafiği
 * ========================================================== */
.ej-chart-wrap { width: 100%; overflow-x: auto; }
.ej-chart { width: 100%; min-width: 560px; height: auto; display: block; }
.ej-grid { stroke: var(--border-subtle); stroke-width: 1; }
.ej-area { fill: rgba(16,185,129,.14); stroke: none; }
.ej-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.ej-dot { fill: var(--accent-hover); stroke: var(--panel); stroke-width: 1.5; cursor: pointer; transition: r .1s; }
.ej-dot:hover { r: 5.5; }
.ej-xlabel { fill: var(--text-faint); font-size: 10px; text-anchor: middle; font-family: inherit; }
.ej-ymax { fill: var(--text-muted); font-size: 11px; font-family: inherit; }

/* Ejderha grafiği küçültme (override) */
.ej-chart-wrap { max-width: 560px; overflow-x: visible; }
.ej-chart { min-width: 0; max-height: 190px; }
.ej-xlabel { font-size: 9px; }

/* Admin ayarlar formu — geniş */
.settings-panel { max-width: 1100px; }
.settings-panel .form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.settings-panel .form-row > .form-group { flex: 1 1 220px; min-width: 200px; }

/* Admin doping fiyat tablosu — sade */
.doping-price-table { width: auto; }
.doping-price-table th, .doping-price-table td { padding: 7px 12px; vertical-align: middle; }
.doping-price-table td input { width: 130px; height: 38px; margin: 0; }

/* Ayarlar kartı — ortalı, dev slab değil */
.settings-panel { max-width: 900px; margin: 0 auto; }

/* Doğrulama merkezi — büyük, tek sütun (küçük 3'lü kart değil) */
.verify-steps { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; gap: 18px; }
.verify-steps > .panel { padding: 24px 26px; }
.verify-steps .verify-step__title { font-size: 19px; }
.verify-steps .verify-step__head { margin-bottom: 14px; }
@media (max-width: 640px) { .verify-steps > .panel { padding: 18px; } }

/* Tema önizleme çubuğu */
.tema-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: rgba(8,9,11,.97); border-top: 1px solid rgba(255,255,255,.12); padding: 9px 14px; font-size: 13px; color: #cfd6d3; backdrop-filter: blur(8px); display: flex; gap: 9px; align-items: center; justify-content: center; flex-wrap: wrap; }
.tema-bar a { color: var(--c); font-weight: 700; padding: 3px 11px; border: 1px solid var(--c); border-radius: 50px; white-space: nowrap; }
.tema-bar a:hover { filter: brightness(1.15); }
.tema-bar a.is-on { background: var(--c); color: #06100c; }
body:has(.tema-bar) { padding-bottom: 48px; }

/* Bahşiş hızlı tutar butonları */
.tip-quick { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.tip-quick__btn { padding: 6px 14px; border-radius: 50px; border: 1px solid var(--border); background: var(--btn-secondary-bg); color: var(--text); cursor: pointer; font-weight: 600; transition: all var(--transition); }
.tip-quick__btn:hover { border-color: var(--border-hover); color: var(--accent-hover); }

/* Admin sidebar logo görseli */
.admin-sidebar__logo-img { max-height: 42px; max-width: 100%; object-fit: contain; display: block; }

/* Admin logo: ortalı + hafif sağa */
.admin-sidebar__logo { text-align: center; }
.admin-sidebar__logo-img { margin: 0 auto; transform: translateX(6px); }
