
:root {
    /* Marka renkleri logodan birebir alindi: lacivert #182540, yesil #118B41,
       turuncu #E96409, kalkan koyu yesili #2E5B41. */
    --brand-50:  #EAEDF3;
    --brand-100: #D6DCE6;
    --brand-200: #B3BDCE;
    --brand-500: #2A3A5C;
    --brand-600: #182540;
    --brand-700: #101A2E;
    --brand-800: #0A1220;

    --accent:     #E96409;
    --accent-600: #D25A08;
    --accent-700: #B14C06;
    --accent-soft:#FDEFE4;

    /* Logodaki yesil artik gercek bir marka rengi (guven/onay/tamamlanma) */
    --green:      #118B41;
    --green-600:  #0E7436;
    --green-deep: #2E5B41;
    --green-soft: #E7F5EC;

    --ink-900: #102A43;
    --ink-800: #1e3a52;
    --ink-700: #33475b;
    --ink-500: #5B6B7B;
    --ink-400: #94A3B8;
    --ink-300: #cbd5e1;
    --ink-200: #E1E7EE;
    --ink-100: #EDF1F5;
    --ink-50:  #F6F8FB;
    --white:   #ffffff;

    --danger:  #DC2626;
    --danger-bg:#FEECEC;
    --success: #118B41;
    --success-bg:#E7F5EC;
    --warn:    #B45309;
    --warn-bg: #FFF1E4;

    --bg:      #F4F6F9;
    --surface: #ffffff;
    --border:  #E7ECF1;
    --border-strong: #d3dbe4;

    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --r-xs: 7px;
    --r-sm: 10px;
    --r:    14px;
    --r-lg: 20px;
    --r-full: 999px;

    --shadow-xs: 0 1px 2px rgba(16,42,67,.06);
    --shadow-sm: 0 1px 3px rgba(16,42,67,.06), 0 1px 2px rgba(16,42,67,.04);
    --shadow:    0 6px 16px -6px rgba(16,42,67,.16), 0 2px 6px -3px rgba(16,42,67,.10);
    --shadow-lg: 0 20px 44px -16px rgba(16,42,67,.26), 0 8px 18px -10px rgba(16,42,67,.14);
    --shadow-accent: 0 8px 20px -6px rgba(255,122,0,.42);

    --ring: 0 0 0 3px rgba(15,45,77,.16);
    --ring-accent: 0 0 0 3px rgba(255,122,0,.28);

    --container: 1200px;
    --nav-h: 68px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: 16px; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink-900);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16.5px;   /* 15px her yas icin kucuktu */
    font-feature-settings: "cv05", "ss01";
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }
a { color: var(--brand-600); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-600); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.018em; text-wrap: balance; color: var(--ink-900); }
h1 { font-size: 2rem; font-weight: 800; text-wrap: balance; }
h2 { font-size: 1.55rem; font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
::selection { background: var(--accent-soft); color: var(--accent-700); }

:focus-visible { outline: none; }
a:focus-visible, button:focus-visible, .btn:focus-visible,
.chip:focus-visible, .input:focus-visible, .select:focus-visible {
    outline: none; box-shadow: var(--ring);
}
.btn-primary:focus-visible { box-shadow: var(--ring-accent); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.muted { color: var(--ink-500); }
.small { font-size: .875rem; }
.center { text-align: center; }
.flex { display: flex; }
.gap-2 { gap: 1rem; }
.wrap { flex-wrap: wrap; }
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2.5rem}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}

.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); background: rgba(255,255,255,.9); }
.nav-inner {
    height: var(--nav-h);
    display: flex; align-items: center; gap: 20px;
    max-width: var(--container); margin-inline: auto; padding-inline: 22px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.18rem; color: var(--ink-900); white-space: nowrap; letter-spacing: -.02em; }
