@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 100 1000; src: url(fonts/dm-sans-latin-ext-opsz-normal.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; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 100 1000; src: url(fonts/dm-sans-latin-opsz-normal.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; }
:root {
  --ink: #000000;
  --paper: #ffffff;
  --soft: #f7f7f7;
  --line: #e6e6e6;
  --mute: #e9e9e9;
  --rose: #d4737f;
  --pink: #e9aac9;
  --blue: #aed9e4;
  --green: #b7cea6;
  --grad: linear-gradient(90deg, #d4737f 0%, #e9aac9 35%, #aed9e4 68%, #b7cea6 100%);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.45;
}
a { color: var(--ink); }
a:hover { color: #333333; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Yapı */
.page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.col { width: 100%; max-width: 520px; margin: 0 auto; padding: 16px 20px 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.col-center { justify-content: center; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-s { display: flex; flex-direction: column; gap: 8px; }
.push { margin-top: auto; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.two { display: flex; gap: 12px; }
.two > * { flex: 1; min-width: 0; }

/* Üst bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.logo { display: block; height: 40px; width: auto; }
.back { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 14px; font-weight: 500; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 999px; background: var(--mute); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.dot { position: absolute; right: 9px; top: 9px; width: 9px; height: 9px; border-radius: 999px; background: var(--rose); }

/* Tipografi */
.h1 { font-size: 28px; line-height: 1.2; font-weight: 500; letter-spacing: -0.04em; }
.h1-xl { font-size: 40px; line-height: 1.05; font-weight: 500; letter-spacing: -0.04em; }
.h2 { font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -0.04em; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.lead { font-size: 16px; line-height: 1.5; }
.small { font-size: 13px; line-height: 1.4; }
.strong { font-weight: 500; }
.big { font-size: 56px; line-height: 1.05; font-weight: 500; letter-spacing: -0.04em; }
.mid { font-size: 28px; line-height: 1.1; font-weight: 500; letter-spacing: -0.04em; }
.pre { white-space: pre-line; }
.break { overflow-wrap: anywhere; }

/* Kartlar */
.card { background: var(--soft); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.card-line { border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.card-dark { background: var(--ink); color: var(--paper); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.card-dark a { color: var(--paper); }
a.card, a.card-line, a.card-dark { text-decoration: none; }
a.card-dark:hover, .card-dark a:hover { color: var(--paper); }
a.card:hover, a.card-line:hover { color: var(--ink); }
.kv { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; border-top: 1px solid var(--line); }
.kv:first-child { border-top: 0; }
.kv > :first-child { font-size: 14px; font-weight: 500; flex-shrink: 0; }
.kv > :last-child { text-align: right; overflow-wrap: anywhere; }
.list li { margin: 0 0 6px; }
.list { margin: 0; padding-left: 20px; }

/* Rozetler */
.pill { width: fit-content; max-width: 100%; display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: var(--mute); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.pill-pink { background: var(--pink); }
.pill-blue { background: var(--blue); }
.pill-green { background: var(--green); }
.pill-dark { background: var(--ink); color: var(--paper); }
.pill-grad { background: var(--grad); }
.pill-line { background: transparent; border: 1px solid var(--ink); letter-spacing: 0; text-transform: none; font-size: 14px; font-weight: 500; padding: 6px 12px; }

/* Düğmeler */
.btn { height: 56px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 16px; font-weight: 500; display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; cursor: pointer; flex-shrink: 0; }
.btn:hover { color: var(--paper); background: #222222; }
.btn-grey { background: var(--mute); color: var(--ink); }
.btn-grey:hover { background: #dddddd; color: var(--ink); }
.btn-line { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover { background: var(--soft); color: var(--ink); }
.btn-white { background: var(--paper); color: var(--ink); }
.btn-white:hover { background: var(--soft); color: var(--ink); }
.btn-ring { border: 3px solid transparent; background: linear-gradient(#000000, #000000) padding-box, var(--grad) border-box; }
.btn-ring:hover { background: linear-gradient(#222222, #222222) padding-box, var(--grad) border-box; }
.btn-s { height: 44px; padding: 0 18px; font-size: 14px; }
.btn-m { height: 48px; font-size: 15px; }
.linkbtn { min-height: 44px; display: inline-flex; align-items: center; background: none; border: 0; padding: 0; font-size: 15px; font-weight: 500; text-decoration: underline; cursor: pointer; }
.center { align-self: center; justify-content: center; }
.navrow { min-height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; font-size: 15px; font-weight: 500; }
.navrow:hover { background: var(--soft); }

/* Formlar */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 14px; font-weight: 500; }
.input, .select, .textarea { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 12px; background: var(--paper); font-size: 16px; }
.select { padding: 0 12px; }
.textarea { height: 110px; padding: 12px 16px; resize: vertical; }
.hint { font-size: 13px; line-height: 1.4; }
.err { font-size: 13px; line-height: 1.4; font-weight: 500; color: #9b1c31; }
.field.bad .input, .field.bad .select, .field.bad .textarea { border-color: #9b1c31; border-width: 2px; }
.checks { background: var(--soft); border-radius: 20px; padding: 8px 16px; display: flex; flex-direction: column; gap: 4px; }
.check { min-height: 52px; display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input { flex-shrink: 0; width: 22px; height: 22px; accent-color: #000000; }
.flash { padding: 14px 16px; border-radius: 16px; background: var(--green); font-size: 15px; font-weight: 500; }
.flash.err-flash { background: var(--pink); color: var(--ink); }

/* Ürün seçimi */
.prod { position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 20px; cursor: pointer; }
.prod input { position: absolute; opacity: 0; pointer-events: none; }
.prod:has(input:checked) { border: 2px solid var(--ink); padding: 9px 13px; }
.prod:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.prod.off { opacity: 0.55; cursor: default; }
.prod-img { flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.prod-img img { max-width: 44px; max-height: 50px; display: block; }
.prod-name { flex: 1; font-size: 16px; font-weight: 500; line-height: 1.3; }
.tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; color: var(--paper); }
.prod:has(input:checked) .tick { background: var(--ink); }

/* Adımlar */
.step { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.step-ic { flex-shrink: 0; width: 28px; height: 28px; border-radius: 999px; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.step.done .step-ic { background: var(--ink); color: var(--paper); }
.step.now { font-weight: 500; }
.bar { height: 8px; border-radius: 999px; background: #333333; overflow: hidden; }
.bar > span { display: block; height: 8px; border-radius: 999px; background: var(--grad); min-width: 4%; }
.path { min-height: 60px; padding: 8px 16px; border-radius: 20px; border: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.path.final { border: 2px solid var(--ink); padding: 12px 16px; }
.path-n { flex-shrink: 0; min-width: 52px; height: 34px; padding: 0 10px; border-radius: 999px; background: var(--mute); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.path.reached .path-n { background: var(--ink); color: var(--paper); }
.path.final .path-n { background: var(--grad); color: var(--ink); }

/* Üretici kabuğu */
.shell-top { display: none; }
.tabbar { position: sticky; bottom: 0; display: flex; border-top: 1px solid var(--line); background: var(--paper); z-index: 5; }
.tabbar a { flex: 1; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; font-size: 12px; }
.tabbar a.on { font-weight: 700; background: var(--grad) no-repeat top / 100% 3px; }
.panel-grid { display: flex; flex-direction: column; gap: 16px; }

@media (min-width: 900px) {
  .shell-top { display: flex; align-items: center; gap: 36px; height: 72px; padding: 0 48px; border-bottom: 1px solid var(--line); }
  .shell-top nav { display: flex; gap: 26px; }
  .shell-top nav a { height: 72px; display: flex; align-items: center; text-decoration: none; font-size: 15px; font-weight: 500; }
  .shell-top nav a.on { font-weight: 700; background: var(--grad) no-repeat bottom / 100% 3px; }
  .shell-top .right { margin-left: auto; display: flex; gap: 8px; }
  .shell .tabbar, .shell .top-mobile { display: none; }
  .shell .col { max-width: 600px; padding-top: 36px; }
  .shell .col.wide { max-width: 1040px; }
  .panel-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: start; }
  .h1 { font-size: 34px; }
}

/* Yönetim */
.adm { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.adm-side { display: none; }
.adm-main { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 16px 20px 28px; display: flex; flex-direction: column; gap: 16px; }
.adm-tabs { position: sticky; bottom: 0; display: flex; border-top: 1px solid var(--line); background: var(--paper); z-index: 5; }
.adm-tabs a { position: relative; flex: 1; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; font-size: 11px; }
.adm-tabs a.on { font-weight: 700; background: var(--grad) no-repeat top / 100% 3px; }
.adm-tabs .badge { position: absolute; top: 8px; left: calc(50% + 6px); }
.badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--mute); display: inline-flex; align-items: center; text-decoration: none; font-size: 14px; font-weight: 500; }
.chip.on { background: var(--ink); color: var(--paper); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: var(--soft); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.stat.dark { background: var(--ink); color: var(--paper); }
.stat .n { font-size: 44px; line-height: 1.1; font-weight: 500; letter-spacing: -0.04em; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.input-s { height: 44px; border-radius: 12px; font-size: 15px; padding: 0 12px; min-width: 0; }

/* Tablo: mobilde kart, masaüstünde tablo */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; }
.tbl thead { display: none; }
.tbl tr { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 20px; padding: 16px; margin-bottom: 12px; }
.tbl td { display: block; padding: 0; overflow-wrap: anywhere; }
.tbl td[data-l]::before { content: attr(data-l); display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 2px; }
.tbl .sub { font-size: 13px; }
.tbl .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.empty { border: 1px solid var(--line); border-radius: 20px; padding: 20px; }

@media (min-width: 1000px) {
  .adm { flex-direction: row; }
  .adm-side { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; width: 264px; padding: 28px 16px 24px; border-right: 1px solid var(--line); position: sticky; top: 0; height: 100vh; overflow-y: auto; }
  .adm-side .brand { padding: 0 8px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
  .adm-side a.item { position: relative; height: 48px; padding: 0 14px 0 18px; border-radius: 14px; display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 15px; font-weight: 500; }
  .adm-side a.item:hover { background: var(--soft); }
  .adm-side a.item.on { background: var(--soft); font-weight: 700; }
  .adm-side a.item.on::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 999px; background: linear-gradient(180deg, #d4737f 0%, #e9aac9 35%, #aed9e4 68%, #b7cea6 100%); }
  .adm-side .badge { margin-left: auto; }
  .adm-side form { margin-top: auto; }
  .adm-tabs, .adm-top { display: none; }
  .adm-main { max-width: none; margin: 0; padding: 36px 48px 40px; gap: 24px; }
  .adm-main .h1 { font-size: 36px; }
  .adm-main .narrow, .adm-main .flash { max-width: 640px; }
  .stats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .stat { padding: 20px 22px; }
  .stat .n { font-size: 56px; }
  .split { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }
  .tbl { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
  .tbl thead { display: table-header-group; }
  .tbl th { text-align: left; padding: 14px 16px; background: var(--soft); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
  .tbl tr { display: table-row; border: 0; padding: 0; margin: 0; }
  .tbl td { display: table-cell; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
  .tbl td[data-l]::before { display: none; }
  .tbl .acts { justify-content: flex-end; flex-wrap: nowrap; }
  .tbl .btn-s { height: 40px; }
}
