/* ============================================================
   Arti Atolye ERP — Design System v5
   Navy · Slate · Champagne Gold  |  Fine Jewelry ERP
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* ── Backgrounds ───────────────────────────── */
  --bg-base:        #080E1A;   /* very deep navy — replaces pure black  */
  --bg-panel:       #0D1525;   /* sidebar / topbar                       */
  --bg-card:        #132030;   /* card surface                           */
  --bg-hover:       #192C42;   /* hover / row highlight                  */
  --bg-surface:     #1E3450;   /* elevated chips, tags                   */

  /* ── Borders ───────────────────────────────── */
  --border:         #1A2E4A;   /* default border                         */
  --border-strong:  #264668;   /* emphasized border                      */

  /* ── Text ──────────────────────────────────── */
  --text-primary:   #DCE8F5;   /* main text — warm off-white             */
  --text-secondary: #7A9BB8;   /* secondary — slate blue                 */
  --text-muted:     #3E5870;   /* muted labels                           */

  /* ── Champagne Gold accent ─────────────────── */
  --gold:           #C9A84C;
  --gold-light:     #D8BA6E;
  --gold-dim:       #6B5428;
  --gold-glow:      rgba(201,168,76,0.10);

  /* ── Status palette ────────────────────────── */
  --green:          #22C55E;
  --green-bg:       rgba(34,197,94,0.10);
  --green-border:   rgba(34,197,94,0.25);

  --yellow:         #F59E0B;   /* amber — easier on eyes than pure yellow */
  --yellow-bg:      rgba(245,158,11,0.10);
  --yellow-border:  rgba(245,158,11,0.30);

  --red:            #EF4444;
  --red-bg:         rgba(239,68,68,0.10);
  --red-border:     rgba(239,68,68,0.30);

  --orange:         #FB923C;
  --orange-bg:      rgba(251,146,60,0.10);
  --orange-border:  rgba(251,146,60,0.30);

  --blue:           #60A5FA;
  --blue-bg:        rgba(96,165,250,0.10);
  --blue-border:    rgba(96,165,250,0.25);

  --purple:         #A78BFA;
  --purple-bg:      rgba(167,139,250,0.10);

  /* ── Layout ────────────────────────────────── */
  --sidebar-w:      240px;
  --radius:         6px;
  --radius-lg:      10px;
  --radius-xl:      14px;
}

/* ── Reset ──────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ── LAYOUT ─────────────────────────────────────────── */
.layout { display: flex; min-height: 100vh; }

/* ── SIDEBAR ─────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--bg-panel);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.sb-brand {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}
.sb-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.sb-brand-name span { color: var(--gold); }
.sb-brand-sub {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 3px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.sb-user {
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 9px;
}
.sb-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gold-glow);
  border: 1px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--gold);
  flex-shrink: 0;
}
.sb-user-name  { font-size: 12px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-user-role  { font-size: 11px; color: var(--text-muted); }
.sb-store-tag  {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; color: var(--gold);
  background: var(--gold-glow); border: 1px solid var(--gold-dim);
  border-radius: 5px; padding: 3px 10px;
  margin: 8px 20px; letter-spacing: 0.5px; text-transform: uppercase;
}
.sb-section {
  font-size: 9px; font-weight: 700; color: var(--text-muted);
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 12px 20px 4px;
}
.sb-nav { flex: 1; padding: 6px 0; }
.sb-nav a {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 20px; color: var(--text-secondary);
  font-size: 13px; transition: all 0.12s;
  border-left: 2px solid transparent;
}
.sb-nav a:hover   { color: var(--text-primary); background: rgba(255,255,255,0.03); border-left-color: var(--border-strong); }
.sb-nav a.active  { color: var(--gold); background: var(--gold-glow); border-left-color: var(--gold); font-weight: 600; }
.sb-nav a .ico    { width: 16px; text-align: center; opacity: 0.65; flex-shrink: 0; }
.sb-nav a.active .ico { opacity: 1; }
.nav-badge {
  margin-left: auto;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700;
  border-radius: 10px; padding: 1px 6px;
  min-width: 18px; text-align: center;
}
.nav-badge.yl { background: var(--yellow); color: #000; }
.sb-foot {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
}
.sb-foot a { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 12px; transition: color .12s; }
.sb-foot a:hover { color: var(--red); }

/* ── MAIN CONTENT ────────────────────────────────────── */
.main { margin-left: var(--sidebar-w); flex: 1; min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  height: 50px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 26px;
  position: sticky; top: 0; z-index: 50;
}
.topbar-title { font-size: 14px; font-weight: 600; color: var(--text-primary); flex: 1; }
.page-content { padding: 22px 26px; flex: 1; }

