/* ==========================================================================
   ŞARK DOKUSU — style.css
   Palet: logoya dayalı — sıcak krem, derin kahverengi, pirinç/gold vurgu
   Logo renkleri: koyu #443020, pirinç #B29171, arka plan krem
   ========================================================================== */

:root {
  --cream: #f5efe6;
  --cream-deep: #ede3d4;
  --paper: #fdf9f4;
  --olive-900: #2a1c0e;
  --olive-800: #443020;
  --olive-700: #5c4232;
  --olive-500: #7d6050;
  --olive-300: #b8a491;
  --brass: #b29171;
  --brass-soft: #dac9b0;
  --ink: #201510;
  --ink-soft: #6b5545;
  --line: #e2d5c3;
  --danger: #a33a2b;
  --danger-soft: #f6e4e0;
  --success: #3d6b45;
  --success-soft: #e4efe3;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(68, 48, 32, .07), 0 2px 8px rgba(68, 48, 32, .05);
  --shadow: 0 4px 14px rgba(68, 48, 32, .09), 0 12px 32px rgba(68, 48, 32, .07);
  --shadow-lg: 0 10px 40px rgba(68, 48, 32, .16);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --wrap: 1180px;
  --header-h: 72px;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--olive-700); text-underline-offset: 3px; }
a:hover { color: var(--brass); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--olive-800);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 239, 230, .9);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--olive-900);
}
.brand:hover { color: var(--olive-900); }

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--cream-deep);
  box-shadow: inset 0 0 0 1px rgba(178, 145, 113, .35);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: .01em;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 9px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--olive-800);
  font-size: 14px;
  font-weight: 500;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav-link:hover { background: var(--cream-deep); color: var(--olive-900); }

.nav-cta {
  background: var(--olive-800);
  color: #fff;
}
.nav-cta:hover { background: var(--olive-700); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1100px 420px at 82% -10%, rgba(178, 145, 113, .20), transparent 62%),
    radial-gradient(900px 380px at 8% 110%, rgba(92, 66, 50, .14), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    repeating-linear-gradient(45deg, rgba(68, 48, 32, .035) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(68, 48, 32, .03) 0 1px, transparent 1px 9px);
  mask-image: radial-gradient(70% 80% at 50% 40%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 40%, #000 20%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 76px 20px 68px;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--olive-500);
  margin: 0 0 22px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--brass);
  opacity: .7;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  color: var(--olive-900);
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--olive-500);
}

.hero-lead {
  font-size: clamp(1rem, 2.4vw, 1.085rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 30px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--olive-800);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  background: var(--olive-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--olive-800);
  border-color: rgba(46, 58, 40, .28);
}
.btn-outline:hover {
  background: rgba(46, 58, 40, .06);
  color: var(--olive-900);
  border-color: rgba(46, 58, 40, .5);
}

.btn-wa {
  width: 100%;
  background: #1f6b3a;
  border-color: #1f6b3a;
}
.btn-wa:hover { background: #17562f; border-color: #17562f; }
.btn-wa[disabled] { background: #9aa79a; border-color: #9aa79a; opacity: .85; }

.btn-sm { padding: 8px 15px; font-size: 13px; }
.btn-icon { padding: 8px; width: 34px; height: 34px; border-radius: 9px; }

.btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: rgba(163, 58, 43, .3);
}
.btn-danger:hover { background: var(--danger-soft); color: var(--danger); border-color: var(--danger); }

/* ---------- Catalog / toolbar ---------- */
.catalog { padding: 54px 0 72px; }

.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.catalog-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.15rem);
  color: var(--olive-900);
  margin: 0 0 6px;
}
.catalog-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.result-count {
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  white-space: nowrap;
}

