/* admin/assets/admin.css — Keuangan Madrasah Umi */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #4f8ef7;
  --primary-hover: #3a7ae8;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --surface: #1c2030;
  --surface2: #252a3a;
  --border: #2d3349;
  --text-primary: #e2e8f8;
  --text-muted: #7c86a8;
  --font: 'Plus Jakarta Sans', sans-serif;
  --radius: 10px;
  --sidebar-w: 256px;
  --topbar-h: 60px;
}
[data-theme="light"] {
  --bg-primary: #f0f4ff;
  --bg-secondary: #e8edf8;
  --surface: #ffffff;
  --surface2: #f5f7ff;
  --border: #dde2f2;
  --text-primary: #1a2040;
  --text-muted: #5a6282;
}

html, body { height: 100%; }
body { font-family: var(--font); background: var(--bg-primary); color: var(--text-primary); font-size: 14px; line-height: 1.6; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* SIDEBAR */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--sidebar-w);
  background: var(--surface); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; z-index: 100; transition: transform .25s;
}
.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 16px; border-bottom: 1px solid var(--border);
}
.sidebar-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon-wrap {
  width: 42px; height: 42px; border-radius: 10px;
  background: #fff; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}
.logo-title { font-size: 14px; font-weight: 700; line-height: 1.2; }
.logo-sub { font-size: 11px; color: var(--text-muted); }
.sidebar-close { display: none; background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 18px; }
.sidebar-nav { flex: 1; overflow-y: auto; padding: 12px; }
.nav-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  color: var(--text-muted); text-transform: uppercase; padding: 12px 8px 6px;
}
.nav-group { margin-bottom: 2px; }
.nav-section-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: none; outline: none; cursor: pointer; text-align: left;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; border-radius: var(--radius);
  color: var(--text-muted); text-transform: uppercase; padding: 12px 8px 6px;
}
.nav-section-toggle:hover { color: var(--text-primary); }
.nav-section-toggle:focus-visible { box-shadow: 0 0 0 2px var(--primary); }
.nav-chevron { font-size: 10px; transition: transform .2s; }
.nav-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); margin-left: 6px; vertical-align: middle; }
.nav-group.open .nav-chevron { transform: rotate(90deg); }
.nav-section-items { display: none; }
.nav-group.open .nav-section-items { display: block; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: var(--radius); color: var(--text-muted); text-decoration: none;
  font-size: 13px; font-weight: 500; transition: all .15s; margin-bottom: 2px;
}
.nav-item:hover { background: var(--surface2); color: var(--text-primary); }
.nav-item.active { background: rgba(79,142,247,.12); color: var(--primary); font-weight: 600; }
.nav-icon { font-size: 15px; width: 20px; text-align: center; }
.badge-count { margin-left: auto; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 10px; }
.sidebar-footer { padding: 16px; border-top: 1px solid var(--border); }
.admin-info { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.admin-avatar {
  width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), #7c5cf4);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.admin-name { font-size: 13px; font-weight: 600; }
.admin-role { font-size: 11px; color: var(--text-muted); }
.btn-logout {
  display: block; width: 100%; text-align: center;
  background: var(--surface2); color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 8px; font-size: 13px; font-weight: 500; text-decoration: none; transition: all .15s;
}
.btn-logout:hover { background: rgba(239,68,68,.1); color: var(--danger); border-color: var(--danger); }

/* TOPBAR */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--topbar-h);
  background: var(--surface); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 20px; gap: 12px;
}
.hamburger { display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; font-size: 20px; color: var(--text-primary); }
.topbar-title { font-size: 16px; font-weight: 700; flex: 1; }
.topbar-actions { display: flex; gap: 8px; }
.topbar-btn {
  position: relative; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 8px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 15px; text-decoration: none; color: var(--text-primary); transition: background .15s;
}
.topbar-btn:hover { background: var(--border); }
.notif-dot {
  position: absolute; top: -3px; right: -3px;
  background: var(--danger); color: #fff; width: 16px; height: 16px;
  border-radius: 50%; font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* MAIN */
.main-wrapper { margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }
/*.page-content { padding: 24px; flex: 1; } */
.page-content { padding: 24px; flex: 1; min-width: 0; }

.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 99; }