/* ── PAGE HEADER ─────────────────────────────────────── */
.ph { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; gap: 14px; flex-wrap: wrap; }
.ph h1 { font-size: 21px; font-weight: 700; letter-spacing: -0.4px; }
.ph p  { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* ── STAT CARDS ──────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 12px; margin-bottom: 22px; }
.stat-card  { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px 16px; }
.stat-label { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 7px; }
.stat-val   { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -0.5px; }
.stat-val.gld { color: var(--gold); }
.stat-val.red { color: var(--red); }
.stat-val.grn { color: var(--green); }
.stat-val.yl  { color: var(--yellow); }
.stat-sub   { font-size: 11px; color: var(--text-muted); margin-top: 5px; }

/* ── CARD ─────────────────────────────────────────────── */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 18px; }
.card-header { padding: 12px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-title  { font-size: 13px; font-weight: 600; }
.card-body   { padding: 16px; }

/* ── TABLE ────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th { background: rgba(0,0,0,0.2); color: var(--text-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 8px 13px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--border); transition: background 0.1s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg-hover); }
tbody td { padding: 9px 13px; vertical-align: middle; }
td.mt { color: var(--text-muted); }
td.mn { font-family: monospace; font-size: 12px; }

/* ── BADGES ────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; border-radius: 5px; padding: 2px 8px; white-space: nowrap; }
.bg-grn { background: var(--green-bg);   color: var(--green); }
.bg-yl  { background: var(--yellow-bg);  color: var(--yellow); }
.bg-red { background: var(--red-bg);     color: var(--red); }
.bg-blu { background: var(--blue-bg);    color: var(--blue); }
.bg-gld { background: var(--gold-glow);  color: var(--gold); }
.bg-mt  { background: var(--bg-surface); color: var(--text-muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot-gld { background: var(--gold); }
.dot-grn { background: var(--green); }
.dot-red { background: var(--red); }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: inherit; font-size: 13px; font-weight: 500; border: none; border-radius: var(--radius); cursor: pointer; padding: 8px 15px; transition: all 0.12s; white-space: nowrap; text-decoration: none; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary   { background: var(--gold); color: #080E1A; font-weight: 700; }
.btn-primary:hover:not(:disabled) { background: var(--gold-light); }
.btn-secondary { background: var(--bg-hover); color: var(--text-primary); border: 1px solid var(--border-strong); }
.btn-secondary:hover:not(:disabled) { background: var(--bg-surface); }
.btn-danger    { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }
.btn-danger:hover:not(:disabled) { background: var(--red); color: #fff; }
.btn-success   { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.btn-success:hover:not(:disabled) { background: var(--green); color: #000; }
.btn-warn      { background: var(--yellow-bg); color: var(--yellow); border: 1px solid var(--yellow-border); }
.btn-warn:hover:not(:disabled) { background: var(--yellow); color: #000; }
.btn-sm  { padding: 4px 10px; font-size: 12px; }
.btn-lg  { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ── FORMS ────────────────────────────────────────────── */
.form-group   { margin-bottom: 14px; }
.form-label   { display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 5px; }
.req          { color: var(--red); margin-left: 2px; }
.form-control {
  display: block; width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: inherit; font-size: 13px;
  padding: 8px 11px;
  transition: border-color 0.12s; outline: none;
}
.form-control:focus { border-color: var(--gold); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 72px; }
.form-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ── FILE DROP ────────────────────────────────────────── */
.file-drop { border: 2px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 32px 20px; text-align: center; cursor: pointer; transition: all .2s; background: var(--bg-panel); }
.file-drop:hover,.file-drop.dragover { border-color: var(--gold); background: var(--gold-glow); }
.file-drop-icon { font-size: 30px; opacity: 0.4; margin-bottom: 9px; }
.file-drop-text { font-size: 13px; color: var(--text-secondary); margin-bottom: 3px; }
.file-drop-hint { font-size: 11px; color: var(--text-muted); }

/* ── ALERTS ──────────────────────────────────────────── */
.alert { display: flex; align-items: flex-start; gap: 9px; padding: 11px 13px; border-radius: var(--radius); font-size: 13px; margin-bottom: 14px; }
.alert-ico { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.alert-warn    { background: var(--yellow-bg); border: 1px solid var(--yellow-border); color: var(--yellow); }
.alert-danger  { background: var(--red-bg);    border: 1px solid var(--red-border);    color: var(--red); }
.alert-success { background: var(--green-bg);  border: 1px solid var(--green-border);  color: var(--green); }
.alert-info    { background: var(--blue-bg);   border: 1px solid var(--blue-border);   color: var(--blue); }

/* ── FLASH ────────────────────────────────────────────── */
.flash { padding: 10px 13px; border-radius: var(--radius); font-size: 13px; font-weight: 500; margin-bottom: 14px; }
.flash-error   { background: var(--red-bg);   color: var(--red);   border: 1px solid var(--red-border); }
.flash-success { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.flash-info    { background: var(--blue-bg);  color: var(--blue);  border: 1px solid var(--blue-border); }

/* ── PRODUCT THUMB ───────────────────────────────────── */
.p-thumb       { width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--border); object-fit: cover; background: var(--bg-panel); flex-shrink: 0; }
.p-thumb-empty { width: 44px; height: 44px; border-radius: var(--radius); border: 1px dashed var(--border-strong); background: var(--bg-panel); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 16px; flex-shrink: 0; }

/* ── EMPTY STATE ─────────────────────────────────────── */
.empty       { text-align: center; padding: 44px 20px; }
.empty-ico   { font-size: 32px; opacity: 0.2; margin-bottom: 10px; }
.empty-title { font-size: 14px; font-weight: 600; color: var(--text-secondary); margin-bottom: 5px; }
.empty-text  { font-size: 12px; color: var(--text-muted); max-width: 260px; margin: 0 auto 14px; }

/* ── MODAL ───────────────────────────────────────────── */
.modal-bg { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 999; align-items: center; justify-content: center; }
.modal-bg.open { display: flex; }
.modal { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; max-width: 440px; width: 90%; }
.modal-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; }

/* ── PAGINATION ──────────────────────────────────────── */
.pager { display: flex; align-items: center; gap: 5px; padding: 12px 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); }
.pager-pages { display: flex; gap: 3px; margin-left: auto; }
.pager-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 5px; font-size: 12px; font-weight: 500; color: var(--text-secondary); background: transparent; border: 1px solid var(--border); cursor: pointer; transition: all .12s; }
.pager-btn:hover { background: var(--bg-hover); color: var(--text-primary); }
.pager-btn.active { background: var(--gold); color: #000; border-color: var(--gold); font-weight: 700; }

/* ── LOGIN ───────────────────────────────────────────── */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-base); background-image: radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.05) 0%, transparent 60%); }
.login-card { width: 100%; max-width: 360px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 32px 28px; }
.login-brand { text-align: center; margin-bottom: 26px; }
.login-name  { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.login-name span { color: var(--gold); }
.login-div   { width: 28px; height: 2px; background: var(--gold-dim); margin: 12px auto; border-radius: 2px; }
.login-sub   { font-size: 11px; color: var(--text-muted); letter-spacing: 1.2px; text-transform: uppercase; }

/* ── UTILS ───────────────────────────────────────────── */
.flex{display:flex} .fc{display:flex;align-items:center} .fb{display:flex;align-items:center;justify-content:space-between}
.gap4{gap:4px} .gap8{gap:8px} .gap12{gap:12px} .gap16{gap:16px}
.mt4{margin-top:4px} .mt8{margin-top:8px} .mt16{margin-top:16px} .mt24{margin-top:24px}
.mb4{margin-bottom:4px} .mb8{margin-bottom:8px} .mb16{margin-bottom:16px} .mb24{margin-bottom:24px}
.tr{text-align:right} .tc{text-align:center}
.c-mt{color:var(--text-muted)} .c-gld{color:var(--gold)} .c-red{color:var(--red)} .c-grn{color:var(--green)} .c-yl{color:var(--yellow)}
.fw5{font-weight:500} .fw6{font-weight:600} .fw7{font-weight:700} .fw8{font-weight:800}
.mn{font-family:monospace} .trunc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w100{width:100%}
.divider{border:none;border-top:1px solid var(--border);margin:18px 0}
.wflag      { display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:var(--red);background:var(--red-bg);border-radius:4px;padding:2px 7px;border:1px solid var(--red-border) }
.wflag-yl   { color:var(--yellow);background:var(--yellow-bg);border-color:var(--yellow-border) }

/* ── MISC SHARED ──────────────────────────────────────── */
.grid-auto{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.kv{display:grid;grid-template-columns:110px 1fr;gap:5px 10px;font-size:12px;margin-top:6px}
.kv .k{color:var(--text-muted);font-weight:700;text-transform:uppercase;font-size:10px;letter-spacing:.4px}
.kv .v{color:var(--text-primary);min-width:0}
.store-edit-row{display:grid;grid-template-columns:70px 160px 1fr 90px 110px;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid var(--border)}
.store-edit-row:last-child{border-bottom:none}

/* ── PRODUCTION NO badge ─────────────────────────────── */
.prod-no{font-size:18px;line-height:1;font-weight:900;font-family:monospace;color:#080E1A;background:var(--gold);border:1px solid var(--gold-dim);border-radius:8px;padding:6px 9px}

/* ===========================================================
   OPERATIONS CSV V5 — CSV Önizleme + Admin Onay Ekranları
   =========================================================== */

/* ── Stat filter pills ───────────────────────────────── */
.op-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.op-stat {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 11px 13px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
}
.op-stat:hover, .op-stat.active {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
}
.op-stat span  { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.op-stat strong{ display: block; font-size: 22px; font-weight: 800; line-height: 1; }
.op-stat strong.yl  { color: var(--yellow); }
.op-stat strong.red { color: var(--red); }
.op-stat strong.grn { color: var(--green); }
.op-stat em    { display: block; font-style: normal; color: var(--text-muted); font-size: 11px; margin-top: 4px; }

/* ── Filter bar ──────────────────────────────────────── */
.op-filterbar     { padding: 10px 14px; }
.op-filter-form   { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.op-search        { flex: 1; min-width: 240px; }

/* ── Sticky action bar ───────────────────────────────── */
.sticky-actions {
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(13, 21, 37, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-strong);
  margin-bottom: 12px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.op-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 14px !important;
}

/* ── Pagination ──────────────────────────────────────── */
.op-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 13px;
}

/* ── ORDER CARD ──────────────────────────────────────── */
.op-order-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.op-order-card.warn   { border-color: rgba(245,158,11,0.40); }
.op-order-card.danger { border-color: rgba(239,68,68,0.50); box-shadow: 0 0 0 1px rgba(239,68,68,0.06) inset; }
.op-order-card.sel-card { border-color: rgba(201,168,76,0.50); background: rgba(201,168,76,0.02); }

/* ── Order card header ───────────────────────────────── */
.op-order-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.015);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  min-height: 48px;
}
.op-group-check {
  display: flex; align-items: center; gap: 6px;
  color: var(--text-muted); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer;
  flex-shrink: 0;
}
.op-order-id {
  font-family: monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.op-order-customer {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.op-order-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-left: auto;
  color: var(--text-muted);
  font-size: 12px;
}

/* ── Shipping / store badges ─────────────────────────── */
.op-badge {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 11px; font-weight: 800; letter-spacing: 0.2px;
  white-space: nowrap;
}
.op-badge-store    { background: var(--gold-glow);    color: var(--gold);   border-color: var(--gold-dim); }
.op-badge-muted    { background: rgba(255,255,255,0.03); color: var(--text-muted); border-color: var(--border); }
.op-badge-express  { background: var(--orange-bg);    color: var(--orange); border-color: var(--orange-border); font-weight: 900; }
.op-badge-intl     { background: var(--blue-bg);      color: var(--blue);   border-color: var(--blue-border); }
.op-badge-warn     { background: var(--yellow-bg);    color: var(--yellow); border-color: var(--yellow-border); }
.op-badge-danger   { background: var(--red-bg);       color: var(--red);    border-color: var(--red-border); }
.op-badge-success  { background: var(--green-bg);     color: var(--green);  border-color: var(--green-border); }

/* ── Ship-by date urgency ────────────────────────────── */
.op-shipby { font-size: 12px; font-weight: 600; }
.op-shipby.overdue  { color: var(--red); }
.op-shipby.today    { color: var(--red); }
.op-shipby.tomorrow { color: var(--orange); }
.op-shipby.soon     { color: var(--yellow); }

/* ── Warning strip ───────────────────────────────────── */
.op-warning-strip {
  display: flex; gap: 5px; flex-wrap: wrap;
  padding: 6px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(245,158,11,0.025);
}
.op-warn-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 900; letter-spacing: 0.4px;
  text-transform: uppercase; border-radius: 999px;
  padding: 2px 9px; border: 1px solid; white-space: nowrap;
}
.op-warn-pill.danger  { color: var(--red);    background: var(--red-bg);    border-color: var(--red-border); }
.op-warn-pill.warn    { color: var(--yellow); background: var(--yellow-bg); border-color: var(--yellow-border); }
.op-warn-pill.express { color: var(--orange); background: var(--orange-bg); border-color: var(--orange-border); }
.op-warn-pill.info    { color: var(--blue);   background: var(--blue-bg);   border-color: var(--blue-border); }
.op-warn-pill.custom  { color: var(--purple); background: var(--purple-bg); border-color: rgba(167,139,250,0.3); }
.op-order-card.danger .op-warning-strip { background: rgba(239,68,68,0.04); }

/* ── Address collapsible ─────────────────────────────── */
.op-address {
  padding: 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.op-address summary {
  cursor: pointer;
  color: var(--text-muted);
  font-weight: 600;
  padding: 6px 14px;
  list-style: none;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.12s;
}
.op-address summary:hover { color: var(--text-secondary); }
.op-address[open] summary { color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.op-address-detail {
  padding: 8px 14px 10px;
  color: var(--text-primary);
  line-height: 1.6;
}

/* ── Item rows ───────────────────────────────────────── */
.op-item-list { display: flex; flex-direction: column; }

.op-item {
  display: grid;
  grid-template-columns: 24px 52px 1fr 120px;
  gap: 0 12px;
  align-items: start;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}
.op-item:last-child { border-bottom: none; }
.op-item.sel        { background: rgba(201,168,76,0.04); }
.op-item:hover      { background: var(--bg-hover); }

.op-item-check { padding-top: 2px; }

/* Thumbnail */
.op-thumb {
  width: 52px; height: 52px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 18px;
}
.op-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Item body */
.op-item-body { min-width: 0; }

.op-name-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}
.op-sku {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}
.op-pname {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 420px;
}
.op-pname.fallback {
  color: var(--text-secondary);
  font-weight: 400;
  font-style: italic;
  font-size: 12px;
}

/* Missing card inline tag */
.op-missing-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--yellow);
  background: var(--yellow-bg);
  border: 1px solid var(--yellow-border);
  border-radius: 4px;
  padding: 1px 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

/* Attribute chips row */
.op-chips {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 3px;
  margin-bottom: 4px;
}
.op-chip {
  font-size: 11px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  white-space: nowrap;
}
.op-chip.karat { color: var(--gold-light); border-color: var(--gold-dim); background: rgba(201,168,76,0.07); }
.op-chip.size  { color: var(--text-primary); font-weight: 600; }

/* Personalization block */
.op-personal {
  font-size: 12px;
  color: var(--text-primary);
  background: rgba(201,168,76,0.055);
  border-left: 2px solid var(--gold);
  padding: 4px 9px;
  border-radius: 0 5px 5px 0;
  margin-top: 5px;
  max-width: 480px;
  white-space: pre-wrap;
  line-height: 1.5;
}
.op-personal-label { font-size: 10px; font-weight: 800; color: var(--gold-dim); text-transform: uppercase; letter-spacing: 0.4px; margin-right: 4px; }

/* Row-level warning (blocked/suspicious/custom) */
.op-row-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 5px;
}
.op-row-flag.danger { color: var(--red);    background: var(--red-bg);    border: 1px solid var(--red-border); }
.op-row-flag.warn   { color: var(--yellow); background: var(--yellow-bg); border: 1px solid var(--yellow-border); }
.op-row-flag.info   { color: var(--blue);   background: var(--blue-bg);   border: 1px solid var(--blue-border); }

/* Price / amount block */
.op-price-block {
  text-align: right;
  white-space: nowrap;
  padding-top: 1px;
}
.op-net-amount {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.op-qty-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--orange);
  background: var(--orange-bg);
  border: 1px solid var(--orange-border);
  border-radius: 999px;
  padding: 1px 7px;
  margin-top: 3px;
}
.op-tid {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  font-family: monospace;
  margin-top: 3px;
}

