:root {
  --main: #B91372;
  --accent: #FC5296;
  --main-rgb: 185, 19, 114;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f8f9fc;
  --text: #1d2534;
  --muted: #778095;
  --line: #e6e9f1;
  --warning: #a86b00;
  --warning-bg: #fff8e6;
  --sidebar: #171b27;
  --sidebar-muted: #8f98ac;
  --shadow: 0 10px 30px rgba(31, 38, 56, .07);
  --radius: 16px;
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-border-color: var(--line);
  --bs-font-sans-serif: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

button, input, select { font: inherit; }

.app { display: flex; min-height: 100vh; }

.sidebar {
  width: 255px;
  position: fixed;
  inset: 0 auto 0 0;
  background:
    radial-gradient(circle at 0 0, rgba(var(--main-rgb), .24), transparent 36%),
    var(--sidebar);
  color: white;
  padding: 22px 16px;
  transition: width .25s ease, transform .25s ease;
  z-index: 10;
  border-right: 1px solid rgba(255,255,255,.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--main), var(--accent));
  box-shadow: 0 8px 24px rgba(var(--main-rgb), .28);
}

.brand-name { font-weight: 700; font-size: 14px; }
.brand-sub { color: var(--sidebar-muted); font-size: 12px; margin-top: 3px; }

.nav { padding-top: 18px; }
.nav-label {
  color: #6e778c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  margin: 20px 10px 8px;
}

.nav-item {
  color: #cbd1de;
  text-decoration: none;
  display: grid;
  grid-template-columns: 24px 1fr 18px;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  margin: 3px 0;
  font-size: 14px;
  font-weight: 500;
}

.nav-item:hover { background: rgba(255,255,255,.06); color: white; }
.nav-item.active {
  color: white;
  background: linear-gradient(90deg, rgba(var(--main-rgb), .34), rgba(var(--main-rgb), .12));
  border: 1px solid rgba(255,255,255,.06);
}

.nav-item.active::before {
  content: "";
  width: 3px;
  background: var(--accent);
  border-radius: 4px;
  position: absolute;
  left: 16px;
  height: 26px;
}

.nav-item .icon { opacity: .95; }
.chev { text-align: right; color: #687186; }

.collapse-btn {
  position: absolute;
  bottom: 22px;
  left: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: white;
  cursor: pointer;
  font-size: 22px;
}

.main {
  width: calc(100% - 255px);
  margin-left: 255px;
  min-width: 0;
  transition: width .25s ease, margin-left .25s ease;
}

.topbar {
  height: 74px;
  position: sticky;
  top: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.search-wrap {
  height: 42px;
  width: min(520px, 48vw);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.search-icon { padding-left: 13px; color: var(--muted); }
.search-wrap input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 12px;
  min-width: 0;
}
.search-wrap select {
  border: 0;
  border-left: 1px solid var(--line);
  background: white;
  padding: 0 12px;
  height: 100%;
  color: var(--text);
}

.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid var(--line); background: white; cursor: pointer;
}
.badge-wrap { position: relative; }
.mini-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 18px; height: 18px; border-radius: 99px;
  display: grid; place-items: center; background: var(--main); color: white;
  font-size: 10px; font-weight: 700; border: 2px solid white;
}

.user-switch { display: flex; align-items: center; gap: 9px; margin-left: 5px; }
.avatar {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  color: white; font-weight: 700; background: linear-gradient(135deg, var(--main), var(--accent));
}
.user-name { font-size: 13px; font-weight: 700; }
.user-role { font-size: 11px; color: var(--muted); margin-top: 2px; }
.user-switch select {
  border: 0; background: transparent; color: var(--muted);
  max-width: 22px; cursor: pointer;
}
.mobile-menu { display: none; }

.content { padding: 30px 30px 18px; max-width: 1680px; margin: 0 auto; }

.page-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 18px;
  margin-bottom: 22px;
}
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--main); }
h1 { font-size: 32px; letter-spacing: -.035em; margin: 6px 0 5px; }
h2 { font-size: 19px; letter-spacing: -.02em; margin: 0; }
.page-head p, .theme-head p { margin: 0; color: var(--muted); font-size: 14px; }
.page-actions { display: flex; gap: 10px; }

