/* ==========================================================================
   Sade, ferah arayüz — beyaz zemin, yumuşak gölge, yuvarlak köşe
   ========================================================================== */

:root {
  --primary: #D3221F;
  --ink: #14171A;

  --bg: #FBF9F6;
  --card: #FFFFFF;
  --on-ink: #FFFFFF;
  --head-bg: rgba(255,253,250,.9);
  --surface: #F3F0EB;
  --surface-2: #EAE5DD;
  --line: #E4DFD7;
  --muted: #6B655D;
  --muted-2: #9C958A;

  --green: #12B76A;
  --amber: #F79009;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(60, 45, 30, .07);
  --sh-2: 0 3px 10px rgba(60, 45, 30, .07), 0 1px 2px rgba(60, 45, 30, .05);
  --sh-3: 0 16px 34px -14px rgba(60, 45, 30, .26);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --head-h: 66px;
}

* { box-sizing: border-box; }

/* hidden özelliği her zaman kazansın — display tanımlı sınıflar bunu ezmesin */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.small { font-size: 13px; }
.mono { font-variant-numeric: tabular-nums; font-size: 14px; }
.muted { color: var(--muted); }
.right { text-align: right; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

.skip { position: absolute; left: -9999px; background: var(--ink); color: var(--on-ink); padding: 10px 14px; z-index: 99; border-radius: var(--r-sm); }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 40%, var(--card)); outline-offset: 2px; }

/* ---------- Tipografi ---------- */

h1, h2, h3 { margin: 0; letter-spacing: -.022em; line-height: 1.18; font-weight: 800; }
h1 { font-size: clamp(26px, 4.5vw, 34px); }
h2 { font-size: clamp(20px, 3vw, 24px); }
h3 { font-size: 17px; font-weight: 700; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted-2); margin: 0 0 6px;
}

/* ---------- Üst bar ---------- */

.site-head {
  background: var(--head-bg);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: var(--head-h);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; min-width: 0; flex: 0 1 auto; }
.brand-logo { height: 38px; width: auto; border-radius: var(--r-sm); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  background: var(--primary);
  position: relative;
}
.brand-mark::after {
  content: ''; position: absolute; inset: 11px 15px;
  border-radius: 6px; background: rgba(255,255,255,.9);
}
.brand-text { min-width: 0; }
.brand-name {
  display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-slogan { display: block; font-size: 12px; color: var(--muted); }

.head-nav { display: flex; align-items: center; gap: 4px; flex: none; }
.head-nav a {
  text-decoration: none; padding: 9px 13px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 600; color: var(--muted); white-space: nowrap;
  transition: background .15s, color .15s;
}
.head-nav a:hover { background: var(--surface); color: var(--ink); }
.head-nav a.on { color: var(--ink); background: var(--surface); }
.pts {
  font-size: 12px; font-weight: 700; color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, var(--card));
  padding: 2px 7px; border-radius: var(--r-pill); margin-left: 4px;
}
.cart-link { background: var(--ink) !important; color: var(--on-ink) !important; }
.cart-link:hover { filter: brightness(1.25); }
.cart-link.has { background: var(--primary) !important; }
.badge {
  font-size: 12px; font-weight: 700; background: color-mix(in srgb, var(--on-ink) 22%, transparent);
  border-radius: var(--r-pill); padding: 1px 7px; margin-left: 5px;
}

.strip {
  margin: 0; padding: 9px 16px; text-align: center; font-size: 13.5px; font-weight: 600;
  background: color-mix(in srgb, var(--amber) 16%, var(--card)); color: #8A4B00;
}
.strip-closed { background: color-mix(in srgb, var(--primary) 10%, var(--card)); color: var(--primary); }

/* ---------- Müşteri görünümü şeridi ---------- */