.toolbar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  display: grid;
  gap: 14px;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
}
.search-field svg {
  position: absolute;
  left: 15px;
  width: 17px;
  height: 17px;
  color: var(--ink-soft);
  pointer-events: none;
}
.search-field input {
  width: 100%;
  padding: 13px 46px 13px 43px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: 15px;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.search-field input::placeholder { color: #9e8e7e; }
.search-field input:focus {
  outline: none;
  border-color: var(--olive-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(178, 145, 113, .18);
}
.search-clear {
  position: absolute;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: none;
}
.search-clear:hover { background: var(--cream-deep); }
.search-clear.is-visible { display: grid; place-items: center; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--olive-800);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.chip:hover { border-color: var(--olive-300); background: var(--cream-deep); }
.chip[aria-pressed="true"] {
  background: var(--olive-800);
  border-color: var(--olive-800);
  color: #fff;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brass-soft);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, var(--cream-deep), #e6ddcb);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .card-media img { transform: scale(1.035); }

.card-media .media-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(46, 58, 40, .35);
  font-family: var(--font-display);
  font-size: 40px;
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 248, .94);
  color: var(--olive-800);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(178, 145, 113, .65);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-badge.is-out {
  background: rgba(246, 228, 224, .96);
  color: var(--danger);
  border-color: rgba(163, 58, 43, .25);
}

.card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--olive-900);
  margin: 0;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.card-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.card-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.price {
  font-size: 19px;
  font-weight: 700;
  color: var(--olive-900);
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

.stock-note {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--olive-500);
  text-transform: uppercase;
  white-space: nowrap;
}
.stock-note.is-low { color: var(--brass); }
.stock-note.is-out { color: var(--danger); }

/* ---------- States ---------- */
.state-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 26px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink-soft);
}
.state-box h3 {
  font-size: 1.45rem;
  color: var(--olive-900);
  margin: 0 0 10px;
}
.state-box p { margin: 0 auto; max-width: 46ch; font-size: 14.5px; }
.state-box .btn { margin-top: 20px; }
.state-icon {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream-deep);
  color: var(--olive-500);
}
.state-box.is-error { border-color: rgba(163, 58, 43, .3); }
.state-box.is-error .state-icon { background: var(--danger-soft); color: var(--danger); }

/* Skeleton */
.skeleton-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.sk-media { aspect-ratio: 4 / 5; }
.sk-line { height: 13px; border-radius: 6px; margin: 12px 18px; }
.sk-line.w-70 { width: 70%; }
.sk-line.w-45 { width: 45%; }
.sk-line.w-90 { width: 90%; }
.sk-block, .sk-line { background: linear-gradient(90deg, #eee7d9 25%, #f6f1e6 50%, #eee7d9 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- About / trust strip ---------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream-deep);
  padding: 42px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .ti-mark {
  flex: 0 0 38px;
  height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 253, 248, .85);
  border: 1px solid var(--brass-soft);
  color: var(--olive-700);
}
.trust-item h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--olive-900);
  margin: 3px 0 4px;
}
.trust-item p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--olive-900);
  color: rgba(247, 243, 234, .78);
  padding: 52px 0 26px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(245, 239, 230, .5); }
