/* tshift — UF-företag, återbruk.
   Tek dosya, harici bagimlilik yok: CSP'yi dar tutabiliyoruz ve ilk yukleme
   hizli. Satir ici stil kullanilmaz (style-src 'self'); tek seferlik
   duzenlemeler de asagidaki yardimci siniflarla yapilir. */

:root {
  color-scheme: light dark;

  --bg:         #fbfaf7;
  --surface:    #ffffff;
  --surface-2:  #f2efe9;
  --border:     #e4dfd5;
  --text:       #171a18;
  --muted:      #6b6f6b;
  --accent:     #1f6f5c;
  --accent-ink: #ffffff;
  --accent-soft:#e5f1ec;
  --warm:       #b5622f;
  --danger:     #a8322a;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(20,20,20,.05), 0 8px 24px rgba(20,20,20,.06);
  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:         #121413;
    --surface:    #1a1d1b;
    --surface-2:  #222624;
    --border:     #2f3431;
    --text:       #ecEEec;
    --muted:      #9aa09c;
    --accent:     #4fbfa0;
    --accent-ink: #0d1110;
    --accent-soft:#18302a;
    --warm:       #d78a54;
    --danger:     #e2796f;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.08rem; }
p  { margin: 0 0 1em; }

a { color: inherit; text-decoration-color: var(--border); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

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

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--accent);
  color: var(--accent-ink); padding: .7rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- ust bar ---------- */

.site-header, .admin-bar {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.admin-bar { background: var(--surface); }
.site-header .wrap, .admin-bar .wrap {
  display: flex; align-items: center; gap: 1rem; min-height: 68px;
}
.brand {
  font-weight: 700; font-size: 1.1rem; letter-spacing: -.03em;
  text-decoration: none; display: flex; align-items: baseline; gap: .5rem;
}
.brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.brand-tag { font-weight: 400; color: var(--muted); font-size: .75rem; letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.nav a {
  padding: .5rem .75rem; border-radius: 999px; text-decoration: none;
  font-size: .93rem; color: var(--muted); white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

.lang-switch {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  border: 1px solid var(--border); border-radius: 999px;
}
.lang-switch:hover { border-color: var(--text); }

.cart-link { display: inline-flex; align-items: center; gap: .45rem; }
.cart-badge {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-size: .72rem; font-weight: 700; line-height: 20px; text-align: center;
}

/* mobil menu: gizli checkbox, JS gerekmez */
.menu-toggle, .menu-btn { display: none; }

@media (max-width: 860px) {
  .brand-tag { display: none; }
  .menu-btn {
    display: inline-flex; margin-left: auto; align-items: center; justify-content: center;
    width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px;
    background: var(--surface); cursor: pointer; color: var(--text);
  }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: .5rem 20px 1rem; box-shadow: var(--shadow);
  }
  .menu-toggle:checked ~ .nav { display: flex; }
  .nav a { padding: .8rem .4rem; border-radius: 8px; font-size: 1rem; }
  .nav .lang-switch { align-self: flex-start; margin-top: .5rem; }
}

/* ---------- govde ---------- */

main { flex: 1; padding-block: 2.5rem 4rem; }
.admin-main { padding-block: 2rem 4rem; }

.page-head { margin-bottom: 2rem; }
.page-head p { color: var(--muted); max-width: 62ch; }
.row-head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.row-head h1 { margin: 0; }

.eyebrow {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); font-weight: 650; margin-bottom: .6rem;
}

.hero {
  padding-block: clamp(1.5rem, 5vw, 4rem);
  display: grid; gap: 2.5rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
}
.hero p.lead { font-size: 1.1rem; color: var(--muted); max-width: 52ch; }
.hero-art {
  aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 100% at 20% 10%, var(--accent-soft), transparent 62%),
    linear-gradient(140deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--muted);
  box-shadow: var(--shadow);
}
.hero-art .ph { width: 120px; height: 120px; opacity: .45; }
.impact {
  margin-top: 1.5rem; font-size: .92rem; color: var(--muted);
  border-left: 3px solid var(--accent); padding-left: .9rem;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-art { aspect-ratio: 16/9; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .96rem;
  text-decoration: none; cursor: pointer; transition: transform .08s ease, opacity .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { opacity: .9; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.btn-xs { padding: .3rem .7rem; font-size: .8rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.center-row { justify-content: center; }

.usp {
  display: grid; gap: 1px; background: var(--border);
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  margin-block: 3rem; list-style: none; padding: 0;
}
.usp li { background: var(--surface); padding: 1.1rem 1.2rem; font-size: .9rem; }
.usp strong {
  display: block; font-size: .75rem; letter-spacing: .1em;
  color: var(--accent); margin-bottom: .25rem;
}
.usp.pair { grid-template-columns: 1fr 1fr; margin-block: 0; }
@media (max-width: 860px) { .usp { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .usp, .usp.pair { grid-template-columns: 1fr; } }

.section { margin-block: 3.5rem; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.more { color: var(--accent); text-decoration: none; font-size: .93rem; font-weight: 600; }

.step-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  counter-reset: step;
}
.step-list li {
  counter-increment: step;
  border-top: 2px solid var(--accent); padding-top: 1rem;
}
.step-list li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-size: .78rem; letter-spacing: .1em;
  color: var(--accent); font-weight: 700; margin-bottom: .4rem;
}
.step-list h3 { margin-bottom: .3rem; }
.step-list p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- filtre cipleri ---------- */

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .95rem; border: 1px solid var(--border); border-radius: 999px;
  text-decoration: none; font-size: .9rem; color: var(--muted); background: var(--surface);
}
.chip:hover { border-color: var(--text); color: var(--text); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chip-n { font-size: .75rem; opacity: .75; }

/* ---------- urun izgarasi ---------- */

.grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.card .thumb {
  position: relative; aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  display: grid; place-items: center; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .ph { width: 46px; height: 46px; opacity: .4; }
.card.is-sold .thumb img { filter: grayscale(1); opacity: .55; }
.sold-tag {
  position: absolute; top: .6rem; left: .6rem;
  background: var(--text); color: var(--bg);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .22rem .6rem; border-radius: 999px;
}
.card .body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.card .cat { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card .name { font-weight: 600; line-height: 1.3; }
.card .size { font-size: .85rem; color: var(--muted); }
.card .price { margin-top: auto; padding-top: .5rem; font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------- urun detayi ---------- */

.crumbs { display: flex; gap: .5rem; font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.product {
  display: grid; gap: 2.5rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: start;
}
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }

.gallery { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.gallery .shot {
  margin: 0; grid-column: 1 / -1; aspect-ratio: 1/1; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
}
.gallery .shot-sm { grid-column: auto; border-radius: var(--radius); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.ph-box { display: grid; place-items: center; color: var(--muted); }
.ph-box .ph { width: 90px; height: 90px; opacity: .4; }

.price-lg { font-size: 1.65rem; font-weight: 650; font-variant-numeric: tabular-nums; margin-bottom: .5rem; }
.unique-badge {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  border-radius: 999px; padding: .3rem .9rem; font-size: .85rem; font-weight: 600;
}
.prose-sm { color: var(--muted); margin-block: 1.25rem; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.25rem; margin-block: 1.5rem; font-size: .94rem; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
.vat-note { color: var(--muted); font-size: .85rem; }

/* ---------- formlar ---------- */

.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; font: inherit;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); color: var(--text);
}
.field textarea { resize: vertical; min-height: 5rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent;
}
.field .vat-note { margin: .35rem 0 0; }
.field-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

fieldset { border: 0; padding: 0; margin: 0; }
fieldset legend { padding: 0; width: 100%; }
fieldset legend h2 { margin-bottom: .75rem; }

.check { display: flex; align-items: center; gap: .6rem; font-size: .93rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }

/* teslim secimi */
.choice { display: grid; gap: .75rem; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice label {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem;
  padding: .95rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; background: var(--surface);
}
.choice .c-title { font-weight: 600; }
.choice .c-note { grid-column: 1; font-size: .86rem; color: var(--muted); }
.choice .c-price { grid-row: 1 / span 2; align-self: center; font-variant-numeric: tabular-nums; }
.choice input:checked + label { border-color: var(--accent); background: var(--accent-soft); }
.choice input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- panel / iki sutun ---------- */

.two-col {
  display: grid; gap: 2rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.panel h2 { font-size: 1.08rem; }
.panel.sticky { position: sticky; top: 88px; }
@media (max-width: 900px) { .panel.sticky { position: static; } }

.line {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem;
  align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--border);
}
.line:last-of-type { border-bottom: 0; }
.line.compact { grid-template-columns: 1fr auto; }
.line .thumb-sm {
  width: 72px; height: 72px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface-2); overflow: hidden; display: block;
}
.line .thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
.line .meta { min-width: 0; }
.line .meta .n { font-weight: 600; }
.line .meta .n a { text-decoration: none; }
.line .meta .v { color: var(--muted); font-size: .86rem; }
.line .amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.qty { display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem; }
.qty input {
  width: 60px; padding: .3rem .45rem; font: inherit; text-align: center;
  border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text);
}
.qty button {
  font: inherit; font-size: .8rem; padding: .3rem .6rem; cursor: pointer;
  border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--muted);
}
.qty button:hover { color: var(--text); border-color: var(--text); }

.totals { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.totals dl { display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; margin: 0; }
.totals dt { color: var(--muted); font-size: .93rem; }
.totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.totals .grand dt, .totals .grand dd {
  font-size: 1.1rem; font-weight: 650; color: var(--text); padding-top: .5rem;
}

/* ---------- bildirim / rozet ---------- */

.notice {
  border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.5rem;
  border: 1px solid var(--border); background: var(--surface-2); font-size: .94rem;
}
.notice.ok { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); background: var(--accent-soft); }
.notice.warn { border-color: color-mix(in srgb, var(--danger) 40%, var(--border)); }
.notice strong { display: block; margin-bottom: .2rem; }
.notice.note-sm { margin: 1.25rem 0 0; font-size: .85rem; }

.badge {
  display: inline-block; padding: .2rem .65rem; border-radius: 999px; white-space: nowrap;
  font-size: .77rem; font-weight: 600; border: 1px solid var(--border); background: var(--surface-2);
}
.badge.paid, .badge.delivered, .badge.ready { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.badge.shipped { background: var(--surface-2); color: var(--warm); }
.badge.pending { color: var(--muted); }
.badge.cancelled, .badge.refunded, .badge.withdrawn { color: var(--danger); }

.kv { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.25rem; font-size: .94rem; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

.big-number { font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; margin: 0; }

/* angerknapp — yasal olarak kolay bulunur olmali */
.withdraw-box {
  margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius);
  border: 1px dashed var(--border); background: var(--surface);
}
.withdraw-box h2 { font-size: 1.05rem; }
.withdraw-box p { color: var(--muted); font-size: .93rem; max-width: 60ch; }

/* ---------- listeler ---------- */

.ticks, .crosses, .plain { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.ticks li, .crosses li { padding-left: 1.7rem; position: relative; font-size: .95rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.crosses li::before { content: "×"; position: absolute; left: 0; color: var(--danger); font-weight: 700; }
.plain li { padding: .35rem 0; border-bottom: 1px solid var(--border); }
.plain li:last-child { border-bottom: 0; }

/* ---------- tablo ---------- */

.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--surface); }
th, td { padding: .7rem .85rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.row-muted td { opacity: .55; }
td form { display: flex; gap: .35rem; align-items: center; }
td select, td input[type="number"] {
  padding: .3rem .4rem; font: inherit; font-size: .85rem; max-width: 9rem;
  border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--text);
}
.mini-thumb {
  display: block; width: 44px; height: 44px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--surface-2); overflow: hidden;
}
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- admin ---------- */

.stat-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.stat-n { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-l { font-size: .82rem; color: var(--muted); }

.img-grid {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  align-items: start;
}
/* align-content: start olmadan ic izgaranin satirlari hucre yuksekligine
   yayilir ve kare gorsel dikdortgene uzar. */
.img-cell { margin: 0; display: grid; gap: .4rem; align-content: start; }
.img-cell img {
  width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--border);
}

/* ---------- alt bilgi ---------- */

.site-footer {
  border-top: 1px solid var(--border); background: var(--surface);
  padding-block: 2.5rem; font-size: .89rem; color: var(--muted);
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.foot-h { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: .7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; font-size: .84rem;
}
.pay-methods { display: flex; gap: .5rem; flex-wrap: wrap; }
.pay-methods span {
  border: 1px solid var(--border); border-radius: 6px; padding: .15rem .55rem;
  font-size: .74rem; font-weight: 600;
}

/* ---------- metin ---------- */

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2rem; font-size: 1.2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.empty { text-align: center; padding: 4rem 1rem; color: var(--muted); }

/* ---------- yardimci siniflar ----------
   CSP satir ici stili engelliyor; tek seferlik duzenlemeler burada. */

.mt-sm { margin-top: .8rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 1.25rem; }
.mt-xl { margin-top: 2rem; }
.mb-lg { margin-bottom: 1.5rem; }
.m-0   { margin: 0; }
.center { text-align: center; }
.muted-center { text-align: center; color: var(--muted); padding: 1rem 0; }
.narrow-70 { max-width: 70ch; }
.narrow-60 { max-width: 60ch; }
.narrow-box { max-width: 520px; }
.link-center { text-align: center; margin: 1rem 0 0; }
/* Toplam satiri dl izgarasinin akisinda kalsin diye sarmalayici sutun olusturmaz. */
.contents { display: contents; }

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

/* Admin ust barindaki "butige don" baglantisi. lang-switch'ten ayri:
   o buyuk harfe ceviriyor ve dil kodu icin tasarlandi. */
.back-link {
  border: 1px solid var(--border); border-radius: 999px;
  font-size: .88rem; white-space: nowrap;
}
.back-link:hover { border-color: var(--text); }