.preview-bar {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 10px 16px; font-size: 13.5px; font-weight: 600;
  background: var(--ink); color: var(--on-ink);
}
.preview-bar .btn { background: var(--primary); color: #fff; padding: 7px 14px; }

/* Yönetim menüsündeki form düğmeleri çip gibi dursun */
.admin-nav form { display: flex; }
.admin-nav button.chip { border: 0; cursor: pointer; font-family: inherit; }

/* ---------- Bildirim ---------- */

.flash {
  margin: 16px 0 0; padding: 13px 16px; border-radius: var(--r);
  background: color-mix(in srgb, var(--green) 10%, var(--card));
  color: #05603A; font-size: 14.5px; font-weight: 600;
}
.flash-err { background: color-mix(in srgb, var(--primary) 9%, var(--card)); color: var(--primary); }

.notice {
  padding: 14px 16px; border-radius: var(--r);
  background: var(--surface); font-size: 14.5px; color: var(--muted);
}
.notice-err {
  background: color-mix(in srgb, var(--primary) 8%, var(--card));
  color: var(--primary); font-weight: 600;
}

/* ---------- Düğmeler ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px/1 var(--font); letter-spacing: -.01em;
  padding: 14px 22px; border: 0; border-radius: var(--r-pill);
  background: var(--primary); color: #fff; text-decoration: none; cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--sh-1);
  transition: transform .1s ease, filter .15s ease, box-shadow .15s ease;
}
.btn:hover { filter: brightness(1.06); box-shadow: var(--sh-2); }
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 15px; font-size: 13.5px; }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-dark { background: var(--ink); color: var(--on-ink); }
.btn-green { background: var(--green); }
.btn-quiet { background: var(--surface-2); color: var(--ink); box-shadow: none; }
.btn-quiet:hover { background: var(--line); }

.linkish {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--muted); text-decoration: underline;
}

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--surface); color: var(--muted); text-decoration: none;
}
a.chip:hover { background: var(--surface-2); color: var(--ink); }
.chip-on { background: var(--ink); color: var(--on-ink); }
.chip-red { background: color-mix(in srgb, var(--primary) 10%, var(--card)); color: var(--primary); }
.chip-green { background: color-mix(in srgb, var(--green) 12%, var(--card)); color: #05603A; }
.chip-amber { background: color-mix(in srgb, var(--amber) 14%, var(--card)); color: #8A4B00; }

/* ---------- Kahraman alanı ---------- */

.hero { padding: 28px 0 4px; }
.hero-card {
  background:
    radial-gradient(120% 140% at 88% 8%, color-mix(in srgb, var(--primary) 13%, transparent), transparent 62%),
    linear-gradient(160deg, var(--card), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 32px; display: grid; gap: 24px;
  grid-template-columns: 1.4fr .9fr; align-items: center;
}
.hero h1 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -.03em; }
.hero p { margin: 10px 0 0; max-width: 48ch; color: var(--muted); font-size: 15.5px; }
.hero-facts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.hero-facts .chip { background: var(--card); box-shadow: var(--sh-1); }
.hero-img { border-radius: var(--r); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--sh-3); }

/* ---------- Kategori şeridi ---------- */

.catbar {
  position: sticky; top: var(--head-h); z-index: 30;
  background: var(--head-bg); backdrop-filter: blur(10px);
  padding: 12px 0; margin-bottom: 4px;
}
.catbar-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.catbar-scroll::-webkit-scrollbar { display: none; }
.catbar a {
  white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 14.5px;
  padding: 9px 16px; border-radius: var(--r-pill);
  background: var(--card); color: var(--muted); border: 1px solid var(--line);
  transition: background .15s, color .15s, border-color .15s;
}
.catbar a:hover, .catbar a:focus-visible {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ---------- Ürün ızgarası ---------- */

.cat-block { padding: 30px 0 2px; }
.cat-head { display: flex; align-items: center; gap: 11px; margin-bottom: 4px; }
.cat-head h2 { display: flex; align-items: center; gap: 11px; }
.cat-head h2::before {
  content: ''; width: 5px; height: 22px; border-radius: var(--r-pill);
  background: var(--primary); flex: none;
}
.cat-head .count {
  font-size: 12.5px; font-weight: 700; color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, var(--card));
  padding: 4px 10px; border-radius: var(--r-pill);
}

.grid {
  display: grid; gap: 18px; margin-top: 18px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
}
.pad { padding: 20px; }

