/* AYETECH yönetim paneli */
[hidden] { display: none !important; }
:root, [data-theme="light"] {
  --bg: #F4F3F0;
  --surface: #ffffff;
  --surface-2: #F8F7F4;
  --line: #E6E3DD;
  --line-strong: #D3CFC7;
  --fg: #111214;
  --muted: #5E5A54;
  --primary: #111214;
  --on-primary: #ffffff;
  --accent: #FF5A1F; --accent-bg: rgba(255,90,31,.12);
  --success: #15803d; --success-bg: #dcfce7;
  --danger: #b91c1c; --danger-bg: #fee2e2;
  --warning: #a16207; --warning-bg: #fef3c7;
  --info: #1d4ed8; --info-bg: #dbeafe;
  --sidebar: #0B0C0E; --sidebar-fg: #EDEBE7; --sidebar-muted: #9C9890; --sidebar-active: #1A1C20;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(17,18,20,.04), 0 8px 24px rgba(17,18,20,.05);
  --ease: cubic-bezier(.16,1,.3,1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --logo-filter: invert(1);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0B0C0E; --surface: #131418; --surface-2: #1A1C21; --line: #24262C; --line-strong: #353841;
  --fg: #F2F1EE; --muted: #A09C95; --primary: #F2F1EE; --on-primary: #0B0C0E;
  --accent: #FF6A33; --accent-bg: rgba(255,106,51,.14);
  --success: #4ade80; --success-bg: rgba(74,222,128,.12);
  --danger: #f87171; --danger-bg: rgba(248,113,113,.12);
  --warning: #fbbf24; --warning-bg: rgba(251,191,36,.12);
  --info: #93c5fd; --info-bg: rgba(147,197,253,.12);
  --sidebar: #08090A; --sidebar-active: #17191D;
  --shadow: 0 1px 0 rgba(255,255,255,.02);
  --logo-filter: none;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--fg); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--info); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--primary); color: var(--on-primary); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Yerleşim */
.layout { display: grid; min-height: 100dvh; }
@media (min-width: 1024px) { .layout { grid-template-columns: 248px 1fr; } }
.sidebar { background: var(--sidebar); color: var(--sidebar-fg); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; position: fixed; inset: 0 auto 0 0; width: 264px; z-index: 60; transform: translateX(-100%); transition: transform .25s var(--ease); overflow-y: auto; }
.sidebar.open { transform: none; }
@media (min-width: 1024px) { .sidebar { position: sticky; top: 0; height: 100dvh; transform: none; width: auto; } }
.sidebar .brand { display: flex; align-items: center; justify-content: space-between; padding: 4px 10px 20px; }
.sidebar .brand img { height: 18px; width: auto; }
.sidebar .role { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #0a0a0a; background: #fafafa; border-radius: 999px; padding: 2px 8px; }
.sidebar .role.super { background: #fbbf24; }
.nav-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sidebar-muted); padding: 16px 10px 6px; }
.nav a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 10px; text-decoration: none; color: var(--sidebar-muted); font-weight: 500; transition: background .15s, color .15s; }
.nav a i { width: 18px; text-align: center; }
.nav a:hover { color: var(--sidebar-fg); background: var(--sidebar-active); }
.nav a[aria-current="page"] { color: #fff; background: var(--sidebar-active); box-shadow: inset 3px 0 0 var(--accent); }
.nav a[aria-current="page"] i { color: var(--accent); }
.nav .count { margin-left: auto; font-size: 12px; font-weight: 700; background: var(--accent); color: #fff; border-radius: 999px; padding: 0 7px; min-width: 22px; text-align: center; }
.sidebar .spacer { flex: 1; }
.sidebar .me { border-top: 1px solid #262626; padding: 14px 10px 4px; margin-top: 12px; font-size: 13px; color: var(--sidebar-muted); }
.sidebar .me strong { color: var(--sidebar-fg); display: block; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 55; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
@media (min-width: 1024px) { .topbar .menu-btn, .topbar .mobile-brand { display: none; } }
.mobile-brand img { height: 16px; width: auto; }
.topbar .actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.content { padding: 20px 16px 48px; max-width: 1280px; width: 100%; }
@media (min-width: 768px) { .content { padding: 28px 32px 56px; } }
.page-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.page-header h1 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.page-header p { color: var(--muted); }

/* Kart */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.card.soft { background: var(--surface-2); box-shadow: none; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2, .h3 { font-size: 16px; font-weight: 700; }
.grid { display: grid; gap: 16px; }
.grid-2 { display: grid; gap: 12px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid.cols-2 { grid-template-columns: 1fr 1fr; } .grid.cols-3 { grid-template-columns: 2fr 1fr; } }

/* KPI */
.kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0,1fr)); margin-bottom: 16px; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); text-decoration: none; display: block; }
a.kpi:hover { border-color: var(--line-strong); }
.kpi .label { font-size: 13px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.kpi .value { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-top: 6px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.kpi .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Aç/kapa anahtarları */
.toggles { display: grid; gap: 12px; margin-bottom: 16px; }
@media (min-width: 900px) { .toggles { grid-template-columns: repeat(3, 1fr); } }
.toggle-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.toggle-card .t { font-weight: 600; }
.toggle-card .d { font-size: 13px; color: var(--muted); }
.switch { position: relative; display: inline-flex; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; z-index: 1; }
.switch .track { width: 48px; height: 28px; border-radius: 999px; background: var(--line-strong); transition: background .2s var(--ease); position: relative; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 2px solid var(--info); outline-offset: 2px; }
.switch input:disabled + .track { opacity: .45; }

/* Tablo */
.table-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--surface-2); }
td.right, th.right { text-align: right; }
.thumb-sm { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--surface-2); border: 1px solid var(--line); }
.row-link { text-decoration: none; font-weight: 600; }
.row-link:hover { text-decoration: underline; }