/* Collapse sidebar di desktop — konten melebar mengisi ruang (push), beda dari overlay mobile */
@media (min-width: 769px) {
  html.sidebar-collapsed .sidebar { transform: translateX(-100%); }
  html.sidebar-collapsed .main-wrapper { margin-left: 0; }
}

/* PAGE HEADER */
.page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.page-title { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.page-subtitle { color: var(--text-muted); font-size: 13px; margin: 0; }

/* STAT CARDS */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
}
.stat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.stat-content { flex: 1; min-width: 0; }
.stat-value { font-size: 20px; font-weight: 800; line-height: 1.25; word-break: break-word; }
.stat-label { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* CARD */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 20px; }
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 10px;
  font-weight: 700; font-size: 14px;
}
.card-body { padding: 20px; }
.card-footer { padding: 12px 20px; border-top: 1px solid var(--border); }

/* TABLE */
.table-wrapper { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table thead th {
  background: var(--surface2); padding: 10px 14px; text-align: left;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--text-muted); white-space: nowrap;
}
.table tbody td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: var(--surface2); }

/* BADGE */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.badge-success  { background: rgba(34,197,94,.12);  color: var(--success); }
.badge-warning  { background: rgba(245,158,11,.12); color: var(--warning); }
.badge-danger   { background: rgba(239,68,68,.12);  color: var(--danger); }
.badge-info     { background: rgba(79,142,247,.12); color: var(--primary); }
.badge-secondary{ background: var(--surface2); color: var(--text-muted); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none;
  transition: all .15s; font-family: var(--font); white-space: nowrap;
}
.btn-primary   { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--surface2); color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--border); }
.btn-success   { background: var(--success); color: #fff; }
.btn-success:hover { filter: brightness(1.1); }
.btn-danger    { background: var(--danger); color: #fff; }
.btn-danger:hover { filter: brightness(1.1); }
.btn-warning   { background: var(--warning); color: #fff; }
.btn-info      { background: var(--primary); color: #fff; }
.btn-sm        { padding: 5px 10px; font-size: 12px; }
.btn:disabled  { opacity: .5; cursor: not-allowed; }

/* FORMS */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.form-control {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 8px; padding: 9px 12px; color: var(--text-primary);
  font-family: var(--font); font-size: 14px; outline: none;
  transition: border-color .2s; width: 100%;
}
.form-control:focus { border-color: var(--primary); }
select.form-control option { background: var(--surface2); }
textarea.form-control { resize: vertical; min-height: 80px; }

/* MODAL */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 200; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-dialog { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.modal-title { font-size: 16px; font-weight: 700; }
.modal-close { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 20px; line-height: 1; }
.modal-body { padding: 20px; }
.modal-footer { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* ALERT */
.alert { padding: 12px 16px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 8px; }
.alert-success { background: rgba(34,197,94,.1);  color: var(--success); border: 1px solid rgba(34,197,94,.2); }
.alert-danger  { background: rgba(239,68,68,.1);  color: var(--danger);  border: 1px solid rgba(239,68,68,.2); }
.alert-warning { background: rgba(245,158,11,.1); color: var(--warning); border: 1px solid rgba(245,158,11,.2); }
.alert-info    { background: rgba(79,142,247,.1); color: var(--primary); border: 1px solid rgba(79,142,247,.2); }

/* UTILS */
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger  { color: var(--danger)  !important; }
.text-warning { color: var(--warning) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-center  { text-align: center; }
.fw-bold      { font-weight: 700; }
.mb-3         { margin-bottom: 12px; }
.mb-0         { margin-bottom: 0; }

/* FILTER TABS */
.filter-tabs { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-tab {
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500;
  text-decoration: none; color: var(--text-muted);
  background: var(--surface2); border: 1px solid var(--border); transition: all .15s;
}
.filter-tab.active, .filter-tab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* PAGINATION */
.pagination { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; margin-top: 16px; }

/* PROGRESS */
.progress-bar { height: 6px; background: var(--surface2); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width .3s; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   Semua card & tabel menyusun ke bawah, 1 kolom per layar
══════════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 768px) ──────────────────────────────────────── */
@media (max-width: 768px) {
  /* Sidebar */
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay { display: none; }
  .sidebar-overlay.open { display: block; }
  .sidebar-close { display: block; }
  .main-wrapper { margin-left: 0; }
  .hamburger { display: flex; }
  .nav-section-toggle { padding: 14px 8px; font-size: 11px; }
  .nav-item { padding: 11px 12px; }
  .page-content { padding: 14px; }

  /* Stats grid → 2 kolom */
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .stat-value { font-size: 15px; }
  .stat-icon { width: 40px; height: 40px; font-size: 18px; }
  .stat-label { font-size: 10px; }

  /* Page header: tombol ke bawah judul */
  .page-header { flex-direction: column; align-items: stretch; gap: 10px; }
  .page-header > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; }
  .page-title { font-size: 18px; }

  /* Grid umum → 1 kolom */
  [style*="grid-template-columns:repeat(3"] ,
  [style*="grid-template-columns: repeat(3"] ,
  [style*="grid-template-columns:repeat(4"] ,
  [style*="grid-template-columns: repeat(4"] ,
  [style*="grid-template-columns:repeat(5"] ,
  [style*="grid-template-columns: repeat(5"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:2fr"] ,
  [style*="grid-template-columns: 2fr"] ,
  [style*="grid-template-columns:1fr 380"] ,
  [style*="grid-template-columns:1fr 400"] ,
  [style*="grid-template-columns:1fr 340"] ,
  [style*="grid-template-columns:3fr 2fr"] ,
  [style*="grid-template-columns:3fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Tabel: scroll horizontal agar tidak patah */
  .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table { min-width: 500px; }
  .table thead th { font-size: 10px; padding: 8px 10px; }
  .table tbody td { font-size: 12px; padding: 9px 10px; }

  /* Modal full-width */
  .modal { padding: 8px; }
  .modal-dialog { max-width: 100% !important; border-radius: 12px; }
  .modal-body { padding: 14px; }

  /* Card */
  .card-body { padding: 14px; }
  .card-header { padding: 12px 14px; font-size: 13px; }

  /* Kasir kantin: produk grid 2 kolom */
  #produk-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .kcard { padding: 10px 8px !important; }
  .kcard > div:first-child { font-size: 22px !important; }

  /* Buku besar sticky top off */
  [style*="position:sticky"] { position: static !important; }

  /* Btn grup wrap */
  .page-header .btn { font-size: 12px; padding: 7px 12px; }
}

/* ── Mobile kecil (≤ 480px) ────────────────────────────────── */
@media (max-width: 480px) {
  /* Stats: 1 kolom penuh */
  .stats-grid { grid-template-columns: 1fr !important; gap: 8px; }
  .stat-card { padding: 14px 16px; }
  .stat-value { font-size: 18px; }
  .stat-label { font-size: 11px; }

  /* Page content lebih rapat */
  .page-content { padding: 10px; }

  /* Kasir: keranjang full width, produk di atas */
  #produk-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }

  /* Tabel minimum width lebih kecil */
  .table { min-width: 420px; font-size: 11px; }
  .table thead th { padding: 7px 8px; font-size: 10px; }
  .table tbody td { padding: 8px 8px; }

  /* Modal */
  .modal-dialog { margin: 0; border-radius: 12px 12px 0 0; max-height: 92vh !important; }
  .modal { align-items: flex-end !important; padding: 0 !important; }
  .modal-header { padding: 14px 16px; }
  .modal-footer { padding: 12px 16px; }

  /* Form grid → 1 kolom */
  .modal-body [style*="grid-template-columns:1fr 1fr"] ,
  .modal-body [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .modal-body [style*="grid-column:1/-1"] ,
  .modal-body [style*="grid-column: 1/-1"] {
    grid-column: 1 !important;
  }

  /* Button kecil */
  .btn { font-size: 12px; padding: 7px 12px; }
  .btn-sm { font-size: 11px; padding: 4px 8px; }

  /* Page header stack */
  .page-header { gap: 8px; }
  .page-title { font-size: 16px; }
  .page-subtitle { font-size: 12px; }
  .page-header > div:last-child { flex-direction: column; }
  .page-header > div:last-child .btn { width: 100%; justify-content: center; }

  /* Filter tabs wrap rapat */
  .filter-tabs { gap: 4px; }
  .filter-tab { font-size: 12px; padding: 5px 10px; }

  /* Topbar */
  .topbar-title { font-size: 14px; }

  /* Alert compact */
  .alert { font-size: 12px; padding: 10px 12px; }

  /* Card */
  .card-body { padding: 12px; }
  .card-header { padding: 10px 12px; }
}

/* ── Override khusus Kasir Kantin ≤ 480px ─────────────────── */
@media (max-width: 480px) {
  /* Layout kasir: produk di atas, keranjang di bawah */
  div[style*="grid-template-columns:1fr 380px"],
  div[style*="grid-template-columns:1fr 400px"],
  div[style*="grid-template-columns:1fr 360px"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  /* Keranjang tidak sticky di mobile */
  div[style*="position:sticky;top:16px"] {
    position: static !important;
  }
  /* Kantin kasir: produk grid 2 kolom */
  div[style*="grid-template-columns:repeat(auto-fill,minmax(140px"] ,
  div[style*="grid-template-columns:repeat(auto-fill,minmax(150px"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── Override khusus Buku Besar ≤ 768px ───────────────────── */
@media (max-width: 768px) {
  /* 5 stat cards → 2 per baris */
  div[style*="grid-template-columns:repeat(5,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  div[style*="grid-template-columns:repeat(5,1fr)"],
  div[style*="grid-template-columns:repeat(4,1fr)"],
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Pembangunan proyek card grid ≤ 768px ─────────────────── */
@media (max-width: 768px) {
  div[style*="grid-template-columns:repeat(auto-fill,minmax(320px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Buku besar chart + table ≤ 768px ────────────────────── */
@media (max-width: 768px) {
  div[style*="grid-template-columns:3fr 2fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Pengajuan detail: 2 kolom → 1 ≤ 768px ───────────────── */
@media (max-width: 768px) {
  div[style*="grid-template-columns:1fr 340px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Tab panel overflow fix ───────────────────────────────── */
@media (max-width: 768px) {
  #tab-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  #tab-nav::-webkit-scrollbar { height: 0; }
}

/* ── Tabel rincian gaji modal ─────────────────────────────── */
@media (max-width: 480px) {
  .modal-body table { min-width: 280px; font-size: 12px; }
}
/* ══════════════════════════════════════════════════════════════
   TWO-COL-GRID: Dashboard / Tagihan Buat / Setting
   Di mobile, dua kolom sejajar → stack vertikal
══════════════════════════════════════════════════════════════ */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .two-col-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}
/* santri-table card view removed */

/* ══════════════════════════════════════════════════════════════
   Form Edit Santri — 1 kolom di mobile (modal)
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Modal body form grid → 1 kolom */
  .mobile-form-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  /* Hapus grid-column span karena sudah 1 kolom */
  .mobile-form-grid .form-group[style*="grid-column"] {
    grid-column: 1 !important;
  }
  /* Setiap form-group full width */
  .mobile-form-grid .form-group {
    margin: 0 !important;
    width: 100% !important;
  }
}
/* ══════════════════════════════════════════════════════════════
   Santri Detail — profil + tagihan stack vertikal di mobile
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Kolom profil kiri dan tagihan kanan → tumpuk ke bawah */
  .profil-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .profil-grid > div {
    width: 100% !important;
    min-width: 0 !important;
  }
}
/* bb-grid mobile handled by two-col-grid + table-wrapper scroll */

/* ══════════════════════════════════════════════════════════════
   Kasir Kantin — produk + keranjang stack vertikal di mobile
══════════════════════════════════════════════════════════════ */
/* Desktop: produk lebar fleksibel, keranjang fixed 400px */
.kasir-grid {
  grid-template-columns: 1fr 400px;
}

@media (max-width: 768px) {
  /* Mobile: tumpuk vertikal, produk atas keranjang bawah */
  .kasir-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .kasir-grid > div {
    width: 100% !important;
    min-width: 0 !important;
  }
  .kasir-grid .card {
    max-width: 100%;
  }
}

/* ══════════════════════════════════════════════════════════════
   Kasir Kantin — Tabel Produk: scroll horizontal standar
   (konsisten dengan pola tabel lain di sistem ini, BUKAN card)
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Cart item: pastikan tidak overflow di layar sempit */
  .cart-item {
    overflow: hidden;
  }
}