.brand:hover { color: var(--ink-900); }
.brand-logo {
    height: 44px; width: auto; flex: none;
    display: inline-grid; place-items: center;
    transition: transform .15s ease;
}
.brand { font-size: 1.24rem; }
.brand:hover .brand-logo { transform: translateY(-1px) scale(1.04); }
.brand-logo img { height: 44px; width: auto; object-fit: contain; display: block; }
.footer-brand .brand-logo { height: auto; background: #fff; border-radius: 11px; padding: 6px 9px; box-shadow: var(--shadow-xs); }
.footer-brand .brand-logo img { height: 30px; }
.brand b { color: var(--accent); }

.nav-search { flex: 1 1 260px; min-width: 220px; max-width: 540px; position: relative; }
.nav-search input {
    width: 100%; height: 48px; border: 1px solid var(--border-strong);
    border-radius: var(--r-full); padding: 0 46px 0 18px; font-size: .95rem;
    background: var(--ink-50); transition: .18s; color: var(--ink-900);
}
.nav-search input::placeholder { color: var(--ink-400); }
.nav-search input:focus { outline: none; border-color: var(--brand-500); background: #fff; box-shadow: var(--ring); }
.nav-search button {
    position: absolute; right: 6px; top: 7px; width: 34px; height: 34px;
    border: none; border-radius: var(--r-full); background: var(--brand-600); color: #fff;
    display: grid; place-items: center; cursor: pointer; transition: .15s;
}
.nav-search button:hover { background: var(--accent); }

.nav-suggest {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
    background: #fff; border: 1px solid var(--border-strong); border-radius: 14px;
    box-shadow: var(--shadow-lg, 0 12px 32px rgba(0,0,0,.14)); padding: 6px; overflow: hidden;
}
.nav-suggest-item {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
    width: 100%; text-align: left; border: none; background: none; cursor: pointer;
    padding: 8px 12px; border-radius: 9px; font: inherit;
}
.nav-suggest-item:hover, .nav-suggest-item.active { background: var(--brand-50); }
.nav-suggest-item .nsi-name { font-weight: 600; color: var(--ink-900); font-size: .92rem; }
.nav-suggest-item .nsi-path { font-size: .76rem; color: var(--ink-400); }

.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-link { white-space: nowrap; padding: 9px 13px; border-radius: var(--r-sm); color: var(--ink-700); font-weight: 600; font-size: .9rem; transition: .15s; }
.nav-link:hover { background: var(--ink-100); color: var(--ink-900); }

.icon-btn {
    position: relative; width: 46px; height: 46px; border-radius: var(--r-full);
    display: grid; place-items: center; color: var(--ink-700); background: transparent; border: none; cursor: pointer; transition: .15s;
}
.icon-btn:hover { background: var(--ink-100); color: var(--ink-900); }
.icon-btn .dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; border: 2px solid #fff; }

.avatar {
    width: 36px; height: 36px; border-radius: var(--r-full); flex: none;
    background: linear-gradient(140deg, var(--brand-500), var(--brand-700));
    color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}

.menu { position: relative; }
.menu-panel {
    position: absolute; right: 0; top: calc(100% + 10px); min-width: 232px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--r);
    box-shadow: var(--shadow-lg); padding: 7px; display: none;
    animation: pop .16s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.menu.open .menu-panel { display: block; }
.menu-panel a, .menu-panel button {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink-700);
    font-size: .9rem; font-weight: 600; background: none; border: none; cursor: pointer; text-align: left; transition: .12s;
}
.menu-panel a:hover, .menu-panel button:hover { background: var(--ink-50); color: var(--brand-600); }
.menu-head { padding: 10px 12px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.menu-head .name { font-weight: 700; }
.menu-sep { height: 1px; background: var(--border); margin: 5px 0; }

.btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 20px; border-radius: var(--r-sm); border: 1px solid transparent;
    font-family: inherit; font-size: .92rem; font-weight: 700; cursor: pointer;
    transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s;
    white-space: nowrap; letter-spacing: -.01em;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-600); color: #fff; box-shadow: 0 10px 24px -6px rgba(255,122,0,.5); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-accent { background: var(--brand-600); color: #fff; box-shadow: 0 6px 16px -6px rgba(15,45,77,.5); }
.btn-accent:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--border-strong); color: var(--ink-700); }
.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand-600); background: var(--ink-50); }
.btn-block { width: 100%; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 1rem; border-radius: var(--r); }
.btn-sm { height: 36px; padding: 0 14px; font-size: .82rem; }