.footer-brand .brand-mark {
  background: rgba(178, 145, 113, .15);
  border: 1px solid rgba(178, 145, 113, .35);
}
.footer-about {
  margin: 16px 0 0;
  max-width: 38ch;
  color: rgba(247, 243, 234, .65);
  line-height: 1.65;
  font-size: 13.5px;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin: 0 0 14px;
  font-weight: 600;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a, .footer-links span {
  color: rgba(247, 243, 234, .72);
  text-decoration: none;
  font-size: 13.5px;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(247, 243, 234, .12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(247, 243, 234, .5);
}

/* ---------- Toast ---------- */
.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(380px, calc(100vw - 36px));
}
.toast {
  background: var(--olive-900);
  color: #fff;
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 13.5px;
  box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--brass);
  animation: toast-in .26s var(--ease) both;
}
.toast.is-error { border-left-color: #e0796a; }
.toast.is-success { border-left-color: #7fc08c; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   YÖNETİCİ PANELİ
   ========================================================================== */

.admin-body { background: var(--cream); min-height: 100vh; }

/* Login */
.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background:
    radial-gradient(900px 400px at 70% -20%, rgba(178, 145, 113, .20), transparent 60%),
    radial-gradient(700px 360px at 10% 110%, rgba(92, 66, 50, .18), transparent 60%),
    var(--cream);
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 34px 30px 30px;
}
.login-card .brand { margin-bottom: 22px; }
.login-card h1 {
  font-size: 1.75rem;
  color: var(--olive-900);
  margin: 0 0 6px;
}
.login-card .sub {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

/* Fields */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field > label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field .hint { font-size: 12px; color: #8b957f; }
.field .req { color: var(--brass); }

.input, .textarea, .select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 14.5px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--olive-500);
  box-shadow: 0 0 0 3px rgba(178, 145, 113, .18);
}
.textarea { min-height: 104px; resize: vertical; line-height: 1.55; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  margin-bottom: 16px;
}
.check-row input[type="checkbox"] {
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: var(--olive-700);
  flex: 0 0 18px;
}
.check-row label { font-size: 13.5px; line-height: 1.45; }
.check-row .hint { display: block; font-size: 12px; color: #8b957f; margin-top: 2px; }

/* Admin layout */
.admin-main { padding: 30px 0 80px; }

.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.admin-bar h1 {
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  color: var(--olive-900);
  margin: 0;
}
.admin-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  max-width: 100%;
}
.user-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6aa06f;
  box-shadow: 0 0 0 3px rgba(106, 160, 111, .18);
  flex: 0 0 7px;
}
.user-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 {
  font-size: 1.3rem;
  color: var(--olive-900);
  margin: 0;
}
.panel-head .count {
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* Image picker */
.image-picker {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
}
.image-preview {
  flex: 0 0 84px;
  width: 84px;
  height: 105px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--cream-deep) center/cover no-repeat;
  display: grid;
  place-items: center;
  color: #a9b19e;
  font-size: 11px;
  text-align: center;
  overflow: hidden;
}
.image-picker .ip-body { display: grid; gap: 8px; flex: 1; min-width: 0; }
.image-picker input[type="file"] {
  font-size: 12.5px;
  width: 100%;
  max-width: 100%;
}
.image-picker input[type="file"]::file-selector-button {
  font-size: 12.5px;
  padding: 6px 12px;
  margin-right: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--olive-800);
  cursor: pointer;
}
.image-picker input[type="file"]::file-selector-button:hover { background: var(--cream-deep); }

/* Admin product list */
.admin-list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }

.admin-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.admin-item:hover { border-color: var(--brass-soft); background: #fffdfa; }
.admin-item.is-inactive { opacity: .62; }
.admin-item.is-editing { border-color: var(--olive-500); box-shadow: 0 0 0 3px rgba(178, 145, 113, .18); }

.admin-thumb {
  width: 62px;
  height: 78px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--cream-deep) center/cover no-repeat;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #a9b19e;
  font-size: 10px;
  text-align: center;
}

.admin-item-body { min-width: 0; display: grid; gap: 3px; }
.admin-item-title {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--olive-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-item-meta {
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
}
.admin-item-meta .sep { color: var(--line); }

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
}
.status-tag.on { background: var(--success-soft); color: var(--success); }
.status-tag.off { background: var(--cream-deep); color: #8b7f66; }

.admin-item-actions { display: flex; gap: 6px; }
.icon-btn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--olive-700);
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.icon-btn:hover { background: var(--cream-deep); border-color: var(--olive-300); }
.icon-btn.is-danger:hover { background: var(--danger-soft); color: var(--danger); border-color: rgba(163, 58, 43, .4); }
.icon-btn[disabled] { opacity: .45; cursor: not-allowed; }
.icon-btn svg { width: 16px; height: 16px; }

.admin-empty {
  text-align: center;
  padding: 44px 18px;
  color: var(--ink-soft);
  font-size: 14px;
}
.admin-empty strong { display: block; color: var(--olive-900); font-size: 15px; margin-bottom: 4px; }

/* ==========================================================================
   DİL SEÇİCİ (lang picker)
   ========================================================================== */

.lang-picker {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--olive-700);
  cursor: pointer;
  letter-spacing: .03em;
  transition: background .15s var(--ease), border-color .15s var(--ease);
  white-space: nowrap;
}
.lang-btn:hover { background: var(--cream-deep); border-color: var(--olive-300); }