.prod {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}
.prod:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.prod-media { position: relative; }
.prod-img { aspect-ratio: 4/3; object-fit: cover; width: 100%; background: var(--surface); }
.prod-img-empty {
  aspect-ratio: 4/3; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--surface), var(--surface-2));
  color: var(--muted-2); font-size: 28px; font-weight: 800; letter-spacing: -.02em;
}
.prod-body { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.prod-name { font-size: 16.5px; font-weight: 700; letter-spacing: -.015em; }
.prod-desc { font-size: 14px; color: var(--muted); margin: 0; flex: 1; line-height: 1.45; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.price { font-size: 17px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.prod-foot .price { color: var(--primary); }
.prod-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--card); color: var(--ink); box-shadow: var(--sh-2);
  font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: var(--r-pill);
}
.prod-foot .chip-red {
  width: 34px; height: 34px; padding: 0; justify-content: center;
  background: var(--primary); color: #fff; font-size: 0;
}
.prod-foot .chip-red::after { content: '+'; font-size: 21px; font-weight: 500; line-height: 1; }

/* ---------- Özet kartı ---------- */

.receipt {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-2);
}
.receipt-head { padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.receipt-head strong { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.receipt-head .small { display: block; margin-top: 2px; }
.receipt-row {
  display: flex; justify-content: space-between; gap: 14px;
  font-size: 14.5px; padding: 7px 0; font-variant-numeric: tabular-nums;
}
.receipt-row .lbl { flex: 1; color: var(--muted); }
.receipt-sep { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
.receipt-total { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.receipt-total .lbl { color: var(--ink); font-weight: 700; }
.receipt-note {
  text-align: center; font-size: 13px; font-weight: 600; margin: 16px 0 0;
  padding: 11px; border-radius: var(--r);
  background: color-mix(in srgb, var(--green) 9%, var(--card)); color: #05603A;
}

/* ---------- Puan kartı ---------- */

.stamp-card {
  background: linear-gradient(135deg, #211C17, #38302A);
  color: #FBF9F6; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-3);
}
.stamp-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.stamp-pts { font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.stamp-lira { font-size: 13.5px; color: rgba(255,255,255,.62); }
.stamps { display: flex; gap: 5px; margin-top: 20px; }
.stamp { flex: 1; height: 6px; border-radius: var(--r-pill); background: rgba(255,255,255,.16); font-size: 0; }
.stamp.on { background: var(--primary); }

/* ---------- Formlar ---------- */

.field { margin-bottom: 16px; }
.field > label, .lbl-strong {
  display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink);
}
input[type=text], input[type=tel], input[type=email], input[type=password],
input[type=number], input[type=time], input[type=date], input[type=search], select, textarea {
  width: 100%; padding: 13px 15px; font: 400 15px/1.4 var(--font);
  background: var(--card); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--r);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--ink); outline: none;
  box-shadow: 0 0 0 4px var(--surface-2);
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }
textarea { min-height: 88px; resize: vertical; }
input[type=color] { width: 56px; height: 44px; padding: 3px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--card); }
input[type=file] { font-size: 14px; padding: 11px; }
.hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; line-height: 1.45; }

.row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; cursor: pointer; padding: 5px 0; }
.check input { width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--primary); flex: none; }

.opt-list { display: grid; gap: 8px; }
.opt {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--card); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.opt:hover { background: var(--surface); }
.opt:has(input:checked) { border-color: var(--ink); background: var(--card); box-shadow: var(--sh-1); }
.opt input { accent-color: var(--primary); width: 19px; height: 19px; flex: none; }
.opt .delta { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--muted); }

.qty {
  display: inline-flex; align-items: center; background: var(--surface);
  border-radius: var(--r-pill); padding: 3px;
}
.qty button {
  width: 34px; height: 34px; border: 0; background: var(--card); border-radius: 50%;
  font-size: 17px; cursor: pointer; box-shadow: var(--sh-1); color: var(--ink);
}
.qty button:hover { background: var(--ink); color: var(--on-ink); }
.qty input {
  width: 44px; text-align: center; border: 0; background: none; padding: 0;
  font: 700 15px var(--font); font-variant-numeric: tabular-nums;
}

/* ---------- Yerleşim ---------- */

.split { display: grid; gap: 26px; grid-template-columns: 1.55fr .95fr; align-items: start; margin: 26px 0 48px; }
.stack { display: grid; gap: 18px; }
.sticky { position: sticky; top: calc(var(--head-h) + 20px); }

.page-head { padding: 30px 0 8px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Listeler ---------- */

.list { display: grid; }
.line { display: flex; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-main { flex: 1; min-width: 0; }
.line-title { font-weight: 700; letter-spacing: -.01em; }
a.line { text-decoration: none; }
a.line:hover .line-title { color: var(--primary); }

.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); font-weight: 700; }
.table tbody tr:hover td { background: var(--surface); }
.table-scroll { overflow-x: auto; margin: 0 -4px; }

.stat-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--sh-1); }
.stat .k { font-size: 13px; color: var(--muted); font-weight: 600; display: block; }
.stat .v { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; display: block; margin-top: 2px; font-variant-numeric: tabular-nums; }