.badge {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px;
    border-radius: var(--r-full); font-size: .72rem; font-weight: 700; line-height: 1.5;
    letter-spacing: .01em;
}
.badge-boost { background: var(--accent); color: #fff; box-shadow: 0 3px 8px -2px rgba(255,122,0,.5); }
.badge-free  { background: var(--success-bg); color: var(--success); }
.badge-new   { background: var(--brand-100); color: var(--brand-600); }
.badge-adult { background: var(--danger-bg); color: var(--danger); }
.badge-muted { background: rgba(255,255,255,.92); color: var(--ink-700); box-shadow: var(--shadow-xs); }
.badge-verified { background: #eaf1fb; color: #2563eb; }

.chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px;
    border-radius: var(--r-full); background: #fff; border: 1px solid var(--border-strong);
    color: var(--ink-700); font-weight: 600; font-size: .85rem; white-space: nowrap; transition: .15s; cursor: pointer;
}
.chip:hover { border-color: var(--brand-500); color: var(--brand-600); background: var(--ink-50); }
.chip.active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

.hero {
    position: relative;
    background:
        radial-gradient(900px 380px at 88% -12%, rgba(255,122,0,.14), transparent 62%),
        radial-gradient(760px 420px at -5% 118%, rgba(15,45,77,.12), transparent 58%),
        linear-gradient(180deg, #ffffff, #F4F6F9);
    border-bottom: 1px solid var(--border);
    padding: 72px 0 60px;
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 44px 44px; opacity: .35;
    -webkit-mask-image: radial-gradient(600px 300px at 80% 0%, #000, transparent 70%);
    mask-image: radial-gradient(600px 300px at 80% 0%, #000, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.hero h1 { font-size: 3rem; letter-spacing: -.03em; line-height: 1.08; }
.hero .slogan { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--brand-600); padding: 7px 15px; border-radius: var(--r-full); font-weight: 700; font-size: .84rem; margin-bottom: 20px; border: 1px solid var(--border); box-shadow: var(--shadow-xs); }
.hero .lead { font-size: 1.14rem; color: var(--ink-700); max-width: 48ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats { display: flex; gap: 0; margin-top: 38px; }
.hero-stats > div { padding-right: 28px; }
.hero-stats > div + div { padding-left: 28px; border-left: 1px solid var(--border-strong); }
.hero-stats .n { font-size: 1.7rem; font-weight: 800; color: var(--brand-600); letter-spacing: -.02em; }
.hero-stats .l { font-size: .82rem; color: var(--ink-500); }
.hero-art { position: relative; }
.hero-panel {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, #ffffff, var(--ink-50));
    border: 1px solid var(--border); border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg); padding: 22px;
}
.hero-panel::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(340px 170px at 100% -12%, rgba(255,122,0,.12), transparent 62%),
        radial-gradient(320px 210px at -12% 120%, rgba(22,163,74,.12), transparent 60%);
}
.hero-panel-head {
    position: relative; display: flex; align-items: center; gap: 13px;
    padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border);
}
.hp-logo {
    width: 56px; height: 56px; border-radius: 15px; flex: none; overflow: hidden;
    background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-xs);
    display: grid; place-items: center;
}
.hp-logo img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.12); }
.hp-headtext { display: flex; flex-direction: column; line-height: 1.22; }
.hp-title { font-weight: 800; font-size: 1.14rem; color: var(--ink-900); letter-spacing: -.02em; }
.hp-sub { font-size: .82rem; color: var(--ink-500); }
.hp-verified {
    margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
    background: var(--success-bg); color: var(--success); font-weight: 700;
    font-size: .74rem; padding: 5px 11px; border-radius: var(--r-full);
}
.hp-verified svg { width: 14px; height: 14px; }
.hp-list { position: relative; display: grid; gap: 13px; }
.hp-item { display: flex; align-items: center; gap: 13px; }
.hp-ico { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; }
.hp-ico svg { width: 22px; height: 22px; }
.hp-navy { background: var(--brand-50); color: var(--brand-600); }
.hp-green { background: var(--success-bg); color: var(--success); }
.hp-orange { background: var(--accent-soft); color: var(--accent-700); }
.hp-text { display: flex; flex-direction: column; line-height: 1.3; }
.hp-text b { font-weight: 700; color: var(--ink-900); font-size: .96rem; }
.hp-text span { font-size: .82rem; color: var(--ink-500); }