.btn {
  border-radius: 11px;
  min-height: 42px;
  padding-inline: 16px;
  font-weight: 700;
}
.btn-theme {
  --bs-btn-color: #fff;
  --bs-btn-border-color: var(--main);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-border-color: var(--main);
  --bs-btn-active-color: #fff;
  --bs-btn-active-border-color: var(--main);
  color: white;
  background: linear-gradient(135deg, var(--main), var(--accent));
  box-shadow: 0 8px 24px rgba(var(--main-rgb), .22);
}
.btn-theme:hover,
.btn-theme:focus {
  color: white;
  filter: brightness(.98);
}
.btn-outline-secondary {
  --bs-btn-color: var(--text);
  --bs-btn-border-color: var(--line);
  --bs-btn-hover-color: var(--text);
  --bs-btn-hover-bg: var(--surface-2);
  --bs-btn-hover-border-color: #d7dce7;
  background: white;
}
.btn-warning-soft {
  --bs-btn-color: var(--warning);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #f3dfaa;
  --bs-btn-hover-color: var(--warning);
  --bs-btn-hover-bg: var(--warning-bg);
  --bs-btn-hover-border-color: #e8cc80;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.freshness {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  margin-bottom: 18px;
  border-color: #f0d89c;
  background: linear-gradient(90deg, #fffaf0, #fffdf8);
}
.freshness-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--warning-bg); color: var(--warning);
}
.freshness-title { font-size: 14px; font-weight: 700; }
.freshness-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.freshness-pills { display: flex; gap: 7px; flex-wrap: wrap; }
.status-pill {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
}
.status-pill.warning { background: var(--warning-bg); color: var(--warning); }
.status-pill.draft { background: rgba(var(--main-rgb), .09); color: var(--main); }

.stats-grid { margin-bottom: 18px; }
.stat-card {
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 17px 18px; box-shadow: 0 5px 18px rgba(30,37,52,.04);
}
.stat-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.stat-value { font-size: 30px; font-weight: 700; letter-spacing: -.04em; margin-top: 9px; }
.stat-value.small-value { font-size: 19px; color: var(--warning); margin-top: 14px; }
.stat-note { font-size: 11px; color: var(--muted); margin-top: 5px; }

.orders-card { overflow: hidden; }
.tabs {
  min-height: 58px; display: flex; align-items: flex-end; gap: 5px;
  padding: 0 16px; border-bottom: 1px solid var(--line); overflow-x: auto;
}
.tab {
  border: 0; background: transparent; height: 58px; padding: 0 16px;
  color: var(--muted); font-weight: 700; cursor: pointer; position: relative; white-space: nowrap;
}
.tab span {
  margin-left: 5px; padding: 2px 7px; border-radius: 99px; background: #eef0f5; font-size: 10px;
}
.tab.active { color: var(--main); }
.tab.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px;
  height: 3px; border-radius: 3px 3px 0 0; background: var(--main);
}
.tab.active span { background: rgba(var(--main-rgb), .1); }

.table-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px;
}
.table-title-wrap { display: flex; align-items: baseline; gap: 9px; }
.muted { color: var(--muted); font-size: 12px; }
.toolbar-actions { display: flex; gap: 8px; }
.toolbar-actions input, .toolbar-actions select {
  height: 38px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2);
  padding: 0 12px; outline: none;
}
.toolbar-actions input:focus, .toolbar-actions select:focus { border-color: rgba(var(--main-rgb), .5); }

.toolbar-actions .form-control,
.toolbar-actions .form-select {
  min-width: 190px;
  box-shadow: none;
}
.toolbar-actions .form-control:focus,
.toolbar-actions .form-select:focus {
  border-color: rgba(var(--main-rgb), .5);
  box-shadow: 0 0 0 .2rem rgba(var(--main-rgb), .08);
}