.lang-btn svg { flex: 0 0 auto; transition: transform .18s var(--ease); }
.lang-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.lang-label { font-variant-numeric: tabular-nums; }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 130px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(68, 48, 32, .13);
  list-style: none;
  margin: 0;
  padding: 4px;
  z-index: 200;
}

.lang-option {
  padding: 8px 11px;
  border-radius: calc(var(--radius) - 2px);
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .12s var(--ease), color .12s var(--ease);
}
.lang-option:hover { background: var(--cream-deep); color: var(--olive-900); }
.lang-option.is-active {
  background: var(--cream-deep);
  color: var(--olive-800);
  font-weight: 600;
}

/* ==========================================================================
   RTL — Arapça desteği (.is-rtl body sınıfı)
   ========================================================================== */

.is-rtl .header-inner,
.is-rtl .site-nav { flex-direction: row-reverse; }

.is-rtl .brand { flex-direction: row-reverse; }
.is-rtl .brand-text { text-align: right; }

.is-rtl .hero-inner { text-align: right; }
.is-rtl .hero-actions { flex-direction: row-reverse; justify-content: flex-end; }

.is-rtl .catalog-head { flex-direction: row-reverse; }
.is-rtl .toolbar { flex-direction: row-reverse; }

.is-rtl .search-field svg { right: auto; left: 12px; }
.is-rtl #search-input { padding-left: 36px; padding-right: 13px; }
.is-rtl .search-clear { left: auto; right: 36px; }

.is-rtl .card-body { text-align: right; }
.is-rtl .card-foot { flex-direction: row-reverse; }
.is-rtl .price-row { flex-direction: row-reverse; }

.is-rtl .trust-item { flex-direction: row-reverse; text-align: right; }

.is-rtl .footer-grid { direction: rtl; }
.is-rtl .footer-brand { text-align: right; }
.is-rtl .footer-bottom { flex-direction: row-reverse; }

.is-rtl .lang-dropdown { right: auto; left: 0; }