/* Rozetler */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.success { background: var(--success-bg); color: var(--success); border-color: transparent; }
.badge.danger { background: var(--danger-bg); color: var(--danger); border-color: transparent; }
.badge.warning { background: var(--warning-bg); color: var(--warning); border-color: transparent; }
.badge.info { background: var(--info-bg); color: var(--info); border-color: transparent; }
.badge.plain::before { display: none; }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; touch-action: manipulation; }
.btn:hover { border-color: var(--fg); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn.primary:hover { opacity: .9; }
.btn.danger { color: var(--danger); border-color: var(--danger-bg); background: var(--danger-bg); }
.btn.danger:hover { border-color: var(--danger); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn.icon { width: 40px; padding: 0; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Formlar */
form.stack, .stack { display: flex; flex-direction: column; gap: 14px; }
fieldset { border: 0; display: flex; flex-direction: column; gap: 8px; }
legend { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
label { font-weight: 600; font-size: 14px; }
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="number"], input[type="search"], input[type="datetime-local"], input[type="date"], input[type="tel"], input:not([type]), select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--info); box-shadow: 0 0 0 3px var(--info-bg); }
input[type="file"] { font-size: 14px; }
.help { font-size: 13px; color: var(--muted); font-weight: 400; }
.field { display: flex; flex-direction: column; gap: 6px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; min-height: 36px; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-bottom: 16px; }
.filters > * { flex: 1 1 160px; }
.filters .btn { flex: 0 0 auto; }

/* Uyarılar */
.alert { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; border: 1px solid transparent; }
.alert.success { background: var(--success-bg); color: var(--success); }
.alert.error { background: var(--danger-bg); color: var(--danger); }
.alert.info { background: var(--info-bg); color: var(--info); }
.alert.warning { background: var(--warning-bg); color: var(--warning); }
.alert ul { padding-left: 18px; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty i { font-size: 28px; margin-bottom: 10px; color: var(--fg); }

/* Grafik */
.chart { width: 100%; height: 220px; display: block; }
.chart .bar { fill: var(--accent); opacity: .85; }
.chart .bar:hover { opacity: 1; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 11px; }

/* Liste */
.list { list-style: none; }
.list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.list li:last-child { border-bottom: 0; }
.bar-inline { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 6px; }
.bar-inline span { display: block; height: 100%; background: var(--fg); }

/* Sekmeler */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a[aria-current="page"] { color: var(--fg); border-color: var(--accent); }

/* Görseller */
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.img-grid figure { position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--surface-2); }
.img-grid img { width: 100%; height: 100%; object-fit: cover; }
.img-grid .remove { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,.7); color: #fff; border: 0; border-radius: 8px; width: 32px; height: 32px; cursor: pointer; display: grid; place-items: center; }
.img-grid .remove input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.img-grid .remove:has(input:checked) { background: var(--danger); }
.img-grid .main-tag { position: absolute; left: 4px; bottom: 4px; font-size: 11px; font-weight: 700; background: #fff; color: #000; padding: 1px 6px; border-radius: 6px; }

.variants-table input { min-height: 38px; padding: 6px 10px; }
.variants-table td { padding: 6px; }

/* Giriş */
.auth-page { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; background: var(--bg); }
.auth-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; box-shadow: var(--shadow); }
.auth-card.wide { max-width: 640px; }
.auth-card h1 { font-size: 22px; margin: 18px 0 4px; }
.auth-card .card { margin: 16px 0; }
.auth-logo { height: 22px; width: auto; }
.invert-light, .logo-themed { filter: var(--logo-filter); }
.checklist { list-style: none; display: grid; gap: 4px; font-size: 14px; margin-top: 8px; }
.checklist .ok span:first-child { color: var(--success); font-weight: 700; }
.checklist .bad span:first-child { color: var(--danger); font-weight: 700; }

.copy-field { display: flex; gap: 8px; }
.copy-field input { font-family: ui-monospace, monospace; font-size: 13px; }
details.card summary { cursor: pointer; font-weight: 700; }
code { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
pre.payload { font-size: 12px; white-space: pre-wrap; word-break: break-word; max-width: 420px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Yeni bölümler */
.custom-print { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.custom-print img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.banner-list { display: grid; gap: 12px; }
.banner-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.banner-row:last-child { border-bottom: 0; padding-bottom: 0; }
.banner-row img { width: 160px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.stars-admin { color: #f59e0b; font-size: 18px; letter-spacing: 1px; white-space: nowrap; }
tr.selected td { background: var(--surface-2); }

/* Canlı bildirim */
.live-toasts { position: fixed; right: 16px; bottom: 16px; z-index: 200; display: flex; flex-direction: column; gap: 8px; max-width: min(360px, calc(100vw - 32px)); }
.live-toast { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #111; color: #fff; text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.25); border-left: 4px solid #22c55e; animation: liveIn .3s ease-out; }
.live-toast.return { border-left-color: #f59e0b; }
.live-toast.review { border-left-color: #fbbf24; }
.live-toast span { font-size: 13px; opacity: .8; }
.live-toast:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#liveBell[aria-pressed="true"] i.fa-solid { color: var(--success); }
@keyframes liveIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .live-toast { animation: none; } }

.wa-table input:not([type=checkbox]) { min-width: 120px; }
.wa-table td { vertical-align: middle; }


/* =========================================================
   Yeni panel bileşenleri
   ========================================================= */
body { transition: background-color .3s; }
.topbar { background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.kpi, .card { transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
a.kpi:hover { transform: translateY(-2px); }
.kpi .label i { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 8px; background: var(--accent-bg); color: var(--accent); font-size: 13px; }
.kpi .trend { font-size: 12px; font-weight: 600; margin-left: 6px; }
.kpi .trend.up { color: var(--success); } .kpi .trend.down { color: var(--danger); }
.cmd-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--muted); font-size: 14px; cursor: pointer; min-width: 220px; }
.cmd-btn:hover { border-color: var(--line-strong); color: var(--fg); }
.cmd-btn kbd, .kbd { margin-left: auto; font: 600 11px/1 var(--font); border: 1px solid var(--line-strong); border-radius: 6px; padding: 3px 6px; background: var(--surface); }
@media (max-width: 720px) { .cmd-btn { min-width: 0; } .cmd-btn span, .cmd-btn kbd { display: none; } .topbar .badge { display: none; } }
.theme-btn .ic-dark { display: none; }
[data-theme="dark"] .theme-btn .ic-dark { display: inline; }
[data-theme="dark"] .theme-btn .ic-light { display: none; }

.cmd { position: fixed; inset: 0; z-index: 300; background: rgba(5,6,8,.5); backdrop-filter: blur(3px); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.cmd-panel { width: min(620px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; animation: cmdIn .22s var(--ease); }
@keyframes cmdIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.cmd-input { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.cmd-input input { border: 0 !important; box-shadow: none !important; min-height: 56px; font-size: 16px; background: transparent; padding: 0; }
.cmd-list { max-height: 52vh; overflow-y: auto; padding: 8px; list-style: none; }
.cmd-list .grp { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 10px 4px; }
.cmd-list a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.cmd-list a i { width: 18px; text-align: center; color: var(--muted); }
.cmd-list a small { margin-left: auto; color: var(--muted); font-size: 12px; }
.cmd-list a[aria-selected="true"] { background: var(--accent-bg); }
.cmd-list a[aria-selected="true"] i { color: var(--accent); }
.cmd-empty { padding: 24px; text-align: center; color: var(--muted); }

/* Yapılacaklar */
.todo { list-style: none; display: grid; gap: 8px; }
.todo a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: var(--surface-2); transition: border-color .15s, transform .15s var(--ease); }
.todo a:hover { border-color: var(--line-strong); transform: translateX(2px); }
.todo .n { font-family: var(--font-display); font-weight: 800; font-size: 20px; min-width: 32px; }
.todo .t { flex: 1; font-weight: 500; }
.todo .warn .n { color: var(--accent); }
.todo-done { display: flex; align-items: center; gap: 10px; color: var(--success); font-weight: 600; padding: 12px 0; }

/* Toplu işlem çubuğu */
.bulk-bar { position: sticky; bottom: 16px; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; margin-top: 12px; border-radius: 14px; background: var(--sidebar); color: var(--sidebar-fg); box-shadow: 0 16px 40px rgba(0,0,0,.25); animation: cmdIn .2s var(--ease); }
.bulk-bar select { min-height: 38px; width: auto; background: var(--sidebar-active); color: var(--sidebar-fg); border-color: #333; }
.bulk-bar .btn { min-height: 38px; }
.bulk-bar .btn.ghost { color: var(--sidebar-fg); }
td.sel, th.sel { width: 36px; padding-right: 0; }
td.sel input, th.sel input { width: 18px; height: 18px; accent-color: var(--accent); }

/* Renk / varyant editörü */
.variants-table .hex { display: flex; align-items: center; gap: 6px; }
.variants-table input[type=color] { width: 38px; height: 38px; min-height: 0; padding: 2px; border-radius: 8px; cursor: pointer; }
.variants-table .w-sm { width: 84px; }
.img-grid select { position: absolute; left: 4px; right: 4px; bottom: 4px; min-height: 28px; padding: 2px 6px; font-size: 12px; border-radius: 6px; background: rgba(255,255,255,.92); color: #111; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; background: var(--surface-2); }
.seg a, .seg button { padding: 6px 12px; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 600; color: var(--muted); border: 0; background: none; cursor: pointer; }
.seg a[aria-current="page"], .seg button[aria-pressed="true"] { background: var(--surface); color: var(--fg); box-shadow: var(--shadow); }
.margin-pill { font-weight: 700; }
.margin-pill.good { color: var(--success); } .margin-pill.bad { color: var(--danger); }
.dropzone { border: 1.5px dashed var(--line-strong); border-radius: 14px; padding: 28px; text-align: center; background: var(--surface-2); }
.dropzone i { font-size: 26px; color: var(--accent); margin-bottom: 8px; }
.chg.plus { color: var(--success); font-weight: 700; } .chg.minus { color: var(--danger); font-weight: 700; }
.dots { display: flex; gap: 4px; margin-top: 4px; }
.dots span { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.variants-table { min-width: 900px; }
.variants-table td:first-child input:not([type=hidden]) { min-width: 150px; }
.variants-table .hex input:not([type=color]) { min-width: 110px; }
.variants-table input[type=checkbox] { width: 18px; height: 18px; min-height: 0; }
#productForm > .stack > button.primary { z-index: 5; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.nav a { min-height: 38px; }
.bulk-bar .btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