/* ---------- Yönetim ---------- */

.admin-nav {
  display: flex; gap: 4px; overflow-x: auto; padding: 14px 0 16px;
  scrollbar-width: none; align-items: center;
}
.admin-nav::-webkit-scrollbar { display: none; }
.admin-nav a {
  white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 14.5px;
  padding: 9px 15px; border-radius: var(--r-pill); color: var(--muted);
}
.admin-nav a.on { background: var(--ink); color: var(--on-ink); }
.admin-nav a:hover:not(.on) { background: var(--surface); color: var(--ink); }

.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.box + .box { margin-top: 18px; }
.box-title { font-size: 16px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }

details.acc { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
details.acc + details.acc { margin-top: 10px; }
details.acc > summary {
  padding: 15px 18px; cursor: pointer; font-weight: 600; font-size: 14.5px;
  list-style: none; display: flex; justify-content: space-between; gap: 10px;
}
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after { content: '+'; color: var(--muted-2); font-size: 18px; }
details.acc[open] > summary::after { content: '–'; }
details.acc > .acc-body { padding: 4px 18px 18px; }

.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.inline-form .field { margin: 0; flex: 1 1 150px; }

/* ---------- Yeni sipariş bildirimi ---------- */

.notify-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 8px 0 0; padding: 15px 18px;
  background: var(--ink); color: var(--on-ink);
  border-radius: var(--r); font-weight: 600; font-size: 14.5px;
  box-shadow: var(--sh-3);
  animation: notify-in .3s cubic-bezier(.2,.9,.3,1.2);
}
.notify-bar .btn { background: var(--card); color: var(--ink); }
.notify-bar .notify-close {
  margin-left: auto; background: none; border: 0;
  font-size: 24px; line-height: 1; cursor: pointer; color: var(--on-ink); opacity: .6; padding: 0 4px;
}
.notify-bar .notify-close:hover { opacity: 1; }
@keyframes notify-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Kurye ---------- */