/* Inline alerts */
.alert {
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 16px;
  border: 1px solid transparent;
}
.alert[hidden] { display: none; }
.alert.is-error { background: var(--danger-soft); color: #7d2a1f; border-color: rgba(163, 58, 43, .22); }
.alert.is-success { background: var(--success-soft); color: #2b5333; border-color: rgba(61, 107, 69, .25); }
.alert.is-info { background: var(--cream-deep); color: var(--olive-800); border-color: var(--line); }

.spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Utility */
[hidden] { display: none !important; }
.mt-16 { margin-top: 16px; }
.text-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .admin-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }

  .header-inner { gap: 10px; }
  .brand-name { font-size: 20px; }
  .brand-sub { display: none; }
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; font-size: 18px; }

  .site-nav { gap: 2px; }
  .nav-link { padding: 8px 10px; font-size: 13px; }
  .nav-link.nav-hide-sm { display: none; }

  .hero-inner { padding: 52px 18px 48px; }
  .hero-actions .btn { flex: 1 1 auto; }

  .catalog { padding: 40px 0 56px; }
  .catalog-head { gap: 14px; margin-bottom: 20px; }
  .toolbar { padding: 13px; border-radius: var(--radius); }

  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .card-body { padding: 14px 14px 16px; gap: 6px; }
  .card-title { font-size: 18px; }
  .card-desc { font-size: 12.5px; -webkit-line-clamp: 2; line-clamp: 2; }
  .price { font-size: 17px; }
  .card-badge { font-size: 10px; padding: 4px 9px; top: 9px; left: 9px; }

  .trust { padding: 32px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer { padding: 40px 0 22px; }
  .footer-bottom { flex-direction: column; gap: 6px; }

  .login-card { padding: 26px 20px 24px; }
  .admin-main { padding: 20px 0 60px; }
  .panel { padding: 18px; border-radius: var(--radius); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .admin-item { grid-template-columns: 50px minmax(0, 1fr); }
  .admin-item-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .admin-thumb { width: 50px; height: 63px; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 15px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-title { font-size: 16.5px; }
  .btn { padding: 11px 18px; font-size: 14px; }
  .btn-wa { font-size: 12.5px; padding: 10px 12px; }
  .chips { gap: 6px; }
  .chip { padding: 7px 13px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .site-footer, .toolbar, .hero-actions, .btn-wa, .toast-stack { display: none !important; }
}

/* ==========================================================================
   ADMİN — YAN MENÜ DÜZENİ
   ========================================================================== */

/* Yan menülü admin gövdesi */
#admin-view {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}

/* ---- Yan menü ---- */
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: var(--olive-900);
  color: #e8ddd0;
  border-right: 1px solid rgba(255,255,255,.07);
  transition: transform .22s var(--ease);
  z-index: 100;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.sidebar-brand img {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}
.sidebar-store-name {
  font-size: 15px;
  font-weight: 600;
  color: #ede5d8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 10px;
}
.snav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 9px;
  background: transparent;
  border: none;
  color: rgba(232, 221, 208, .72);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.snav-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  opacity: .8;
}
.snav-item:hover {
  background: rgba(255,255,255,.09);
  color: #ede5d8;
}
.snav-item:hover svg { opacity: 1; }
.snav-item.is-active {
  background: rgba(178, 145, 113, .22);
  color: #f0e4d2;
  font-weight: 600;
}
.snav-item.is-active svg { opacity: 1; }

.sidebar-footer {
  padding: 14px 14px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.sidebar-footer .user-pill {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
  color: rgba(232, 221, 208, .8);
  font-size: 12px;
}
.sidebar-footer #admin-email { color: inherit; }

/* ---- Topbar ---- */
.admin-main-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  height: 58px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(42,28,14,.06);
  flex-shrink: 0;
}
.sidebar-toggle {
  display: none;   /* masa üstünde gizli */
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--olive-700);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s var(--ease);
}
.sidebar-toggle:hover { background: var(--cream-deep); }
.sidebar-toggle svg { width: 20px; height: 20px; }
.topbar-title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--olive-900);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Panel geçişi ---- */
.tab-panel { display: block; }
.tab-panel[hidden] { display: none !important; }