/* ── Admin risk / store note boxes inside item ───────── */
.op-admin-risk {
  font-size: 11px; line-height: 1.4;
  padding: 5px 8px; border-radius: 5px; margin-top: 6px;
  color: var(--red); background: var(--red-bg); border: 1px solid var(--red-border);
  max-width: 480px;
}
.op-store-note {
  font-size: 11px; line-height: 1.4;
  padding: 5px 8px; border-radius: 5px; margin-top: 5px;
  color: var(--text-secondary); background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  max-width: 480px;
}

/* ── Per-order note section ──────────────────────────── */
.op-note-section {
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.12);
}
.op-note-toggle {
  display: flex; align-items: center; gap: 6px;
  width: 100%;
  padding: 8px 14px;
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  background: none; border: none; font-family: inherit;
  cursor: pointer; text-align: left;
  transition: color 0.12s;
}
.op-note-toggle:hover   { color: var(--text-secondary); }
.op-note-toggle.has-note { color: var(--gold); }
.op-note-body {
  display: none;
  padding: 0 14px 12px;
}
.op-note-body.open { display: block; }
.op-note-body textarea {
  width: 100%;
  min-height: 58px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text-primary);
  padding: 8px 10px;
  font-size: 12px;
  resize: vertical;
  font-family: inherit;
  outline: none;
  transition: border-color 0.12s;
}
.op-note-body textarea:focus { border-color: var(--gold); }