.pack {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; box-shadow: var(--sh-1);
  border-left: 4px solid var(--amber);
}
.pack.on-way { border-left-color: var(--green); }
.pack-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.pack-code { font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pack-addr { margin: 10px 0; font-size: 14.5px; line-height: 1.5; }
.pack-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- Alt sabit çubuk ---------- */

.dockbar {
  position: sticky; bottom: 0; z-index: 35; margin-top: 20px;
  background: var(--ink); color: var(--on-ink);
  padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: 0 -8px 24px -12px rgba(20,23,26,.3);
  padding-bottom: calc(13px + env(safe-area-inset-bottom));
}
.dockbar .sum { font-size: 14.5px; font-weight: 600; }
.dockbar .btn { background: var(--card); color: var(--ink); }

/* ---------- Alt bilgi ---------- */

.site-foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 32px 0 40px; background: var(--surface); }
.site-foot .foot-name { color: var(--primary); }
.foot-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-name { font-size: 17px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.foot-inner p { margin: 3px 0; color: var(--muted); }
.foot-links { display: flex; gap: 18px; align-items: flex-start; font-size: 14.5px; font-weight: 600; }

/* ---------- Yasal metinler ---------- */

.legal-body { line-height: 1.65; }
.legal-body h3 {
  font-size: 16px; font-weight: 800; margin: 26px 0 8px;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.legal-body h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body p { margin: 0 0 12px; font-size: 15px; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; font-size: 15px; }
.legal-body li { margin-bottom: 6px; }
.legal-body b { font-weight: 700; }

/* Onay kutusundaki metin bağlantıları */
.check a { font-weight: 600; }

/* ---------- Boş durum ---------- */

.empty { text-align: center; padding: 56px 24px; border-radius: var(--r-lg); background: var(--surface); }
.empty h2 { margin-bottom: 10px; }
.empty p { color: var(--muted); margin: 0 0 20px; }

/* ---------- Duyarlılık ---------- */


/* ==========================================================================
   Koyu mod
   ========================================================================== */

html[data-theme="dark"] {
  --bg: #14120F;
  --card: #1E1B17;
  --surface: #1E1B17;
  --surface-2: #2A2621;
  --line: #322D27;
  --ink: #F4F0E9;
  --on-ink: #14120F;
  --muted: #A8A093;
  --muted-2: #7C7468;
  --head-bg: rgba(20,18,15,.85);

  --sh-1: 0 1px 2px rgba(0, 0, 0, .4);
  --sh-2: 0 3px 10px rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .3);
  --sh-3: 0 16px 34px -14px rgba(0, 0, 0, .7);

  color-scheme: dark;
}

/* Fotoğraflar koyu zeminde gözü yormasın */
html[data-theme="dark"] .prod-img,
html[data-theme="dark"] .hero-img { filter: brightness(.92); }
html[data-theme="dark"] .prod:hover .prod-img { filter: none; }

/* Marka logosu koyu zeminde kaybolmasın */
html[data-theme="dark"] .brand-logo { background: var(--surface-2); padding: 3px; }

/* Şerit ve bildirimler */
html[data-theme="dark"] .strip { color: #F5C97A; }
html[data-theme="dark"] .strip-closed { color: color-mix(in srgb, var(--primary) 70%, white); }
html[data-theme="dark"] .flash { color: #7DDBA8; }
html[data-theme="dark"] .flash-err,
html[data-theme="dark"] .notice-err { color: color-mix(in srgb, var(--primary) 60%, white); }
html[data-theme="dark"] .receipt-note { color: #7DDBA8; }
html[data-theme="dark"] .chip-green { color: #7DDBA8; }
html[data-theme="dark"] .chip-amber { color: #F5C97A; }
html[data-theme="dark"] .chip-red { color: color-mix(in srgb, var(--primary) 65%, white); }
html[data-theme="dark"] .cat-head .count { color: color-mix(in srgb, var(--primary) 65%, white); }
html[data-theme="dark"] .prod-foot .price { color: color-mix(in srgb, var(--primary) 70%, white); }
html[data-theme="dark"] .pts { color: color-mix(in srgb, var(--primary) 70%, white); }

/* Tema düğmesi */
html[data-theme="dark"] .theme-toggle .sun { display: none; }
html:not([data-theme="dark"]) .theme-toggle .moon { display: none; }

.theme-toggle {
  border: 0; cursor: pointer; background: var(--surface);
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-grid; place-items: center; font-size: 17px;
  color: var(--muted); margin-left: 4px; flex: none;
  transition: background .15s, color .15s;
}
.theme-toggle:hover { background: var(--surface-2); color: var(--ink); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .hero-card { grid-template-columns: 1fr; padding: 22px; }
  .hero-img { order: -1; }
}

@media (max-width: 560px) {
  :root { --head-h: 58px; }
  .wrap { width: calc(100% - 24px); }

  /* Logo ana sayfaya götürüyor — menü bağlantısı yer kaplamasın */
  .head-nav a[href="/"] { display: none; }

  .brand-slogan { display: none; }
  .brand-name { font-size: 15px; }
  .brand-logo { height: 32px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
  .head-nav { gap: 2px; }
  .head-nav a { padding: 7px 10px; font-size: 13px; }
  .head-nav .btn { padding: 8px 12px; font-size: 13px; }
  .theme-toggle { width: 32px; height: 32px; font-size: 15px; margin-left: 2px; }

  /* Kapak görseli ekranı yutmasın */
  .hero { padding: 18px 0 2px; }
  .hero-card { padding: 18px; gap: 16px; }
  .hero-img {
    aspect-ratio: auto; max-height: 190px; width: 100%;
    object-fit: contain; background: transparent; box-shadow: none;
  }
  .hero h1 { font-size: clamp(24px, 7vw, 30px); }
  .hero p { font-size: 14.5px; }
  .hero-facts { gap: 6px; margin-top: 14px; }
  .hero-facts .chip { font-size: 12.5px; padding: 6px 11px; }

  .strip { font-size: 12.5px; padding: 8px 14px; }
  .catbar { padding: 10px 0; }
  .catbar a { padding: 8px 14px; font-size: 13.5px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-body { padding: 12px 13px 14px; }
  .prod-name { font-size: 14.5px; }
  .prod-desc { display: none; }
  .price { font-size: 15.5px; }
  .page-head { padding-top: 22px; }
  .box, .receipt { padding: 18px; }
  .stat .v { font-size: 26px; }
}

@media (max-width: 400px) {
  .brand-text { display: none; }
  .head-nav a { padding: 7px 8px; font-size: 12.5px; }
  .head-nav .btn { padding: 8px 11px; font-size: 12.5px; }
}

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

@media print {
  .site-head, .site-foot, .dockbar, .btn, .admin-nav, .notify-bar { display: none !important; }
  .receipt { box-shadow: none; border: 0; }
}