.section { padding: 52px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-head .sub { color: var(--ink-500); margin: 5px 0 0; }

.cat-scroller { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.cat-tile {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--r); padding: 15px 16px; display: flex; align-items: center; gap: 13px;
    transition: transform .15s, box-shadow .18s, border-color .18s; box-shadow: var(--shadow-xs);
}
.cat-tile:hover { border-color: var(--brand-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-ico { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); transition: .18s; }
.cat-ico svg { width: 24px; height: 24px; }
.cat-tile:hover .cat-ico { background: var(--accent-soft); color: var(--accent-700); }
.cat-tile .name { font-weight: 700; color: var(--ink-900); font-size: .95rem; }
.cat-tile .fee { font-size: .78rem; color: var(--ink-500); }

/* Ana sayfa kategori rayı (yatay kaydırma) */
.cat-rail-wrap { position: relative; }
.cat-rail {
    display: flex; gap: 12px; overflow-x: auto; scroll-behavior: smooth;
    padding: 4px 2px 14px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent;
}
.cat-rail::-webkit-scrollbar { height: 8px; }
.cat-rail::-webkit-scrollbar-track { background: transparent; }
.cat-rail::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
.cat-chip {
    flex: 0 0 auto; width: 116px; scroll-snap-align: start;
    background: #fff; border: 1px solid var(--border); border-radius: 16px;
    padding: 16px 10px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px;
    text-align: center; box-shadow: var(--shadow-xs);
    transition: transform .15s, box-shadow .18s, border-color .18s;
}
.cat-chip:hover { border-color: var(--brand-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-chip .cat-ico { width: 54px; height: 54px; }
.cat-chip .cat-ico svg { width: 26px; height: 26px; }
.cat-chip:hover .cat-ico { background: var(--accent-soft); color: var(--accent-700); }
.cat-chip .name { font-weight: 700; color: var(--ink-900); font-size: .86rem; line-height: 1.2; }
.cat-rail-nav {
    position: absolute; top: calc(50% - 16px); transform: translateY(-50%); z-index: 2;
    width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border);
    background: rgba(255,255,255,.96); box-shadow: var(--shadow); color: var(--ink-700);
    display: grid; place-items: center; cursor: pointer; transition: .15s;
}
.cat-rail-nav:hover { border-color: var(--brand-200); color: var(--brand-700); box-shadow: var(--shadow-lg); }
.cat-rail-nav svg { width: 20px; height: 20px; }
.cat-rail-nav.prev { left: -8px; }
.cat-rail-nav.next { right: -8px; }
.cat-rail-nav[hidden] { display: none; }
@media (max-width: 720px) { .cat-rail-nav { display: none; } }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
    overflow: hidden; box-shadow: var(--shadow-xs);
    transition: transform .16s ease, box-shadow .2s ease, border-color .2s; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--border-strong); }
.card-media { position: relative; aspect-ratio: 4/3; background: var(--ink-100); overflow: hidden; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,42,67,.16), transparent 32%); pointer-events: none; }
.card:hover .card-media img { transform: scale(1.05); }
.card-flags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.card-fav {
    position: absolute; top: 9px; right: 9px; width: 36px; height: 36px; border-radius: var(--r-full);
    background: rgba(255,255,255,.94); border: none; display: grid; place-items: center; cursor: pointer; color: var(--ink-500);
    z-index: 1; box-shadow: var(--shadow-xs); transition: .15s;
}
.card-fav:hover { color: var(--danger); transform: scale(1.08); }
.card-fav.on { color: var(--danger); }
.card-body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .72rem; font-weight: 700; color: var(--accent-600); text-transform: uppercase; letter-spacing: .05em; }
.card-title { font-weight: 700; color: var(--ink-900); font-size: .98rem; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; transition: color .15s; }
.card:hover .card-title { color: var(--brand-600); }
.card-meta { display: flex; align-items: center; gap: 12px; color: var(--ink-500); font-size: .8rem; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--ink-100); }
.card-meta span { display: inline-flex; align-items: center; gap: 4px; }