/* ── Admin per-group action bar ──────────────────────── */
.op-admin-actions {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.1);
  flex-wrap: wrap;
}
.op-admin-note-area {
  padding: 0 14px 12px;
  border-top: 1px solid var(--border);
  display: none;
}
.op-admin-note-area.open { display: block; }
.op-admin-note-area label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.4px; margin-bottom: 5px; margin-top: 10px;
}
.op-admin-note-area textarea {
  width: 100%; min-height: 52px;
  background: var(--bg-panel); border: 1px solid var(--border);
  border-radius: 7px; color: var(--text-primary);
  padding: 7px 10px; font-size: 12px; resize: vertical;
  font-family: inherit; outline: none; transition: border-color 0.12s;
}
.op-admin-note-area textarea:focus { border-color: var(--gold); }

/* ── OLD op-* compatibility (kept for non-preview pages) ─ */
.op-item-main{min-width:0}
.op-sku-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:4px}
.op-sku-line strong{font-size:15px;color:var(--gold)}
.op-sku-line span{font-size:11px;color:var(--text-muted)}
.op-product-name{font-size:13px;line-height:1.35;color:var(--text-primary);font-weight:600;margin-bottom:7px}
.op-attrs{display:flex;gap:7px;flex-wrap:wrap;font-size:12px;color:var(--text-muted);margin-bottom:6px}
.op-attrs span{background:rgba(255,255,255,0.035);border:1px solid var(--border);border-radius:5px;padding:2px 6px}
.op-personalization{font-size:12px;color:var(--text-primary);background:rgba(201,168,76,0.06);border-left:2px solid var(--gold);padding:6px 8px;border-radius:6px;margin:6px 0;white-space:normal}
.op-row-badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}
.op-note-box label{display:block;font-size:10px;color:var(--text-muted);font-weight:800;text-transform:uppercase;letter-spacing:.4px;margin-bottom:4px}
.op-note-box textarea{width:100%;min-height:58px;background:var(--bg-base);border:1px solid var(--border);border-radius:8px;color:var(--text-primary);padding:8px;font-size:12px;resize:vertical}
.op-note-box textarea:focus{outline:none;border-color:var(--gold)}
.op-order-head-legacy{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--border);background:rgba(255,255,255,.015);flex-wrap:wrap}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 980px) {
  .op-item { grid-template-columns: 24px 48px 1fr 100px; }
  .op-order-meta { margin-left: 0; width: 100%; }
}
@media (max-width: 700px) {
  .sidebar { transform: translateX(-100%); }
  .main    { margin-left: 0; }
  .op-item { grid-template-columns: 24px 44px 1fr; }
  .op-price-block { grid-column: 3; text-align: left; padding-left: 8px; }
  .op-filter-form > * { width: 100%; margin-bottom: 8px; }
  .op-order-head { align-items: flex-start; }
  .op-pname { max-width: 260px; }
}