.table-zone { min-width: 0; }
.table-zone .dt-layout-table {
  overflow-x: auto;
  margin: 0 !important;
}
table { width: 100%; border-collapse: collapse; min-width: 920px; }
#ordersTable {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text);
  --bs-table-hover-bg: #fcfcfe;
  --bs-table-hover-color: var(--text);
}
th {
  text-align: left; color: var(--muted); background: #fafbfc; font-size: 11px;
  text-transform: uppercase; letter-spacing: .06em; padding: 11px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
td { padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
tbody tr:hover { background: #fcfcfe; }
.order-type { font-weight: 700; }
.source { color: #9c7a37; }
.destination {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
}
.destination::before {
  content: ""; width: 9px; height: 9px; border-radius: 3px; background: currentColor;
}
.view-btn {
  min-height: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  padding: 0 11px;
  cursor: pointer;
  font-weight: 700;
  color: var(--main);
}
.view-btn:hover { border-color: var(--main); background: rgba(var(--main-rgb), .03); }

/* DataTables 3 + Bootstrap 5 integration */
.dt-container {
  color: var(--text);
}
.dt-container .dt-layout-row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.dt-container .dt-layout-row:not(.dt-layout-table) {
  margin-top: 0 !important;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.dt-container .dt-info {
  padding-top: 0 !important;
  color: var(--muted);
}
.dt-container .pagination {
  gap: 5px;
  margin: 0;
}
.dt-container .page-link {
  min-width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px !important;
  background: white;
  color: var(--text);
  box-shadow: none !important;
}
.dt-container .page-item.active .page-link {
  background: var(--main);
  color: white;
  border-color: var(--main);
}
.dt-container .page-item.disabled .page-link {
  color: #aab1c0;
  background: #f7f8fa;
}
.dt-container .page-link:hover {
  color: var(--main);
  border-color: rgba(var(--main-rgb), .35);
  background: rgba(var(--main-rgb), .04);
}
.dt-container .page-item.active .page-link:hover {
  color: white;
  background: var(--main);
}
.dt-container .dt-column-order {
  opacity: .55;
}
.dt-container th[aria-sort] .dt-column-order {
  opacity: 1;
}

.theme-card { margin-top: 18px; padding: 20px; }
.theme-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.theme-head h2 { margin: 5px 0 6px; }
.theme-preview { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.swatch { width: 28px; height: 28px; display: inline-block; border-radius: 8px; border: 1px solid rgba(0,0,0,.08); }
.main-swatch { background: var(--main); }
.accent-swatch { background: var(--accent); }

.theme-grid {
  margin-top: 18px;
  display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px;
}
.theme-chip {
  border: 1px solid var(--line); background: #fff; border-radius: 12px;
  padding: 11px; display: flex; align-items: center; gap: 9px; cursor: pointer;
}
.theme-chip:hover { border-color: var(--chip-main); }
.theme-dot {
  width: 28px; height: 28px; border-radius: 9px;
  background: linear-gradient(135deg, var(--chip-main), var(--chip-accent));
}
.theme-chip .name { font-size: 12px; font-weight: 700; }
.theme-chip .hex { font-size: 10px; color: var(--muted); margin-top: 2px; }

.footer {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 30px 28px; color: var(--muted); font-size: 11px;
  max-width: 1680px; margin: 0 auto;
}

/* Collapsed desktop sidebar */
body.sidebar-collapsed .sidebar { width: 80px; }
body.sidebar-collapsed .main { margin-left: 80px; width: calc(100% - 80px); }
body.sidebar-collapsed .brand > div:last-child,
body.sidebar-collapsed .nav-label,
body.sidebar-collapsed .nav-item span:not(.icon),
body.sidebar-collapsed .chev { display: none; }
body.sidebar-collapsed .brand { justify-content: center; padding-inline: 0; }
body.sidebar-collapsed .nav-item { grid-template-columns: 1fr; justify-items: center; padding: 0; }
body.sidebar-collapsed .nav-item.active::before { left: 10px; }
body.sidebar-collapsed .collapse-btn { left: 21px; transform: rotate(180deg); }

@media (max-width: 1100px) {
  .freshness { grid-template-columns: auto 1fr auto; }
  .freshness-pills { grid-column: 2 / 4; }
  .theme-grid { grid-template-columns: repeat(3, 1fr); }
  .user-meta { display: none; }
}

@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); width: 245px; box-shadow: 24px 0 50px rgba(0,0,0,.18); }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .main, body.sidebar-collapsed .main { margin-left: 0; width: 100%; }
  .topbar { padding: 0 14px; }
  .mobile-menu { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); background: white; border-radius: 10px; }
  .search-wrap { flex: 1; width: auto; }
  .search-wrap select { display: none; }
  .icon-btn:first-child { display: none; }
  .user-switch select { max-width: 18px; }
  .content { padding: 20px 14px 14px; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .page-actions { width: 100%; }
  .page-actions .btn { flex: 1; }
  .freshness { grid-template-columns: auto 1fr; }
  .freshness-pills, .freshness .btn { grid-column: 1 / 3; }
  .freshness .btn { width: 100%; }
  .table-toolbar { align-items: stretch; flex-direction: column; }
  .toolbar-actions { flex-direction: column; }
  .toolbar-actions input, .toolbar-actions select { width: 100%; }
  .toolbar-actions .form-control, .toolbar-actions .form-select { min-width: 0; }
  .dt-container .dt-layout-row:not(.dt-layout-table) { gap: 10px; padding: 12px 14px; }
  .theme-head { flex-direction: column; }
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { padding-inline: 14px; flex-direction: column; }
}

@media (max-width: 480px) {
  .theme-grid { grid-template-columns: 1fr; }
  .top-actions .icon-btn { display: none; }
}


/* ----- UI example pages ------------------------------------------------ */
a.example-card { color: inherit; text-decoration: none; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.example-card:hover { color: inherit; transform: translateY(-3px); border-color: rgba(var(--main-rgb),.22); box-shadow: 0 18px 44px rgba(31,38,56,.11); }
.example-card h2 { font-size: 17px; margin-bottom: 7px; }
.example-card p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 0 0 12px; }
.example-link { color: var(--main); font-size: 12px; font-weight: 700; }
.example-visual { height: 145px; background: linear-gradient(145deg,#f8f9fc,#eef1f7); border-bottom:1px solid var(--line); padding:22px; }
.dense-table-demo { display:grid; align-content:center; gap:7px; }
.dense-table-demo span { height:12px; background:white; border:1px solid #e7eaf0; border-radius:4px; box-shadow: inset 70px 0 rgba(var(--main-rgb),.09); }
.cards-demo { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.cards-demo i { display:block; background:white; border:1px solid #e4e7ee; border-radius:10px; box-shadow:0 4px 12px rgba(0,0,0,.04); }
.cards-demo i::before { content:""; display:block; margin:9px; height:30px; border-radius:7px; background:linear-gradient(135deg,rgba(var(--main-rgb),.15),rgba(var(--main-rgb),.04)); }
.grouped-demo { display:grid; gap:6px; align-content:center; }
.grouped-demo b { display:block; height:25px; border-radius:7px; background:white; border:1px solid #e4e7ee; position:relative; }
.grouped-demo b::before { content:""; position:absolute; width:34%; inset:7px auto 7px 9px; background:rgba(var(--main-rgb),.14); border-radius:3px; }
.grouped-demo span { height:10px; margin-inline:13px; background:#dfe3eb; border-radius:4px; }
.dashboard-demo { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.dashboard-demo i { background:white; border:1px solid #e4e7ee; border-radius:9px; }
.dashboard-demo strong { grid-column:1/4; background:white; border:1px solid #e4e7ee; border-radius:9px; position:relative; }
.dashboard-demo strong::before { content:""; position:absolute; left:12px; right:12px; bottom:14px; height:36px; background:linear-gradient(110deg,transparent 0 8%,rgba(var(--main-rgb),.18) 8% 28%,transparent 28% 36%,rgba(var(--main-rgb),.28) 36% 62%,transparent 62% 70%,rgba(var(--main-rgb),.14) 70% 100%); clip-path:polygon(0 82%,18% 64%,35% 72%,51% 28%,68% 48%,84% 12%,100% 24%,100% 100%,0 100%); }
.example-callout { border:1px solid rgba(var(--main-rgb),.14); box-shadow:none; background:rgba(var(--main-rgb),.035); }
.callout-icon { width:36px; height:36px; flex:0 0 36px; border-radius:10px; display:grid; place-items:center; color:white; background:linear-gradient(135deg,var(--main),var(--accent)); }
.component-sampler { overflow:hidden; }
.sampler-title { font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); font-weight:700; margin-bottom:12px; }
.theme-badge { background:rgba(var(--main-rgb),.1); color:var(--main); border:1px solid rgba(var(--main-rgb),.12); }
.theme-progress { background:linear-gradient(90deg,var(--main),var(--accent)); }
.stat-unit { font-size:.45em; color:var(--muted); margin-left:4px; letter-spacing:0; }
.data-card { overflow:hidden; }
.data-table { min-width:1050px; }
.stock-state,.activity-state { display:inline-flex; align-items:center; gap:6px; min-height:25px; padding:0 8px; border-radius:999px; font-size:10px; font-weight:800; white-space:nowrap; }
.stock-state::before,.activity-state::before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }
.state-healthy,.state-success { color:#198754; background:#eaf7f0; }
.state-watch,.state-warning { color:#9a6700; background:#fff6dc; }
.state-low { color:#c25b00; background:#fff0df; }
.state-out,.state-danger { color:#b42318; background:#fff0ee; }
.state-draft { color:var(--main); background:rgba(var(--main-rgb),.08); }
.catalogue-toolbar { padding:12px; box-shadow:0 5px 18px rgba(30,37,52,.04); }
.category-pills .nav-link { color:var(--muted); border-radius:9px; font-size:12px; font-weight:700; }
.category-pills .nav-link.active { background:rgba(var(--main-rgb),.09); color:var(--main); }
.view-switch .btn { min-height:36px; padding-inline:12px; font-size:12px; }
.view-switch .btn.active { color:white; background:var(--main); border-color:var(--main)!important; }
.product-card { overflow:hidden; box-shadow:0 5px 18px rgba(30,37,52,.04); }
.product-art { height:150px; display:grid; place-items:center; background:#f4f5f8; border-bottom:1px solid var(--line); }
.product-art span { width:62px; height:62px; border-radius:18px; display:grid; place-items:center; font-size:20px; font-weight:800; color:white; box-shadow:0 12px 24px rgba(0,0,0,.12); }
.art-1 { background:linear-gradient(135deg,#fff4c7,#ffe38c); }.art-1 span{background:linear-gradient(135deg,#d49a08,#ffbd35)}
.art-2 { background:linear-gradient(135deg,#ffe1ee,#ffc1dc); }.art-2 span{background:linear-gradient(135deg,#b91372,#fc5296)}
.art-3 { background:linear-gradient(135deg,#dcfff4,#bcf3df); }.art-3 span{background:linear-gradient(135deg,#078c74,#24c7a8)}
.art-4 { background:linear-gradient(135deg,#ddecff,#bfdcff); }.art-4 span{background:linear-gradient(135deg,#235ec8,#54a2ff)}
.art-5 { background:linear-gradient(135deg,#efe2ff,#dcc0ff); }.art-5 span{background:linear-gradient(135deg,#6b2eb6,#a461ed)}
.art-6 { background:linear-gradient(135deg,#f1e4ff,#dabaf8); }.art-6 span{background:linear-gradient(135deg,#5d2a85,#9b52ce)}
.product-type,.product-brand { font-size:10px; text-transform:uppercase; letter-spacing:.07em; color:var(--muted); font-weight:700; }
.product-name { font-size:15px; line-height:1.35; margin:12px 0 5px; min-height:40px; }
.product-brand { margin-bottom:13px; }
.product-meta { border-top:1px solid var(--line); padding-top:12px; display:flex; justify-content:space-between; gap:12px; align-items:center; font-size:12px; color:var(--muted); }
.product-meta strong { color:var(--text); font-size:15px; }
.product-list { display:block; }
.product-list .product-col { width:100%; margin-bottom:10px; }
.product-list .product-card { display:grid; grid-template-columns:90px 1fr 130px; align-items:center; min-height:94px; }
.product-list .product-art { height:92px; border:0; border-right:1px solid var(--line); }
.product-list .product-art span { width:42px; height:42px; border-radius:12px; font-size:14px; }
.product-list .card-body { display:grid; grid-template-columns:120px minmax(180px,1fr) 130px 180px; gap:15px; align-items:center; padding:12px 16px; }
.product-list .card-body>div:first-child { display:contents!important; }
.product-list .product-name { margin:0; min-height:0; grid-column:2; grid-row:1; }
.product-list .product-brand { margin:0; grid-column:3; grid-row:1; }
.product-list .product-type { grid-column:1; grid-row:1; }
.product-list .stock-state { grid-column:4; grid-row:1; justify-self:start; }
.product-list .product-meta { border:0; padding:0; grid-column:4; grid-row:1; justify-self:end; display:none; }
.product-list .card-footer { border:0; padding:0 12px!important; }
.catalogue-search { max-width:260px; }
.product-drawer { width:min(460px,100vw)!important; }
.drawer-art { height:220px; border-radius:16px; border:1px solid var(--line); }
.detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.detail-grid>div { background:var(--surface-2); border:1px solid var(--line); border-radius:12px; padding:12px; }
.detail-grid span,.detail-grid strong { display:block; }.detail-grid span{font-size:10px;text-transform:uppercase;color:var(--muted);font-weight:700}.detail-grid strong{font-size:13px;margin-top:5px}
.supplier-accordion { --bs-accordion-border-color:var(--line); --bs-accordion-btn-focus-box-shadow:none; --bs-accordion-active-color:var(--text); --bs-accordion-active-bg:rgba(var(--main-rgb),.035); }
.supplier-accordion .accordion-item { border-radius:12px!important; overflow:hidden; margin-bottom:10px; }
.supplier-accordion .accordion-button { gap:16px; font-size:13px; font-weight:700; }
.supplier-name { min-width:150px; }.supplier-kpis { color:var(--muted); font-size:11px; font-weight:500; }.supplier-kpis b{color:var(--text)}
.compact-restock { display:flex; justify-content:space-between; gap:20px; padding:12px 0; border-bottom:1px solid var(--line); }.compact-restock:first-child{padding-top:0}.compact-restock:last-child{border:0;padding-bottom:0}.compact-restock strong,.compact-restock span{display:block}.compact-restock strong{font-size:12px}.compact-restock span{font-size:10px;color:var(--muted);margin-top:4px}
.supplier-side { background:var(--surface-2); border:1px solid var(--line); border-radius:12px; padding:16px; }.supplier-side span,.supplier-side strong,.supplier-side small{display:block}.supplier-side span{font-size:10px;text-transform:uppercase;color:var(--muted);font-weight:700}.supplier-side strong{font-size:24px;margin-top:5px}.supplier-side small{color:var(--muted);margin-top:5px;line-height:1.5}
.dashboard-tabs { border-bottom-color:var(--line); }.dashboard-tabs .nav-link{color:var(--muted);font-weight:700;font-size:12px}.dashboard-tabs .nav-link.active{color:var(--main);border-color:var(--line) var(--line) var(--bg);background:var(--bg)}
.outlet-card { padding:18px; box-shadow:0 5px 18px rgba(30,37,52,.04); }.outlet-card-head{display:flex;align-items:center;gap:10px}.outlet-avatar{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(var(--main-rgb),.1);color:var(--main);font-size:12px;font-weight:800}.outlet-card h2{font-size:15px;margin-bottom:4px}.outlet-numbers{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.outlet-numbers>div{background:var(--surface-2);border:1px solid var(--line);border-radius:11px;padding:11px}.outlet-numbers span,.outlet-numbers strong{display:block}.outlet-numbers span{font-size:10px;color:var(--muted);text-transform:uppercase;font-weight:700}.outlet-numbers strong{font-size:16px;margin-top:4px}.progress-thin{height:6px}.availability-bars{display:grid;gap:14px}.availability-bars>div{display:grid;grid-template-columns:110px 1fr 44px;align-items:center;gap:12px;font-size:11px}.availability-bars .progress{height:8px}.availability-bars strong{text-align:right}
.attention-list{display:grid;gap:8px;margin-top:18px}.attention-list a{display:grid;grid-template-columns:36px 1fr auto;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:11px;color:inherit;text-decoration:none}.attention-list a:hover{border-color:rgba(var(--main-rgb),.25)}.attention-list strong,.attention-list small{display:block}.attention-list strong{font-size:12px}.attention-list small{font-size:10px;color:var(--muted);margin-top:3px}.attention-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-weight:800}.attention-icon.warning{background:#fff6dc;color:#9a6700}.attention-icon.danger{background:#fff0ee;color:#b42318}.attention-icon.info{background:#eef5ff;color:#1c65b7}.health-dot{display:block;width:42px;height:42px;border-radius:50%;box-shadow:inset 0 0 0 11px white}.health-dot.healthy{background:#24a56a;border:1px solid #b7e3cc}.health-dot.warning{background:#e5a21a;border:1px solid #f2d49d}
@media (max-width:1100px){.product-list .product-card{grid-template-columns:80px 1fr 110px}.product-list .card-body{grid-template-columns:100px 1fr 110px}.product-list .product-brand,.product-list .stock-state{display:none}.supplier-kpis{display:none}}
@media (max-width:760px){.showcase-grid .example-visual{height:120px}.product-list .product-card{display:block}.product-list .product-art{height:90px;border-right:0;border-bottom:1px solid var(--line)}.product-list .card-body{display:block}.product-list .product-name{margin:10px 0 5px}.product-list .product-brand,.product-list .stock-state{display:inline-flex}.product-list .card-footer{padding:0 16px 16px!important}.catalogue-search{max-width:none;width:100%}.supplier-name{min-width:0}.availability-bars>div{grid-template-columns:90px 1fr 38px}}