.field { margin-bottom: 17px; }
.field label { display: block; font-weight: 600; font-size: .87rem; margin-bottom: 7px; color: var(--ink-700); }
.input, .select, textarea.input {
    width: 100%; height: 48px; border: 1px solid var(--border-strong); border-radius: var(--r-sm);
    padding: 0 15px; font-family: inherit; font-size: .95rem; background: #fff; color: var(--ink-900); transition: .16s;
}
.input::placeholder, textarea.input::placeholder { color: var(--ink-400); }
textarea.input { height: auto; padding: 13px 15px; resize: vertical; min-height: 112px; }
.input:focus, .select:focus, textarea.input:focus { outline: none; border-color: var(--brand-500); box-shadow: var(--ring); }
.field-hint { font-size: .8rem; color: var(--ink-500); margin-top: 6px; }
.field-error { font-size: .82rem; color: var(--danger); margin-top: 6px; display: block; font-weight: 500; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.validation-summary-valid { display: none; }
.field-validation-valid { display: none; }
.input-validation-error { border-color: var(--danger) !important; box-shadow: 0 0 0 3px var(--danger-bg) !important; }

.auth-wrap { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; padding: 44px 20px;
    background: radial-gradient(700px 340px at 50% -8%, var(--brand-50), transparent 70%); }
.auth-card { width: 100%; max-width: 448px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 36px; }
.auth-card h1 { font-size: 1.65rem; }
.auth-alt { text-align: center; margin-top: 20px; color: var(--ink-500); font-size: .9rem; }

.alert { padding: 13px 16px; border-radius: var(--r-sm); font-size: .9rem; font-weight: 500; margin-bottom: 16px; display: flex; gap: 11px; align-items: flex-start; }
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.alert-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #f6cccc; }
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #a7f3d0; }
.alert-info { background: var(--brand-50); color: var(--brand-600); border: 1px solid var(--brand-200); }
.alert-warn { background: var(--warn-bg); color: var(--warn); border: 1px solid #fcd9b6; }

.breadcrumb { font-size: .85rem; color: var(--ink-500); margin: 22px 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-500); }
.breadcrumb a:hover { color: var(--brand-600); }
.detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: start; }
.gallery-main { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: #fff; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: var(--ink-50); cursor: zoom-in; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; display: grid; place-items: center; border: none; border-radius: 999px; background: rgba(255,255,255,.85); color: var(--ink-900); box-shadow: var(--shadow-sm); cursor: pointer; transition: .15s; }
.gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gallery-nav svg { width: 22px; height: 22px; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-zoom { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: none; border-radius: 999px; background: rgba(255,255,255,.85); color: var(--ink-900); box-shadow: var(--shadow-sm); cursor: zoom-in; transition: .15s; }
.gallery-zoom:hover { background: #fff; }
.gallery-zoom svg { width: 20px; height: 20px; }
body.no-scroll { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(15,23,42,.92); padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; border-radius: var(--r-sm); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: 18px; right: 20px; width: 44px; height: 44px; font-size: 20px; border: none; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; transition: .15s; }
.lightbox-close:hover { background: rgba(255,255,255,.28); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; display: grid; place-items: center; border: none; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; transition: .15s; }
.lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-nav svg { width: 26px; height: 26px; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs img { width: 78px; height: 78px; border-radius: var(--r-sm); object-fit: cover; border: 2px solid transparent; cursor: pointer; transition: .15s; }
.gallery-thumbs img.active, .gallery-thumbs img:hover { border-color: var(--accent); }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-xs); }
.panel + .panel { margin-top: 20px; }
.kv { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--ink-100); font-size: .9rem; }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--ink-500); }
.kv .v { font-weight: 600; }
.owner-row { display: flex; align-items: center; gap: 12px; }
.wanted-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.wanted-list li { display: flex; align-items: center; gap: 10px; padding: 11px 13px; background: var(--brand-50); border-radius: var(--r-sm); font-weight: 600; color: var(--brand-700); }
.wanted-list li svg { color: var(--success); flex: none; }

.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 15px; margin-bottom: 24px; box-shadow: var(--shadow-xs); }
.toolbar .select, .toolbar .input { height: 44px; width: auto; min-width: 168px; }
.toolbar .grow { flex: 1; min-width: 200px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 36px; }
.pager a, .pager span {
    min-width: 42px; height: 42px; padding: 0 13px; display: grid; place-items: center;
    border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: #fff; color: var(--ink-700); font-weight: 600; transition: .15s;
}
.pager a:hover { border-color: var(--brand-500); color: var(--brand-600); background: var(--ink-50); }
.pager .current { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.pager .disabled { opacity: .45; pointer-events: none; }

.empty { text-align: center; padding: 68px 20px; color: var(--ink-500); }
.empty svg { width: 56px; height: 56px; color: var(--ink-300); margin-bottom: 14px; }
.empty h3 { color: var(--ink-700); }

.profile-head { display: flex; align-items: center; gap: 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-xs); flex-wrap: wrap;
    background-image: radial-gradient(400px 160px at 100% 0%, var(--brand-50), transparent 70%); }