/* ===========================================================
   PRODUCTION LIST v6 — Compact table-hybrid layout
   prd-* classes — appended, does not override other pages
   =========================================================== */

/* ── Barcode / search hero ───────────────────────────────── */
.prd-barcode-zone {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.prd-barcode-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.prd-barcode-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.prd-barcode-ico {
  position: absolute;
  left: 12px;
  font-size: 15px;
  color: var(--text-muted);
  pointer-events: none;
}
.prd-barcode-input {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 36px 10px 38px;
  outline: none;
  transition: border-color 0.15s;
}
.prd-barcode-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.12); }
.prd-barcode-input::placeholder { color: var(--text-muted); font-weight: 400; font-size: 13px; }
.prd-barcode-clear {
  position: absolute;
  right: 10px;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 4px;
}
.prd-barcode-clear:hover { color: var(--red); background: var(--red-bg); }
.prd-search-hint {
  margin-top: 7px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.prd-search-hint span::before { content: '·'; margin-right: 4px; }

/* ── Production list container ───────────────────────────── */
.prd-list { width: 100%; }

/* ── Header row ──────────────────────────────────────────── */
.prd-header {
  display: grid;
  grid-template-columns: 28px 148px 1fr 170px 130px 130px 90px 120px 82px 52px;
  gap: 0 8px;
  padding: 6px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
}

/* ── Data row ────────────────────────────────────────────── */
.prd-row {
  display: grid;
  grid-template-columns: 28px 148px 1fr 170px 130px 130px 90px 120px 82px 52px;
  gap: 0 8px;
  align-items: start;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-top: none;
  background: var(--bg-card);
  transition: background 0.1s;
  min-height: 64px;
}
.prd-row:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.prd-row:hover { background: var(--bg-hover); }
.prd-row.sel { background: rgba(201,168,76,0.04); border-color: rgba(201,168,76,0.3); }
.prd-row.prd-cancelled { background: rgba(239,68,68,0.04); border-left: 3px solid rgba(239,68,68,0.5); }
.prd-row.prd-express-row { border-left: 3px solid rgba(251,146,60,0.5); }

/* ── Row cell base ───────────────────────────────────────── */
.prd-cell { min-width: 0; padding-top: 2px; }
.prd-cell-cb { display: flex; align-items: flex-start; padding-top: 4px; }

/* ── Production number badge ─────────────────────────────── */
.prd-no-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  font-weight: 900;
  color: #080E1A;
  background: var(--gold);
  border-radius: 7px;
  padding: 4px 8px;
  min-width: 64px;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.prd-no-badge.no-num {
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 12px;
}

/* ── Status badge ────────────────────────────────────────── */
.prd-status {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 2px 7px;
  margin-top: 4px;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prd-status.active  { background: var(--blue-bg);   color: var(--blue);   border: 1px solid var(--blue-border); }
.prd-status.done    { background: var(--green-bg);  color: var(--green);  border: 1px solid var(--green-border); }
.prd-status.cancel  { background: var(--red-bg);    color: var(--red);    border: 1px solid var(--red-border); }

/* ── Inline warn badges ──────────────────────────────────── */
.prd-warn-badges { display: flex; gap: 3px; flex-wrap: wrap; margin-top: 4px; }
.prd-wbadge {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 1px 6px;
  white-space: nowrap;
  border: 1px solid;
}
.prd-wbadge.miss    { color: var(--yellow); background: var(--yellow-bg); border-color: var(--yellow-border); }
.prd-wbadge.express { color: var(--orange); background: var(--orange-bg); border-color: var(--orange-border); }
.prd-wbadge.multi   { color: var(--blue);   background: var(--blue-bg);   border-color: var(--blue-border); }
.prd-wbadge.risk    { color: var(--red);    background: var(--red-bg);    border-color: var(--red-border); }
.prd-wbadge.custom  { color: var(--purple); background: var(--purple-bg); border-color: rgba(167,139,250,0.3); }
.prd-wbadge.piece   { color: var(--text-secondary); background: var(--bg-surface); border-color: var(--border); }

/* ── Product cell ────────────────────────────────────────── */
.prd-product-cell { display: flex; gap: 9px; align-items: flex-start; }
.prd-img-wrap {
  width: 44px; height: 44px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 16px;
}
.prd-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prd-product-info { min-width: 0; }
.prd-sku-line { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }
.prd-sku {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px; font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.prd-pname {
  font-size: 12px; font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 160px;
}
.prd-pname.fallback { color: var(--text-secondary); font-weight: 400; font-style: italic; }
.prd-pname-miss { font-size: 9px; font-weight: 800; color: var(--yellow); letter-spacing: 0.3px; text-transform: uppercase; }

/* ── Customer cell ───────────────────────────────────────── */
.prd-customer-name { font-size: 12px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.prd-order-id { font-family: monospace; font-size: 11px; color: var(--gold-light); margin-top: 1px; }
.prd-location { font-size: 10px; color: var(--text-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }

/* ── Specs cell ──────────────────────────────────────────── */
.prd-specs { display: flex; flex-direction: column; gap: 3px; }
.prd-spec-chip {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  white-space: nowrap;
}
.prd-spec-chip.karat { color: var(--gold-light); border-color: var(--gold-dim); background: rgba(201,168,76,0.06); }

/* ── Personalization cell ────────────────────────────────── */
.prd-personal-short {
  font-size: 11px;
  color: var(--text-primary);
  background: rgba(201,168,76,0.05);
  border-left: 2px solid var(--gold-dim);
  padding: 3px 6px;
  border-radius: 0 4px 4px 0;
  white-space: pre-wrap;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  max-height: 54px;
}
.prd-stone-info { font-size: 10px; color: var(--text-muted); margin-top: 4px; }

/* ── Net / Kargo cell ────────────────────────────────────── */
.prd-net { font-size: 12px; font-weight: 700; color: var(--text-primary); white-space: nowrap; }
.prd-ship-badge {
  display: inline-block;
  font-size: 9px; font-weight: 900; letter-spacing: 0.3px;
  border-radius: 4px; padding: 1px 5px; margin-top: 3px;
  text-transform: uppercase; white-space: nowrap;
}
.prd-ship-eko     { color: var(--text-muted);   background: var(--bg-surface);   border: 1px solid var(--border); }
.prd-ship-express { color: var(--orange);        background: var(--orange-bg);    border: 1px solid var(--orange-border); }
.prd-ship-intl    { color: var(--blue);          background: var(--blue-bg);      border: 1px solid var(--blue-border); }

/* ── Tracking cell ───────────────────────────────────────── */
.prd-track-has { font-size: 11px; color: var(--green); font-weight: 600; }
.prd-track-carrier { font-size: 10px; color: var(--text-muted); display: block; }
.prd-track-no-text { font-size: 11px; color: var(--text-muted); font-family: monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 110px; display: block; }
.prd-track-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: 1px dashed var(--border-strong);
  border-radius: 5px;
  padding: 3px 8px;
  cursor: pointer; font-family: inherit;
  transition: all 0.12s;
}
.prd-track-btn:hover { color: var(--gold); border-color: var(--gold-dim); background: var(--gold-glow); }

/* ── Days cell ───────────────────────────────────────────── */
.prd-day-chip {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700;
  border-radius: 999px; padding: 2px 8px;
  white-space: nowrap; border: 1px solid;
}
.prd-day-chip.green   { color: var(--green);  background: var(--green-bg);  border-color: var(--green-border); }
.prd-day-chip.yellow  { color: var(--yellow); background: var(--yellow-bg); border-color: var(--yellow-border); }
.prd-day-chip.red     { color: var(--red);    background: var(--red-bg);    border-color: var(--red-border); }
.prd-day-chip.muted   { color: var(--text-muted); background: var(--bg-surface); border-color: var(--border); }
.prd-day-chip.cancel  { color: var(--red);    background: var(--red-bg);    border-color: var(--red-border); font-size: 10px; }

/* ── Action cell ─────────────────────────────────────────── */
.prd-detail-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--bg-hover);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.12s;
}
.prd-detail-btn:hover { background: var(--gold-glow); color: var(--gold); border-color: var(--gold-dim); }

/* ── Tracking expand row ─────────────────────────────────── */
.prd-track-expand {
  border: 1px solid var(--border);
  border-top: none;
  background: rgba(0,0,0,0.15);
  padding: 12px 14px 12px calc(28px + 148px + 8px + 8px + 9px + 44px + 9px + 12px);
  display: none;
}
.prd-track-expand.open { display: block; }
.prd-track-expand-inner {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
  max-width: 700px;
}
.prd-track-expand-inner .form-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; }
.prd-track-expand-inner .form-control { font-size: 13px; background: var(--bg-panel); }
.prd-track-expand-inner .form-group { margin-bottom: 0; }
.prd-track-order-note { font-size: 11px; color: var(--yellow); margin-bottom: 8px; font-weight: 600; }

/* ── Empty production list ───────────────────────────────── */
.prd-empty {
  text-align: center;
  padding: 44px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* ── Pagination ──────────────────────────────────────────── */
.prd-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px 0; color: var(--text-muted); font-size: 13px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1280px) {
  .prd-header,
  .prd-row {
    grid-template-columns: 28px 148px 1fr 160px 120px 0px 80px 110px 76px 48px;
  }
  /* Hide personalization column on smaller screens */
  .prd-header > *:nth-child(6),
  .prd-row    > *:nth-child(6) { display: none; }
}
@media (max-width: 1050px) {
  .prd-header,
  .prd-row {
    grid-template-columns: 28px 140px 1fr 0px 120px 0px 80px 110px 76px 48px;
  }
  .prd-header > *:nth-child(4),
  .prd-row    > *:nth-child(4),
  .prd-header > *:nth-child(6),
  .prd-row    > *:nth-child(6) { display: none; }
}
@media (max-width: 820px) {
  .prd-header { display: none; }
  .prd-row {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 10px 12px;
  }
  .prd-track-expand { padding: 12px 14px; }
}
