/* ============================================================
   magaza/assets/css/yonetim.css — Mağaza YÖNETİMİ stil katmanı — panelin petrol yeşili paleti (25 Eylül 2026; önceden kobalt maviydi).
   ÜRETİLMİŞ DOSYA: admin sayfalarının kullandığı utility sınıflarının
   statik karşılığı, PORTAL PANELİ paletiyle (paper zemin, lacivert
   kenar, amber vurgu — panel/assets/app.css ile aynı aile).

   NEDEN: eski yönetim kabuğu Tailwind CDN yüklüyordu — dış alan adına
   bağımlı, her istekte tarayıcıda derlenen, üretime uygun olmayan bir
   bağımlılık. Sayfa gövdeleri utility sınıflarıyla yazıldığı için 14
   sayfayı elden geçirmek yerine kullanılan sınıflar statik CSS'e
   döküldü ve palet portala çevrildi. CDN öldü, görünüm portalla
   bütünleşti, gövdeler değişmedi.

   Yeni sınıf gerekirse: aynı adlandırma düzeninde buraya elle eklenir
   (bu dosya artık elle bakılır; yeniden üretmek gerekirse kullanılan
   sınıf envanteri admin *.php'lerden çıkarılır).
   ============================================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;border-style:solid;border-width:0}
html{-webkit-text-size-adjust:100%}
body{font-family:"Bricolage Grotesque",system-ui,-apple-system,sans-serif;font-size:15px;line-height:1.55;
  background:rgb(251 248 244);color:rgb(36 28 31)}
img,svg{display:block;max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}
a{color:inherit;text-decoration:none}
table{border-collapse:collapse}
h1,h2,h3{font-family:"Literata",Georgia,serif;font-weight:600;letter-spacing:-.01em;line-height:1.25}
.-ml-2 { margin-left: -8px; }
.absolute { position: absolute; }
.antialiased { -webkit-font-smoothing: antialiased; }
.bg-brand { background-color: rgb(1 81 80); }
.bg-brand-deep { background-color: rgb(36 28 31); }
.bg-brand-lift { background-color: rgb(1 64 63); }
.bg-canvas { background-color: rgb(251 248 244); }
.bg-danger\/8 { background-color: rgb(179 55 43 / 0.08); }
.bg-info\/8 { background-color: rgb(44 110 143 / 0.08); }
.bg-sale\/95 { background-color: rgb(142 47 78 / 0.95); }
.bg-success\/8 { background-color: rgb(37 108 79 / 0.08); }
.bg-surface { background-color: rgb(255 255 255); }
.bg-surface-alt { background-color: rgb(245 240 233); }
.bg-surface\/95 { background-color: rgb(255 255 255 / 0.95); }
.bg-warning\/8 { background-color: rgb(138 90 24 / 0.08); }
.block { display: block; }
.border { border: 1px solid rgb(228 220 210); }
.border-b { border-bottom: 1px solid rgb(228 220 210); }
.border-brand { border-color: rgb(1 81 80); }
.border-danger\/25 { border-color: rgb(179 55 43 / 0.25); }
.border-info\/25 { border-color: rgb(44 110 143 / 0.25); }
.border-line { border-color: rgb(228 220 210); }
.border-line-strong { border-color: rgb(204 194 182); }
.border-success\/25 { border-color: rgb(37 108 79 / 0.25); }
.border-t { border-top: 1px solid rgb(228 220 210); }
.border-warning\/25 { border-color: rgb(138 90 24 / 0.25); }
.border-white\/10 { border-color: rgb(255 255 255 / 0.1); }
.border-white\/15 { border-color: rgb(255 255 255 / 0.15); }
.bottom-1\.5 { bottom: 6px; }
.break-all { word-break: break-all; }
.cursor-pointer { cursor: pointer; }
.divide-line > * + * { border-color: rgb(228 220 210); }
.divide-y > * + * { border-top: 1px solid rgb(228 220 210); }
.file\:bg-brand::file-selector-button { background-color: rgb(1 81 80); }
.file\:cursor-pointer::file-selector-button { cursor: pointer; }
.file\:font-medium::file-selector-button { font-weight: 500; }
.file\:h-10::file-selector-button { height: 40px; }
.file\:mr-3::file-selector-button { margin-right: 12px; }
.file\:px-4::file-selector-button { padding-left: 16px; padding-right: 16px; }
.file\:rounded-lg::file-selector-button { border-radius: 12px; }
.file\:rounded-md::file-selector-button { border-radius: 10px; }
.file\:text-brand-on::file-selector-button { color: rgb(255 255 255); }
.file\:text-label::file-selector-button { font-size: 14px; line-height: 20px; }
.file\:text-sm::file-selector-button { font-size: 13.5px; line-height: 20px; }
.file\:text-white::file-selector-button { color: rgb(255 255 255); }
.flex { display: flex; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.focus\:border-line-strong:focus { border-color: rgb(204 194 182); }
.font-medium { font-weight: 500; }
.font-num { font-family: "Bricolage Grotesque",system-ui,sans-serif; font-variant-numeric: tabular-nums; }
.font-sans { font-family: "Bricolage Grotesque",system-ui,-apple-system,sans-serif; }
.font-semibold { font-weight: 600; }
.font-serif { font-family: "Literata",Georgia,serif; }
.gap-1 { gap: 4px; }
.gap-1\.5 { gap: 6px; }
.gap-2 { gap: 8px; }
.gap-2\.5 { gap: 10px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.h-10 { height: 40px; }
.h-11 { height: 44px; }
.h-16 { height: 64px; }
.h-2 { height: 8px; }
.h-40 { height: 160px; }
.h-5 { height: 20px; }
.h-7 { height: 28px; }
.h-8 { height: 32px; }
.h-9 { height: 36px; }
.hidden { display: none; }
.hover\:bg-brand-lift:hover { background-color: rgb(1 64 63); }
.hover\:bg-brand\/90:hover { background-color: rgb(14 124 116 / 0.9); }
.hover\:bg-danger\/8:hover { background-color: rgb(179 55 43 / 0.08); }
.hover\:bg-sale\/90:hover { background-color: rgb(142 47 78 / 0.9); }
.hover\:bg-surface-alt:hover { background-color: rgb(245 240 233); }
.hover\:bg-surface-alt\/60:hover { background-color: rgb(237 242 240 / 0.6); }
.hover\:bg-surface:hover { background-color: rgb(255 255 255); }
.hover\:text-brand-text:hover { color: rgb(1 64 63); }
.hover\:text-danger:hover { color: rgb(194 38 28); }
.hover\:text-white:hover { color: rgb(255 255 255); }
.hover\:underline:hover { text-decoration: underline; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.leading-relaxed { line-height: 1.6; }
.leading-tight { line-height: 1.25; }
.left-0 { left: 0px; }
.left-1\.5 { left: 6px; }
.line-through { text-decoration: line-through; }
.list-none { list-style: none; }
.max-w-3xl { max-width: 768px; }
.max-w-\[140px\] { max-width: 140px; }
.max-w-\[200px\] { max-width: 200px; }
.mb-1 { margin-bottom: 4px; }
.mb-1\.5 { margin-bottom: 6px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }
.min-h-screen { min-height: 100vh; }
.min-w-0 { min-width: 0; }
.min-w-\[20px\] { min-width: 20px; }
.min-w-\[36px\] { min-width: 36px; }
.min-w-\[720px\] { min-width: 720px; }
.min-w-\[860px\] { min-width: 860px; }
.min-w-\[900px\] { min-width: 900px; }
.ml-auto { margin-left: auto; }
.mt-0\.5 { margin-top: 2px; }
.mt-1 { margin-top: 4px; }
.mt-1\.5 { margin-top: 6px; }
.mt-2 { margin-top: 8px; }
.mt-2\.5 { margin-top: 10px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.my-1\.5 { margin-top: 6px; margin-bottom: 6px; }
.my-4 { margin-top: 16px; margin-bottom: 16px; }
.opacity-0 { opacity: 0; }
.outline-none { outline: none; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.p-1\.5 { padding: 6px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.pl-5 { padding-left: 20px; }
.pt-2\.5 { padding-top: 10px; }
.pt-4 { padding-top: 16px; }
.pt-5 { padding-top: 20px; }
.px-1\.5 { padding-left: 6px; padding-right: 6px; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.px-2\.5 { padding-left: 10px; padding-right: 10px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-5 { padding-left: 20px; padding-right: 20px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.py-0\.5 { padding-top: 2px; padding-bottom: 2px; }
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-10 { padding-top: 40px; padding-bottom: 40px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.py-1\.5 { padding-top: 6px; padding-bottom: 6px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-2\.5 { padding-top: 10px; padding-bottom: 10px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-3\.5 { padding-top: 14px; padding-bottom: 14px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-5 { padding-top: 20px; padding-bottom: 20px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.relative { position: relative; }
.resize-y { resize: vertical; }
.rounded { border-radius: 10px; }
.rounded-2xl { border-radius: 14px; }
.rounded-full { border-radius: 999px; }
.rounded-lg { border-radius: 12px; }
.rounded-md { border-radius: 10px; }
.rounded-xl { border-radius: 14px; }
.select-none { user-select: none; }
.shadow-lg { box-shadow: 0 10px 30px rgba(20,26,40,.14); }
.shrink-0 { flex-shrink: 0; }
.space-y-0\.5 > * + * { margin-top: 2px; }
.space-y-2 > * + * { margin-top: 8px; }
.space-y-2\.5 > * + * { margin-top: 10px; }
.space-y-3 > * + * { margin-top: 12px; }
.space-y-4 > * + * { margin-top: 16px; }
.space-y-5 > * + * { margin-top: 20px; }
.space-y-6 > * + * { margin-top: 24px; }
.text-3xl { font-size: 28px; line-height: 34px; }
.text-\[10\.5px\] { font-size: 10.5px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11\.5px\] { font-size: 11.5px; }
.text-\[11px\] { font-size: 11px; }
.text-\[12\.5px\] { font-size: 12.5px; }
.text-\[12px\] { font-size: 12px; }
.text-\[13px\] { font-size: 13px; }
.text-\[17px\] { font-size: 17px; }
.text-body { font-size: 16px; line-height: 24px; }
.text-brand-on { color: rgb(255 255 255); }
.text-brand-soft { color: rgb(164 205 199); }
.text-brand-text { color: rgb(1 64 63); }
.text-caption { font-size: 12px; line-height: 16px; }
.text-center { text-align: center; }
.text-danger { color: rgb(194 38 28); }
.text-info { color: rgb(44 110 143); }
.text-ink { color: rgb(36 28 31); }
.text-ink-faint { color: rgb(139 152 147); }
.text-ink-muted { color: rgb(95 86 90); }
.text-label { font-size: 14px; line-height: 20px; }
.text-left { text-align: left; }
.text-lg { font-size: 17px; line-height: 26px; }
.text-right { text-align: right; }
.text-sale { color: rgb(142 47 78); }
.text-sm { font-size: 13.5px; line-height: 20px; }
.text-success { color: rgb(11 122 85); }
.text-title { font-size: 18px; line-height: 24px; }
.text-warning { color: rgb(138 90 24); }
.text-white { color: rgb(255 255 255); }
.text-white\/55 { color: rgb(255 255 255 / 0.55); }
.text-white\/70 { color: rgb(255 255 255 / 0.7); }
.text-white\/85 { color: rgb(255 255 255 / 0.85); }
.text-xs { font-size: 12px; line-height: 16px; }
.tnum { font-variant-numeric: tabular-nums; }
.top-1\.5 { top: 6px; }
.tracking-wide { letter-spacing: .02em; }
.transition { transition: all .15s ease; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uppercase { text-transform: uppercase; }
.w-10 { width: 40px; }
.w-16 { width: 64px; }
.w-2 { width: 8px; }
.w-56 { width: 224px; }
.w-60 { width: 240px; }
.w-8 { width: 32px; }
.w-9 { width: 36px; }
.w-full { width: 100%; }
.whitespace-nowrap { white-space: nowrap; }
.z-50 { z-index: 50; }
@media (min-width:1024px) { .lg\:col-span-2 { grid-column: span 2 / span 2; } }
@media (min-width:1024px) { .lg\:flex { display: flex; } }
@media (min-width:1024px) { .lg\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width:1024px) { .lg\:grid-cols-5 { grid-template-columns: repeat(5,minmax(0,1fr)); } }
@media (min-width:1024px) { .lg\:grid-cols-\[1fr_300px\] { grid-template-columns: 1fr 300px; } }
@media (min-width:1024px) { .lg\:grid-cols-\[1fr_320px\] { grid-template-columns: 1fr 320px; } }
@media (min-width:1024px) { .lg\:grid-cols-\[1fr_340px\] { grid-template-columns: 1fr 340px; } }
@media (min-width:1024px) { .lg\:hidden { display: none; } }
@media (min-width:1024px) { .lg\:sticky { position: sticky; } }
@media (min-width:1024px) { .lg\:top-6 { top: 24px; } }
@media (min-width:1280px) { .xl\:grid-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (min-width:640px) { .sm\:col-span-2 { grid-column: span 2 / span 2; } }
@media (min-width:640px) { .sm\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width:640px) { .sm\:grid-cols-5 { grid-template-columns: repeat(5,minmax(0,1fr)); } }
@media (min-width:640px) { .sm\:inline { display: inline; } }
@media (min-width:640px) { .sm\:p-6 { padding: 24px; } }
@media (min-width:640px) { .sm\:px-6 { padding-left: 24px; padding-right: 24px; } }

/* --- üreticinin çözemediği azınlık: elle --- */
.accent-brand { accent-color: rgb(1 81 80); }
.file\:border-0::file-selector-button { border: 0; }
.font-mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.inset-x-1\.5 { left: 6px; right: 6px; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-decimal { list-style: decimal; padding-left: 1.4em; }
.max-h-24 { max-height: 96px; }
.object-cover { object-fit: cover; }
.place-items-center { place-items: center; }
.ring-2 { box-shadow: 0 0 0 2px rgb(14 124 116 / .55); }
.rounded-t { border-top-left-radius: 10px; border-top-right-radius: 10px; }
.top-full { top: 100%; }
.whitespace-pre-wrap { white-space: pre-wrap; }
/* Kitap kapağı oranı — ürün listesi küçük görselleri */
.book-cover { aspect-ratio: 2/3; object-fit: cover; background: rgb(245 240 233); }
@media print { .no-print { display: none !important; } }
/* Durum zeminleri — koşullu (PHP ternary) sınıflar */
.bg-success { background-color: rgb(11 122 85); }
.bg-success\/10 { background-color: rgb(37 108 79 / .1); }
.bg-danger { background-color: rgb(194 38 28); }
.bg-danger\/10 { background-color: rgb(179 55 43 / .1); }
.bg-info\/10 { background-color: rgb(44 110 143 / .1); }
.bg-warning\/10 { background-color: rgb(138 90 24 / .1); }
.bg-gray-100 { background-color: rgb(245 240 233); }
.border-danger { border-color: rgb(194 38 28); }
.text-gray-600 { color: rgb(95 86 90); }
.ring-line-strong { box-shadow: 0 0 0 2px rgb(204 194 182); }
.top-0 { top: 0; }
.h-screen { height: 100vh; }

/* =====================================================================
   PORTAL PANELİ KABUĞU İÇİNDE (25 Eylül 2026)
   Kabuk artık panelin app.css + kurum.css'i; buradakiler yalnız mağazaya
   özgü parçalar. Sıra: yonetim.css → app.css → kurumsal.css → kurum.css,
   bu yüzden aşağıdakiler gövde sınıflarıyla (.mg-yonetim) güçlendirildi.
   ===================================================================== */
.mg-yonetim .navitem__ad { flex: 1; min-width: 0; }
.mg-yonetim .navsay {
  display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--kb-lamba); color: #1c1000; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.mg-yonetim .mg-flash { display: grid; gap: 8px; margin-bottom: 16px; }
.mg-yonetim .flash.bilgi { background: #FDF3E6; border-color: #F2D6AE; color: #7A4A0C; }
.mg-yonetim .mg-icerik { display: block; }
/* Kart ve tablo yüzeyleri panelin kart diliyle: aynı köşe, aynı gölge. */
.mg-yonetim .mg-icerik .rounded-xl.border, .mg-yonetim .mg-icerik .rounded-2xl.border { border-radius: 16px; box-shadow: var(--pk-golge); }
.mg-yonetim .mg-icerik h2 { font-family: var(--yz-kitap); font-weight: 600; letter-spacing: -.01em; }

/* Kırılım sırası: sm: kuralları lg:/xl: kurallarından SONRA yazılmıştı ve
   eşit özgüllükte onları eziyordu (geniş ekranda xl:grid-cols-3 çalışmıyordu).
   Geniş kırılımlar burada yeniden, en sonda. */
@media (min-width:1024px) { .lg\:col-span-2 { grid-column: span 2 / span 2; } }
@media (min-width:1024px) { .lg\:flex { display: flex; } }
@media (min-width:1024px) { .lg\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width:1024px) { .lg\:grid-cols-5 { grid-template-columns: repeat(5,minmax(0,1fr)); } }
@media (min-width:1024px) { .lg\:grid-cols-\[1fr_300px\] { grid-template-columns: 1fr 300px; } }
@media (min-width:1024px) { .lg\:grid-cols-\[1fr_320px\] { grid-template-columns: 1fr 320px; } }
@media (min-width:1024px) { .lg\:grid-cols-\[1fr_340px\] { grid-template-columns: 1fr 340px; } }
@media (min-width:1024px) { .lg\:hidden { display: none; } }
@media (min-width:1024px) { .lg\:sticky { position: sticky; } }
@media (min-width:1024px) { .lg\:top-6 { top: 24px; } }
@media (min-width:1280px) { .xl\:grid-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); } }
/* Izgara hücresindeki tarih kutuları küçülebilsin (esnek öğe varsayılanı min-width:auto). */
.mg-yonetim input[type=date] { min-width: 0; }