.profile-avatar { width: 88px; height: 88px; border-radius: var(--r-full); font-size: 1.9rem; box-shadow: var(--shadow-sm); }
.stat-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 12px; }
.stat-row .s { text-align: center; }
.stat-row .n { font-size: 1.35rem; font-weight: 800; color: var(--brand-600); }
.stat-row .l { font-size: .78rem; color: var(--ink-500); }
.stars { color: var(--accent); letter-spacing: 2px; }

.trade-steps { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; }
.trade-steps .ts { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative; text-align: center; }
.trade-steps .ts:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: 50%; width: 100%; height: 2px; background: var(--border-strong); z-index: 0; }
.trade-steps .ts.done:not(:last-child)::after { background: var(--success); }
.trade-steps .ts-dot { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: var(--r-full); display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: #fff; border: 2px solid var(--border-strong); color: var(--ink-500); }
.trade-steps .ts.done .ts-dot { background: var(--success); border-color: var(--success); color: #fff; }
.trade-steps .ts-label { font-size: .78rem; font-weight: 600; color: var(--ink-500); }
.trade-steps .ts.done .ts-label { color: var(--ink-700); }

.chat-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px; max-height: 56vh; min-height: 240px; overflow-y: auto; background: var(--ink-50); }
.msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 78%; }
.msg.mine { align-self: flex-end; align-items: flex-end; }
.msg-bubble { background: #fff; border: 1px solid var(--border); padding: 9px 13px; border-radius: 14px; border-bottom-left-radius: 4px; font-size: .92rem; line-height: 1.45; white-space: pre-wrap; word-break: break-word; box-shadow: var(--shadow-xs); }
.msg.mine .msg-bubble { background: var(--brand-600); color: #fff; border-color: var(--brand-600); border-bottom-left-radius: 14px; border-bottom-right-radius: 4px; }
.msg-time { font-size: .68rem; color: var(--ink-400); margin-top: 3px; padding: 0 4px; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: #fff; }
.chat-input input { flex: 1; height: 44px; border: 1px solid var(--border-strong); border-radius: var(--r-full); padding: 0 18px; font-size: .95rem; }
.chat-input input:focus { outline: none; border-color: var(--brand-500); box-shadow: var(--ring); }
.chat-input .btn { width: 44px; height: 44px; padding: 0; border-radius: var(--r-full); flex: none; }

.icon-btn .dot { position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: var(--r-full); background: var(--accent); color: #fff; font-size: .64rem; font-weight: 800; display: grid; place-items: center; line-height: 1; box-shadow: 0 0 0 2px #fff; }

.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; font-size: 1.9rem; line-height: 1; }
.star-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-input label { color: var(--border-strong); cursor: pointer; transition: color .12s; }
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label { color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-xs); transition: transform .15s, box-shadow .18s; overflow: hidden; }
.step::after { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--accent); transition: height .25s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step:hover::after { height: 100%; }
.step .num { width: 40px; height: 40px; border-radius: var(--r-full); background: linear-gradient(140deg, var(--brand-500), var(--brand-700)); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 13px; box-shadow: var(--shadow-sm); }
.step h3 { font-size: 1rem; }
.step p { margin: 0; font-size: .88rem; color: var(--ink-500); }

.footer { background: var(--brand-700); color: #b9c6d6; margin-top: 64px; padding: 52px 0 30px;
    background-image: radial-gradient(600px 240px at 90% 0%, rgba(255,122,0,.10), transparent 60%); }
.footer a { color: #cbd5e1; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 15px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .88rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 13px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #8ba0b5; }

@media (max-width: 1024px) {
    /* Menu daralinca once ikincil metin linkleri gizlenir ki arama kutusu ezilmesin */
    .nav-link.hide-sm { display: none; }

    .grid { grid-template-columns: repeat(3, 1fr); }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { display: none; }
    .hero h1 { font-size: 2.6rem; }
    .steps { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    /* Arama mobilde gizleniyordu; sitenin ana islevi gorunmez oluyordu.
       Artik logonun altinda tam genislikte kendi satirinda. */
    .nav-inner { height: auto; flex-wrap: wrap; row-gap: 10px; padding-block: 10px; gap: 10px; }
    .nav-search { order: 3; flex: 1 0 100%; max-width: none; }
    .brand { font-size: 1.05rem; }
    .brand-logo, .brand-logo img { height: 36px; }
    .grid, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .detail-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.15rem; }
    .hero { padding: 48px 0 40px; }
    .section { padding: 38px 0; }
    .nav-link.hide-sm { display: none; }
    .row-2 { grid-template-columns: 1fr; }
    .hero-stats > div { padding-right: 18px; }
    .hero-stats > div + div { padding-left: 18px; }
}
@media (max-width: 460px) {
    /* Dar ekranda logo yazisini gizle, sembol kalsin: logo + butonlar tek satira sigsin. */
    .brand > span:last-child { display: none; }
    /* Baslik "et" gibi tek kelimeyi alt satira atmasin */
    .hero h1 { font-size: 1.85rem; text-wrap: balance; }
    .hero .lead { font-size: 1rem; }
    .nav-inner { gap: 8px; }
    .nav-actions { gap: 4px; }

    .grid, .grid-3 { grid-template-columns: 1fr 1fr; gap: 11px; }
    .card-title { font-size: .88rem; }
    .hero-stats .n { font-size: 1.4rem; }
}

/* ── İlan listeleme: filtre paneli + sonuçlar ── */
.shop-layout { display: grid; grid-template-columns: 268px 1fr; gap: 24px; align-items: start; margin-bottom: 24px; }

.filter-panel { position: sticky; top: 84px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs); max-height: calc(100vh - 104px); overflow-y: auto; overscroll-behavior: contain; }
.filter-panel-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 2; }
.filter-panel-head h3 { margin: 0; font-size: 1.02rem; }
.filter-clear { margin-left: auto; font-size: .82rem; font-weight: 600; color: var(--accent); }
.filter-clear:hover { text-decoration: underline; }
.filter-close { display: none; margin-left: auto; background: none; border: none; font-size: 1.1rem; color: var(--ink-500); cursor: pointer; padding: 2px 6px; }

.filter-group { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: none; }
.filter-group-title { font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 10px; }

.filter-cat { display: flex; flex-direction: column; gap: 1px; }
.filter-cat-item { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px; font-size: .9rem; color: var(--ink-700); line-height: 1.25; }
a.filter-cat-item:hover { background: var(--ink-50); color: var(--brand-600); }
.filter-cat-item.root { font-weight: 700; color: var(--brand-600); }
.filter-cat-item.ancestor { color: var(--ink-500); padding-left: 22px; font-size: .85rem; }
.filter-cat-item.active { background: var(--brand-50); color: var(--brand-600); font-weight: 700; }
.filter-cat-item.child { justify-content: space-between; padding-left: 22px; }
.filter-cat-item.child > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-cat-item .fc-back { width: 15px; height: 15px; flex: none; }
.filter-cat-item .fc-next { width: 15px; height: 15px; flex: none; color: var(--ink-400); }
.filter-cat-item .fc-ico { width: 18px; height: 18px; flex: none; display: inline-grid; place-items: center; }

.pay-head { text-align: center; margin-bottom: 18px; }
.pay-lock { display: inline-flex; align-items: center; gap: 7px; background: var(--success-bg); color: var(--success); font-weight: 700; font-size: .78rem; padding: 6px 13px; border-radius: var(--r-full); letter-spacing: .02em; }
.pay-lock svg { width: 14px; height: 14px; }
.pay-title { font-size: 1.5rem; margin: 14px 0 4px; }
.pay-sub { color: var(--ink-500); font-size: .9rem; max-width: 40ch; margin: 0 auto; }
.pay-amount { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 16px 0 4px; }
.pay-amount b { font-size: 2rem; color: var(--brand-700); font-weight: 800; letter-spacing: -.02em; }
.pay-amount span { color: var(--ink-500); font-size: .9rem; }
.pay-card-visual { position: relative; }
.pay-card-visual .pay-brand { position: absolute; right: 14px; top: 38px; font-weight: 800; font-style: italic; color: var(--ink-400); letter-spacing: .04em; font-size: .95rem; pointer-events: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input.mono { font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.pay-secure-note { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--ink-500); font-size: .8rem; margin-top: 14px; }
.pay-secure-note svg { width: 14px; height: 14px; flex: none; color: var(--success); }

.pay-result { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 40px 28px; }
.pay-result__icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; }
.pay-result__icon svg { width: 38px; height: 38px; }
.pay-result--ok .pay-result__icon { background: var(--success-bg); color: var(--success); }
.pay-result--fail .pay-result__icon { background: var(--danger-bg); color: var(--danger); }
.pay-result__title { font-size: 1.5rem; margin: 0 0 6px; }
.pay-result__msg { color: var(--ink-500); font-size: .94rem; margin: 0 auto 22px; max-width: 34ch; }
.pay-result__box { text-align: left; background: var(--brand-50, #f6f8fb); border: 1px solid var(--border); border-radius: var(--r); padding: 6px 16px; margin-bottom: 22px; }
.pay-result__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--border); }
.pay-result__row:last-child { border-bottom: 0; }
.pay-result__row span { color: var(--ink-500); font-size: .86rem; }
.pay-result__row strong { font-weight: 700; }
.pay-result__row code { font-size: .78rem; color: var(--ink-700); background: #fff; border: 1px solid var(--border); padding: 3px 7px; border-radius: 6px; }
.pay-result__row--err strong { color: var(--danger); }
.filter-cat-item .fc-ico svg { width: 18px; height: 18px; }
.filter-hint { font-size: .8rem; color: var(--ink-400); margin: 6px 4px 0; line-height: 1.4; }

.shop-results { min-width: 0; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 11px 15px; margin-bottom: 16px; box-shadow: var(--shadow-xs); }
.shop-count { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--ink-700); }
.shop-count strong { color: var(--brand-600); }
.filter-toggle { display: none; }
.shop-sort { display: flex; align-items: center; gap: 8px; }
.shop-sort .select { height: 40px; width: auto; min-width: 190px; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.afilter { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--r-full);
    background: var(--brand-50); color: var(--brand-600); font-size: .84rem; font-weight: 600; border: 1px solid transparent; }
.afilter:hover { border-color: var(--brand-500); }
.afilter span { font-size: .78rem; opacity: .7; }
.afilter-clear { background: #fff; border: 1px solid var(--border-strong); color: var(--ink-500); }
.afilter-clear:hover { color: var(--danger); border-color: var(--danger); }

.shop-results .shop-cards { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

.filter-backdrop { display: none; }

/* ── İlan ver: kategori arama seçici ── */
.cat-picker { position: relative; }

.field-suggest {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
    background: #fff; border: 1px solid var(--border-strong); border-radius: 14px;
    box-shadow: var(--shadow-lg); padding: 6px; max-height: 320px; overflow-y: auto;
}
.field-suggest-item {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
    width: 100%; text-align: left; border: none; background: none; cursor: pointer;
    padding: 9px 12px; border-radius: 9px; font: inherit;
}
.field-suggest-item:hover, .field-suggest-item.active { background: var(--brand-50); }
.field-suggest-item .fsi-name { font-weight: 600; color: var(--ink-900); font-size: .93rem; }
.field-suggest-item .fsi-path { font-size: .77rem; color: var(--ink-400); }

.input-error { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(220,38,38,.12) !important; }

@media (max-width: 960px) {
    .shop-layout { grid-template-columns: 1fr; }
    .filter-toggle { display: inline-flex; }
    .filter-panel { position: fixed; inset: 0 auto 0 0; top: 0; width: min(340px, 88vw); max-height: none; height: 100%;
        border-radius: 0; z-index: 120; transform: translateX(-100%); transition: transform .22s ease; box-shadow: var(--shadow-lg); }
    .filter-panel.open { transform: translateX(0); }
    .filter-close { display: block; }
    .filter-backdrop.show { display: block; position: fixed; inset: 0; background: rgba(16,42,67,.42); z-index: 110; }
}
@media (max-width: 460px) {
    .shop-results .shop-cards { grid-template-columns: 1fr 1fr; gap: 11px; }
    .shop-sort .select { min-width: 150px; }
}

/* Şifre göster/gizle (göz) */
.pw-field { position: relative; }
.pw-field .input { padding-right: 46px; }
.pw-toggle {
    position: absolute; top: 0; right: 0; height: 100%; width: 44px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: 0; cursor: pointer; color: #8a94a6; padding: 0;
}
.pw-toggle:hover { color: #334155; }
.pw-toggle svg { width: 20px; height: 20px; }

/* İstek satırı: kategori seçici + kaldır butonu */
.wanted-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: start; }
.wanted-row .cat-picker { position: relative; }
.wanted-row [data-wanted-remove] { height: 48px; padding-inline: 12px; color: var(--ink-500); }
.wanted-row [data-wanted-remove]:hover { color: var(--danger); background: var(--danger-bg); }