/* ---- Ayarlar alt sekmeleri ---- */
.settings-tabs-wrap { display: flex; flex-direction: column; gap: 0; }
.settings-subtabs {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.stab {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.stab:hover { background: var(--cream-deep); color: var(--olive-800); }
.stab.is-active { background: var(--olive-900); color: #ede5d8; border-color: var(--olive-900); }
.stab-panel { display: none; }
.stab-panel.is-active { display: block; }
.stab-panel[hidden] { display: none !important; }
.panel-section-title {
  font-size: 1.15rem;
  color: var(--olive-900);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

/* ---- Dil sekmeleri ---- */
.lang-tabs {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.ltab {
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .14s var(--ease), color .14s var(--ease), border-color .14s var(--ease);
}
.ltab:hover { background: var(--cream-deep); color: var(--olive-800); }
.ltab.is-active { background: var(--olive-900); color: #ede5d8; border-color: var(--olive-900); }

/* ---- Çeşitli form ögeleri ---- */
.lang-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--olive-700);
  border: 1px solid var(--line);
  vertical-align: middle;
  margin-left: 4px;
}
.logo-preview, .banner-preview { border-radius: var(--radius-sm); background-size: contain; background-repeat: no-repeat; background-position: center; }
.logo-preview { width: 72px; height: 72px; border: 1px dashed var(--line); background-color: var(--cream); }
.banner-preview { width: 140px; height: 60px; border: 1px dashed var(--line); background-color: var(--cream); }
.about-item-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  background: var(--paper);
}
.about-item-head {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

/* ---- Vitrin banner şeridi ---- */
.site-banner {
  background: var(--olive-900);
  color: #ede5d8;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  background-size: cover;
  background-position: center;
}
.banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
}
.banner-text { flex: 0 1 auto; }
.banner-link {
  color: var(--brass);
  text-decoration: none;
  font-weight: 700;
  flex-shrink: 0;
}
.banner-link:hover { text-decoration: underline; }

/* ---- Kart görseli yükleme placeholder ---- */
.card-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, var(--cream-deep) 30%, #ede3d499 50%, var(--cream-deep) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite linear;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---- Ürün detay paneli ---- */
.prod-detail-overlay {
  position: fixed; inset: 0;
  z-index: 900;
  background: rgba(26, 16, 8, .72);
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  transition: opacity .24s ease;
  cursor: pointer;
  overflow-y: auto;
}
.prod-detail-overlay.is-open { opacity: 1; }
.prod-detail-inner {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 860px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  cursor: default;
  max-height: 92vh;
  overflow-y: auto;
}
@media (max-width: 620px) {
  .prod-detail-inner { grid-template-columns: 1fr; max-height: none; }
}
.prod-detail-close {
  position: absolute;
  top: 12px; right: 14px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(64,40,20,.12);
  border: 1px solid rgba(64,40,20,.14);
  color: var(--olive-800);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s ease;
}
.prod-detail-close:hover { background: rgba(64,40,20,.22); }
.prod-detail-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, var(--cream-deep), #e6ddcb);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none; /* sağ tık menüsü attachImageProtection ile engellenir */
}
.prod-detail-img[style*="cursor:zoom-in"],
.prod-detail-img[style*="cursor: zoom-in"] { pointer-events: auto; }
.prod-detail-media .prod-detail-img { pointer-events: auto; cursor: zoom-in; }
.pd-spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--brass-soft);
  border-top-color: var(--brass);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  position: absolute;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pd-fallback {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: var(--olive-300);
}
.pd-fallback svg { width: 48px; height: 48px; }
.prod-detail-info {
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}
@media (max-width: 620px) {
  .prod-detail-info { padding: 28px 20px 28px; }
  .prod-detail-media { aspect-ratio: 4 / 3; }
}
.pd-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brass);
  background: var(--cream-deep);
  border-radius: 6px;
  padding: 3px 8px;
  align-self: flex-start;
}
.pd-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 600;
  color: var(--olive-900);
  line-height: 1.2;
}
.pd-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--olive-800);
  letter-spacing: -.01em;
}
.pd-stock {
  font-size: 13px;
  font-weight: 500;
  color: var(--success);
}
.pd-stock.is-low { color: #8a6200; }
.pd-stock.is-out { color: var(--danger); }
.pd-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.pd-wa {
  margin-top: 8px;
  align-self: flex-start;
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 1000;
  background: rgba(30, 20, 10, .78);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .2s ease;
  padding: 16px;
  cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; }
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  object-fit: contain;
  cursor: default;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-close {
  position: fixed;
  top: 14px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.28); }
.lightbox-cap {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-size: 13px;
  text-align: center;
  max-width: 80vw;
  pointer-events: none;
}

/* ---- Kategori ağacı girintisi ---- */
.cat-tree .admin-item[data-depth="1"] .admin-item-body { padding-left: 18px; }
.cat-tree .admin-item[data-depth="2"] .admin-item-body { padding-left: 36px; }

/* ---- Duyarlı: mobil ---- */
@media (max-width: 860px) {
  #admin-view {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: fixed;
    left: 0; top: 0;
    height: 100vh;
    transform: translateX(-100%);
    box-shadow: 4px 0 24px rgba(0,0,0,.22);
  }
  .admin-sidebar.is-open {
    transform: translateX(0);
  }
  .sidebar-toggle {
    display: grid;
  }
  .admin-topbar { padding: 0 16px; }
  .admin-main { padding: 20px 0 60px; }
}

/* ---- Eksik yardımcı sınıflar ---- */
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}
.admin-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.panel-wide {
  max-width: 100%;
}
.settings-section-head {
  font-weight: 600;
  font-size: 13px;
  color: var(--olive-500, #6b7c5c);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 20px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line, #e5ded4);
}
.divider {
  border: none;
  border-top: 1px solid var(--line, #e5ded4);
  margin: 18px 0;
}
.input-readonly {
  background: var(--cream, #faf7f4);
  color: var(--muted, #8b957f);
  cursor: default;
}
@media (max-width: 720px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
}
