﻿/* Generated from /tema as visual source of truth. */
/* ============ TOKENS ============ */
:root {
  --bg: #f4f6fa;
  --card: #ffffff;
  --ink: #14213a;
  --ink-2: #4a5878;
  --ink-3: #8390aa;
  --line: #e6eaf2;
  --line-2: #eef1f7;
  --brand: #2f6bff;
  --brand-2: #1f55e3;
  --brand-soft: #eaf0ff;
  --brand-soft-2: #f3f6ff;
  --good: #15a36e;
  --warn: #f3a712;
  --bad: #ef4444;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.4;
}
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 32px 40px;
}

/* ============ HEADER ============ */
header.top {
  display: grid;
  grid-template-columns: 200px 160px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 14px 0 22px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3a78ff, #1f55e3);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 22px;
  box-shadow: 0 6px 16px rgba(47,107,255,.25);
}
.logo-text { line-height: 1; }
.logo-text .name { font-weight: 800; font-size: 22px; letter-spacing: .5px; color: var(--ink); }
.logo-text .sub { font-size: 10px; letter-spacing: 2.4px; color: var(--ink-3); margin-top: 6px; font-weight: 600; }

.btn-catalog {
  height: 48px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 22px; width: 100%;
  transition: background .15s;
}
.btn-catalog:hover { background: var(--brand-2); }
.btn-catalog svg { width: 18px; height: 18px; }

.searchbar {
  height: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 140px 56px;
  align-items: center;
  overflow: hidden;
}
.searchbar input {
  height: 100%; border: 0; outline: 0;
  padding: 0 18px; font-size: 14px; color: var(--ink); background: transparent;
}
.searchbar input::placeholder { color: var(--ink-3); }
.search-select {
  height: 100%;
  border-left: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; color: var(--ink-2); font-weight: 500; cursor: pointer;
}
.search-select svg { width: 14px; height: 14px; opacity: .6; }
.search-go {
  height: 100%;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
}
.search-go:hover { background: var(--brand-2); }
.search-go svg { width: 18px; height: 18px; }

.top-actions { display: flex; align-items: center; gap: 22px; }
.ta-item {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-2); position: relative;
  font-weight: 500; font-size: 13px;
}
.ta-item:hover { color: var(--ink); }
.ta-item svg { width: 20px; height: 20px; color: var(--brand); }
.ta-badge {
  position: absolute; top: -8px; left: 10px;
  min-width: 18px; height: 18px;
  border-radius: 9px; background: var(--brand);
  color: #fff; font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
  padding: 0 5px; border: 2px solid var(--bg);
}
.ta-badge.alert { background: #ef4444; }

.user-chip {
  display: flex; align-items: center; gap: 10px;
  padding-left: 14px; margin-left: 6px;
  border-left: 1px solid var(--line);
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b8cff, #2f6bff);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px;
}
.user-meta { line-height: 1.25; }
.user-meta .nm { font-weight: 700; color: var(--ink); font-size: 13px; }
.user-meta .co { font-size: 11px; color: var(--ink-3); }

/* ============ COMMON ============ */
.panel {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.btn {
  height: 48px; padding: 0 22px;
  border-radius: 12px;
  font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-soft { background: var(--brand-soft); color: var(--brand); }
.btn-soft:hover { background: #dde7ff; }

/* ============ BREADCRUMBS ============ */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-3);
  padding: 4px 0 18px;
}
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { color: var(--ink-3); opacity: .5; }
.crumbs .current { color: var(--ink-2); }

/* ============ FOOTER ============ */
footer.foot {
  margin-top: 40px;
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.foot-links { display: flex; gap: 22px; }
.foot-links a:hover { color: var(--brand); }

/* ============ PRODUCT CARD (shared) ============ */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: flex; flex-direction: column;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20,33,58,.06);
}
.prod-img {
  height: 160px;
  border-radius: 10px;
  background: #f7f9fc;
  display: grid; place-items: center;
  margin-bottom: 12px;
  position: relative;
}
.prod-img svg { width: 64px; height: 64px; color: var(--ink-2); }
.prod-fav {
  position: absolute;
  top: 8px; right: 8px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.prod-fav:hover svg { color: var(--brand); }
.prod-fav svg { width: 14px; height: 14px; color: var(--ink-3); transition: color .15s; }
.prod-tag {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: .3px;
}
.prod-tag.hit { background: #ef4444; }
.prod-tag.new { background: var(--good); }
.prod-name {
  font-size: 13px; font-weight: 700; color: var(--ink);
  line-height: 1.3; margin-bottom: 4px;
}
.prod-sub { font-size: 11px; color: var(--ink-3); margin-bottom: 8px; line-height: 1.3; }
.prod-rating {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--ink-2); margin-bottom: 10px;
}
.prod-rating svg { width: 11px; height: 11px; color: var(--warn); }
.prod-rating .sep { color: var(--ink-3); opacity: .4; margin: 0 4px; }
.prod-price-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 10px; margin-top: auto;
}
.prod-price { font-weight: 800; font-size: 14px; color: var(--ink); white-space: nowrap; }
.prod-price small { font-weight: 600; color: var(--ink-3); font-size: 11px; }
.prod-old { color: var(--ink-3); font-size: 11px; text-decoration: line-through; margin-right: 4px; }
.add-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  flex: 0 0 32px;
}
.add-btn:hover { background: var(--brand-2); }
.add-btn svg { width: 14px; height: 14px; }
.in-stock {
  font-size: 11px; color: var(--good); font-weight: 600;
  border-top: 1px solid var(--line-2);
  padding-top: 8px;
  display: inline-flex; align-items: center; gap: 6px;
}
.in-stock.low { color: var(--warn); }
.in-stock.out { color: var(--ink-3); }
.in-stock::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}


/* ============ USER DROPDOWN ============ */
.user-chip { cursor: pointer; user-select: none; position: relative; }
.user-chip:hover { color: var(--brand); }
.user-chip::after {
  content: '';
  position: absolute;
  inset: -8px -8px -8px -8px;
}
.user-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(20,33,58,.14), 0 4px 10px rgba(20,33,58,.06);
  padding: 8px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.user-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.um-head {
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.um-head .av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b8cff, #2f6bff);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex: 0 0 44px;
}
.um-head .nm { font-weight: 700; color: var(--ink); font-size: 13px; }
.um-head .em { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.um-org {
  background: var(--brand-soft-2);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 6px 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.um-org:hover { background: var(--brand-soft); }
.um-org .ic {
  width: 28px; height: 28px;
  background: #fff;
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--brand);
}
.um-org .ic svg { width: 14px; height: 14px; }
.um-org .info { flex: 1; min-width: 0; }
.um-org .label { font-size: 10px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.um-org .nm { font-size: 12px; color: var(--ink); font-weight: 700; margin-top: 2px; }
.um-org .switch { color: var(--brand); font-size: 11px; font-weight: 600; }

.um-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .12s;
}
.um-link:hover { background: var(--brand-soft-2); color: var(--ink); }
.um-link svg { width: 16px; height: 16px; color: var(--ink-3); flex: 0 0 16px; }
.um-link:hover svg { color: var(--brand); }
.um-link .n {
  margin-left: auto;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 10px;
  font-weight: 700;
}
.um-divider {
  border-top: 1px solid var(--line-2);
  margin: 6px 0;
}
.um-link.logout { color: var(--bad); }
.um-link.logout svg { color: var(--bad); }
.um-link.logout:hover { background: #fff0f0; }

/* ============ TOAST ============ */
.toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
  pointer-events: none;
}
.toast {
  background: #14213a;
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  max-width: 420px;
  box-shadow: 0 12px 30px rgba(20,33,58,.25);
  animation: toast-in .25s ease;
  pointer-events: auto;
}
.toast.out { animation: toast-out .2s ease forwards; }
@keyframes toast-in {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toast-out {
  to { transform: translateX(20px); opacity: 0; }
}
.toast .t-ic {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  display: grid; place-items: center;
  flex: 0 0 32px;
  color: var(--good);
}
.toast .t-ic svg { width: 16px; height: 16px; }
.toast.error .t-ic { color: #ff7361; }
.toast.info .t-ic { color: #6b8cff; }
.toast .t-body { flex: 1; min-width: 0; }
.toast .t-title { font-weight: 700; font-size: 13px; line-height: 1.3; }
.toast .t-msg { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 2px; line-height: 1.4; }
.toast .t-action {
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.toast .t-action:hover { background: var(--brand-2); }
.toast .t-close {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 6px;
  color: rgba(255,255,255,.55);
  cursor: pointer;
}
.toast .t-close:hover { background: rgba(255,255,255,.08); color: #fff; }
.toast .t-close svg { width: 12px; height: 12px; }

/* ============ CATALOG MEGA-MENU ============ */
.btn-catalog { position: relative; cursor: pointer; }
.mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 880px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(20,33,58,.16);
  padding: 22px 24px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.mega.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 20px;
}
.mega a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.mega a:hover { background: var(--brand-soft-2); color: var(--brand); }
.mega a svg { width: 14px; height: 14px; color: var(--brand); }
.mega a .ct { margin-left: auto; font-size: 11px; color: var(--ink-3); font-weight: 600; }
.mega-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-3);
}
.mega-foot a { color: var(--brand); font-weight: 600; }

/* ============ STATUS PILLS ============ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  white-space: nowrap;
}
.pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.pill.draft { background: #f1f3f8; color: var(--ink-3); }
.pill.new { background: var(--brand-soft); color: var(--brand); }
.pill.in-progress { background: #fff7e0; color: #c08c10; }
.pill.shipping { background: #eaf6ff; color: #1a8acf; }
.pill.delivered { background: #eafbf2; color: var(--good); }
.pill.completed { background: #eafbf2; color: var(--good); }
.pill.cancelled { background: #fff0f0; color: var(--bad); }
.pill.waiting { background: #f4f1ff; color: #7a45d8; }
.pill.partial { background: #fff7e0; color: #c08c10; }

/* ============ DATA TABLE ============ */
.dtable {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}
.dtable th {
  text-align: left;
  font-weight: 700;
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 14px 18px;
  background: #f7f9fc;
  border-bottom: 1px solid var(--line);
}
.dtable td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-2);
  font-size: 13px;
  color: var(--ink-2);
  vertical-align: middle;
}
.dtable tr:last-child td { border-bottom: 0; }
.dtable tr:hover td { background: #fafbfd; }
.dtable td b { color: var(--ink); font-weight: 700; }
.dtable a { color: var(--brand); font-weight: 600; }
.dtable a:hover { text-decoration: underline; }
.dtable .row-action {
  width: 28px; height: 28px;
  border-radius: 6px;
  color: var(--ink-3);
  display: inline-grid;
  place-items: center;
}
.dtable .row-action:hover { background: var(--brand-soft-2); color: var(--brand); }
.dtable .row-action svg { width: 14px; height: 14px; }

/* secondary subnav (page-level) */
.subnav {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px;
  display: inline-flex;
  gap: 4px;
  margin-bottom: 20px;
}
.subnav a {
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .12s;
}
.subnav a:hover { background: var(--brand-soft-2); color: var(--ink); }
.subnav a.on { background: var(--brand); color: #fff; }
.subnav a .n {
  background: rgba(0,0,0,.08);
  color: inherit;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 700;
}
.subnav a.on .n { background: rgba(255,255,255,.22); }


/* Inline styles from /tema/index.html block 1 */
:root {
    --bg: #f4f6fa;
    --card: #ffffff;
    --ink: #14213a;
    --ink-2: #4a5878;
    --ink-3: #8390aa;
    --line: #e6eaf2;
    --line-2: #eef1f7;
    --brand: #2f6bff;
    --brand-2: #1f55e3;
    --brand-soft: #eaf0ff;
    --brand-soft-2: #f3f6ff;
    --good: #15a36e;
    --warn: #f3a712;
    --bad: #ef4444;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 18px;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    line-height: 1.4;
  }
  button { font-family: inherit; cursor: pointer; border: 0; background: none; }
  input { font-family: inherit; }
  a { color: inherit; text-decoration: none; }

  .wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 32px 40px;
  }

  /* ============ HEADER ============ */
  header.top {
    display: grid;
    grid-template-columns: 200px 160px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 14px 0 22px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .logo-mark {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3a78ff, #1f55e3);
    display: grid; place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    box-shadow: 0 6px 16px rgba(47,107,255,.25);
  }
  .logo-text {
    line-height: 1;
  }
  .logo-text .name {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: .5px;
    color: var(--ink);
  }
  .logo-text .sub {
    font-size: 10px;
    letter-spacing: 2.4px;
    color: var(--ink-3);
    margin-top: 6px;
    font-weight: 600;
  }

  .btn-catalog {
    height: 48px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    width: 100%;
    transition: background .15s;
  }
  .btn-catalog:hover { background: var(--brand-2); }
  .btn-catalog svg { width: 18px; height: 18px; }

  .searchbar {
    height: 48px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr 140px 56px;
    align-items: center;
    overflow: hidden;
  }
  .searchbar input {
    height: 100%;
    border: 0;
    outline: 0;
    padding: 0 18px;
    font-size: 14px;
    color: var(--ink);
    background: transparent;
  }
  .searchbar input::placeholder { color: var(--ink-3); }
  .search-select {
    height: 100%;
    border-left: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    color: var(--ink-2);
    font-weight: 500;
    cursor: pointer;
  }
  .search-select svg { width: 14px; height: 14px; opacity: .6; }
  .search-go {
    height: 100%;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
  }
  .search-go:hover { background: var(--brand-2); }
  .search-go svg { width: 18px; height: 18px; }

  .top-actions {
    display: flex;
    align-items: center;
    gap: 22px;
  }
  .ta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-2);
    position: relative;
    font-weight: 500;
    font-size: 13px;
  }
  .ta-item:hover { color: var(--ink); }
  .ta-item svg { width: 20px; height: 20px; color: var(--brand); }
  .ta-badge {
    position: absolute;
    top: -8px;
    left: 10px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: var(--brand);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border: 2px solid var(--bg);
  }
  .ta-badge.alert { background: #ef4444; }

  .user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 14px;
    margin-left: 6px;
    border-left: 1px solid var(--line);
  }
  .avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b8cff, #2f6bff);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 13px;
  }
  .user-meta { line-height: 1.25; }
  .user-meta .nm { font-weight: 700; color: var(--ink); font-size: 13px; }
  .user-meta .co { font-size: 11px; color: var(--ink-3); }

  /* ============ MAIN GRID ============ */
  .layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    align-items: start;
  }
  .hero-row {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 20px;
    align-items: start;
  }

  .panel {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
  }

  /* Sidebar categories */
  .side .panel { padding: 14px 8px 10px; overflow: visible; position: relative; z-index: 5; }
  .side h4 {
    margin: 0 0 6px;
    padding: 0 14px 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
  }
  .cat-list { list-style: none; padding: 0; margin: 0; }
  .cat-list li {
    position: relative;
  }
  .cat-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border-radius: 10px;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
  }
  .cat-list li a:hover { background: var(--brand-soft-2); color: var(--ink); }
  .cat-list li a.active { background: var(--brand-soft); color: var(--ink); font-weight: 600; }
  .cat-list svg { width: 16px; height: 16px; color: var(--ink-3); flex: 0 0 16px; }
  .cat-list li a.active svg { color: var(--brand); }
  .cat-list li .chev {
    margin-left: auto;
    width: 12px; height: 12px;
    opacity: 0;
    color: var(--ink-3);
    transition: opacity .15s, transform .15s;
  }
  .cat-list li:hover .chev { opacity: 1; transform: translateX(2px); }

  /* fly-out submenu */
  .submenu {
    position: absolute;
    top: -10px;
    left: calc(100% + 14px);
    width: 520px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(20,33,58,.16), 0 4px 12px rgba(20,33,58,.06);
    padding: 18px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: 50;
  }
  .submenu::before {
    /* invisible bridge so hover doesn't drop */
    content: '';
    position: absolute;
    left: -14px;
    top: 0; bottom: 0;
    width: 14px;
  }
  .cat-list li:hover .submenu { opacity: 1; visibility: visible; transform: translateX(0); }
  .submenu h6 {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.1px;
  }
  .submenu-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 18px;
  }
  .submenu-cols a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px !important;
    border-radius: 8px;
    color: var(--ink-2) !important;
    font-size: 13px;
    font-weight: 500;
    background: transparent !important;
    transition: background .12s, color .12s;
  }
  .submenu-cols a:hover {
    background: var(--brand-soft-2) !important;
    color: var(--brand) !important;
  }
  .submenu-cols a .ct {
    font-size: 11px;
    color: var(--ink-3);
    font-weight: 600;
  }
  .submenu-cols a:hover .ct { color: var(--brand); }
  .submenu-foot {
    border-top: 1px solid var(--line-2);
    margin-top: 12px;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .submenu-foot .all {
    color: var(--brand);
    font-weight: 600;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .submenu-foot .all svg { width: 12px; height: 12px; opacity: 1; color: var(--brand); }
  .submenu-foot .img {
    width: 60px; height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, #eef3ff, #f7f9fc);
    display: grid; place-items: center;
  }
  .submenu-foot .img svg { width: 22px; height: 22px; color: var(--brand); opacity: .7; }
  .all-cats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 4px;
    color: var(--brand);
    font-weight: 600;
    font-size: 13px;
    border-top: 1px solid var(--line-2);
    margin-top: 10px;
  }
  .all-cats svg { width: 14px; height: 14px; }

  .promo-card {
    margin-top: 14px;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, #eef3ff 0%, #f6f8ff 100%);
    border: 1px solid #e1e9ff;
  }
  .promo-card .ic {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #fff;
    display: grid; place-items: center;
    box-shadow: 0 2px 6px rgba(31,85,227,.08);
    margin-bottom: 10px;
  }
  .promo-card .ic svg { width: 20px; height: 20px; color: var(--brand); }
  .promo-card h5 { margin: 0 0 4px; font-size: 13px; color: var(--ink); }
  .promo-card p { margin: 0 0 12px; font-size: 12px; color: var(--ink-2); line-height: 1.45; }
  .promo-btn {
    width: 100%;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--brand);
    color: var(--brand);
    font-weight: 600;
    font-size: 12px;
  }
  .promo-btn:hover { background: var(--brand); color: #fff; }

  /* ============ HERO ============ */
  .hero {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    padding: 32px 36px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 24px;
    min-height: 420px;
  }
  .hero h1 {
    margin: 0 0 18px;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.5px;
    color: var(--ink);
    max-width: 460px;
  }
  .hero h1 .accent { color: var(--brand); }
  .hero p.lead {
    color: var(--ink-2);
    max-width: 420px;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 28px;
  }
  .hero-ctas {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
  }
  .btn {
    height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .btn-primary { background: var(--brand); color: #fff; }
  .btn-primary:hover { background: var(--brand-2); }
  .btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

  .hero-feats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 520px;
  }
  .hero-feat {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .hero-feat .dot {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--brand-soft);
    display: grid; place-items: center;
    flex: 0 0 30px;
  }
  .hero-feat .dot svg { width: 15px; height: 15px; color: var(--brand); }
  .hero-feat span {
    font-size: 11px;
    color: var(--ink-2);
    line-height: 1.25;
    font-weight: 500;
  }

  /* hero image area */
  .hero-stage {
    position: relative;
    min-height: 360px;
    align-self: stretch;
  }
  .hero-img {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background:
      radial-gradient(120% 90% at 60% 45%, #eef3ff 0%, #f7f9ff 60%, #ffffff 100%);
    overflow: hidden;
  }
  .hero-img svg.scene {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110%;
    max-width: 560px;
    height: auto;
  }
  .hero-img::after {
    content: '';
    position: absolute;
    left: 8%; right: 8%;
    bottom: 28px;
    height: 14px;
    background: radial-gradient(ellipse at center, rgba(20,33,58,.12), transparent 70%);
    filter: blur(2px);
  }

  /* product callouts */
  .callout {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(20,33,58,.12);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
  }
  .callout .thumb {
    width: 56px; height: 56px;
    border-radius: 8px;
    background: var(--brand-soft-2);
    display: grid; place-items: center;
    flex: 0 0 56px;
  }
  .callout .thumb svg { width: 32px; height: 32px; color: var(--ink-2); }
  .callout .nm { font-size: 11px; color: var(--ink-2); line-height: 1.3; margin-bottom: 4px; }
  .callout .nm b { color: var(--ink); display: block; font-weight: 700; font-size: 12px; margin-bottom: 2px; }
  .callout .pr { font-size: 13px; font-weight: 800; color: var(--ink); }
  .callout.c1 { top: 24px; left: -10px; }
  .callout.c2 { top: 110px; right: -6px; }
  .callout.c3 { bottom: 56px; left: 30px; }

  .dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
  }
  .dot-i { width: 6px; height: 6px; border-radius: 50%; background: #d4dbe8; }
  .dot-i.on { width: 18px; border-radius: 3px; background: var(--brand); }

  /* ============ RIGHT INFO COLUMN ============ */
  .info .item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
  }
  .info .item .ic {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--brand-soft);
    display: grid; place-items: center;
    flex: 0 0 36px;
  }
  .info .item .ic svg { width: 18px; height: 18px; color: var(--brand); }
  .info .item h5 { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--ink); }
  .info .item p { margin: 0; font-size: 12px; color: var(--ink-2); line-height: 1.45; }
  .info .download {
    background: linear-gradient(160deg, #eef3ff 0%, #f6f8ff 100%);
    border: 1px solid #e1e9ff;
    border-radius: var(--radius-lg);
    padding: 16px;
  }
  .info .download h5 { margin: 0 0 6px; font-size: 13px; color: var(--ink); }
  .info .download p { margin: 0 0 12px; font-size: 12px; color: var(--ink-2); line-height: 1.45; }
  .info .download a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    font-weight: 600;
    font-size: 12px;
  }
  .info .download a svg { width: 14px; height: 14px; }

  /* ============ STATS ============ */
  .stats {
    margin-top: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  .stat { display: flex; align-items: center; gap: 14px; }
  .stat .ic {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--brand-soft);
    display: grid; place-items: center;
    flex: 0 0 44px;
  }
  .stat .ic svg { width: 20px; height: 20px; color: var(--brand); }
  .stat .ic.star { background: #fff5dc; }
  .stat .ic.star svg { color: #f3a712; }
  .stat .num { font-weight: 800; font-size: 22px; color: var(--ink); line-height: 1; margin-bottom: 4px; }
  .stat .lbl { font-size: 12px; color: var(--ink-2); line-height: 1.3; }

  /* ============ SECTION HEADERS ============ */
  .section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 22px 0 12px;
    min-width: 0;
  }
  .section-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.2px;
    white-space: nowrap;
  }
  .section-head .more {
    color: var(--brand);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .section-head .more svg { width: 14px; height: 14px; }

  /* ============ SUPPLIERS / PRODUCTS LAYOUT ============ */
  .bottom-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .suppliers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
  .card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    display: flex;
    flex-direction: column;
    transition: border-color .15s, transform .15s;
  }
  .card:hover { border-color: var(--brand); transform: translateY(-2px); }

  /* supplier card */
  .sup-logo {
    height: 64px;
    border-radius: 8px;
    background: #f7f9fc;
    display: grid; place-items: center;
    margin-bottom: 12px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.3px;
  }
  .sup-logo.a { background: #fff1ee; color: #d24a1e; font-size: 19px; font-style: italic; font-family: Georgia, serif; }
  .sup-logo.b { background: #eef4ff; color: #1a2c5e; font-size: 15px; line-height: 1.05; text-align: center; }
  .sup-logo.b small { display: block; font-size: 13px; color: #2f6bff; font-weight: 700; }
  .sup-logo.c { background: #fffdee; color: #c83a3a; font-size: 18px; letter-spacing: 1.5px; }
  .sup-logo.d { background: #fff8d4; color: #1a2331; font-size: 14px; padding: 4px 10px; border-radius: 6px; display: inline-grid; place-self: center; }
  .sup-logo.e { background: #eefbf4; color: #15a36e; font-size: 16px; font-weight: 700; }
  .sup-logo.f { background: #f1eefb; color: #6a47c2; font-size: 16px; font-weight: 700; }
  .sup-logo.g { background: #fef0e8; color: #c4632a; font-size: 16px; font-weight: 700; }
  .sup-logo.h { background: #e8f1ff; color: #1f55e3; font-size: 16px; font-weight: 700; }

  .sup-name { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
  .sup-status { font-size: 11px; color: var(--ink-3); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 4px; }
  .sup-status::before { content:''; width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
  .sup-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--ink-2);
    border-top: 1px solid var(--line-2);
    padding-top: 10px;
    margin-top: auto;
  }
  .sup-rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink); }
  .sup-rating svg { width: 12px; height: 12px; color: #f3a712; }
  .sup-fulfil { color: var(--good); font-weight: 600; }
  .sup-numbers {
    margin-top: 8px;
    font-size: 12px;
    color: var(--ink);
  }
  .sup-numbers b { font-weight: 700; }
  .sup-numbers .row { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 4px; }
  .sup-loc {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--ink-3);
  }
  .sup-loc svg { width: 11px; height: 11px; }

  /* product card */
  .prod-img {
    height: 120px;
    border-radius: 10px;
    background: #f7f9fc;
    display: grid; place-items: center;
    margin-bottom: 12px;
    position: relative;
  }
  .prod-img svg { width: 64px; height: 64px; color: var(--ink-2); }
  .prod-fav {
    position: absolute;
    top: 8px; right: 8px;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: #fff;
    display: grid; place-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.04);
  }
  .prod-fav svg { width: 14px; height: 14px; color: var(--ink-3); }
  .prod-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 2px;
  }
  .prod-sub {
    font-size: 11px;
    color: var(--ink-3);
    margin-bottom: 10px;
    line-height: 1.3;
  }
  .prod-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    margin-top: auto;
  }
  .prod-price { font-weight: 800; font-size: 14px; color: var(--ink); white-space: nowrap; }
  .prod-price small { font-weight: 600; color: var(--ink-3); font-size: 11px; }
  .add-btn {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    display: grid; place-items: center;
    flex: 0 0 32px;
  }
  .add-btn:hover { background: var(--brand-2); }
  .add-btn svg { width: 14px; height: 14px; }
  .in-stock {
    font-size: 11px;
    color: var(--good);
    font-weight: 600;
    border-top: 1px solid var(--line-2);
    padding-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .in-stock::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--good);
  }

  /* ============ BENEFITS BAR ============ */
  .benefits {
    margin-top: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
  }
  .benefit { display: flex; align-items: flex-start; gap: 12px; }
  .benefit .ic {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--brand-soft);
    display: grid; place-items: center;
    flex: 0 0 36px;
  }
  .benefit .ic svg { width: 18px; height: 18px; color: var(--brand); }
  .benefit h5 { margin: 0 0 2px; font-size: 13px; color: var(--ink); font-weight: 700; }
  .benefit p { margin: 0; font-size: 11px; color: var(--ink-3); line-height: 1.35; }

  /* ============ FOOTER ============ */
  footer.foot {
    margin-top: 40px;
    padding: 32px 0 8px;
    border-top: 1px solid var(--line);
    color: var(--ink-3);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .foot-links { display: flex; gap: 22px; }
  .foot-links a:hover { color: var(--brand); }

/* Inline styles from /tema/catalog.html block 1 */
.page-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 24px; margin-bottom: 22px;
  }
  .page-head h1 {
    margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.4px; color: var(--ink);
  }
  .page-head .meta {
    font-weight: 500; color: var(--ink-3); font-size: 15px; margin-left: 8px;
  }
  .cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .cat-block {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    transition: all .15s;
  }
  .cat-block:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(20,33,58,.08); }
  .cb-head {
    display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px;
  }
  .cb-ic {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: grid; place-items: center;
    flex: 0 0 56px;
  }
  .cb-ic.c1 { background: linear-gradient(135deg, #eaf0ff, #f3f6ff); color: var(--brand); }
  .cb-ic.c2 { background: linear-gradient(135deg, #fff0ea, #fff8f3); color: #e85b1a; }
  .cb-ic.c3 { background: linear-gradient(135deg, #f1eefb, #f7f3fd); color: #6a47c2; }
  .cb-ic.c4 { background: linear-gradient(135deg, #eafbf2, #f3fcf6); color: var(--good); }
  .cb-ic.c5 { background: linear-gradient(135deg, #fff7e0, #fffce8); color: #c08c10; }
  .cb-ic.c6 { background: linear-gradient(135deg, #eaf6ff, #f4faff); color: #1a8acf; }
  .cb-ic.c7 { background: linear-gradient(135deg, #ffefe7, #fff7f1); color: #d94d10; }
  .cb-ic.c8 { background: linear-gradient(135deg, #ebf6fd, #f4faff); color: #1a8acf; }
  .cb-ic.c9 { background: linear-gradient(135deg, #f4f1ff, #faf8ff); color: #7a45d8; }
  .cb-ic.c10 { background: linear-gradient(135deg, #fff0f0, #fff8f8); color: var(--bad); }
  .cb-ic.c11 { background: linear-gradient(135deg, #fff8d4, #fffce8); color: #b8961e; }
  .cb-ic.c12 { background: linear-gradient(135deg, #e0f2eb, #ebfaf2); color: var(--good); }
  .cb-ic svg { width: 26px; height: 26px; }
  .cb-title {
    flex: 1;
  }
  .cb-title h2 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.2px;
  }
  .cb-title a { color: inherit; }
  .cb-title a:hover { color: var(--brand); }
  .cb-meta { font-size: 12px; color: var(--ink-3); }
  .cb-meta b { color: var(--ink-2); font-weight: 700; }
  .cb-sub {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    margin-bottom: 14px;
  }
  .cb-sub li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 12px;
    color: var(--ink-2);
    font-weight: 500;
  }
  .cb-sub li a:hover { color: var(--brand); }
  .cb-sub li a .ct { color: var(--ink-3); font-size: 11px; font-weight: 600; }
  .cb-all {
    margin-top: auto;
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .cb-all svg { width: 12px; height: 12px; }

  .top-strip {
    background: linear-gradient(120deg, #eaf0ff 0%, #f3f6ff 50%, #fff0ea 100%);
    border: 1px solid #d6e2ff;
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
  }
  .top-strip h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
  }
  .top-strip p {
    margin: 0;
    font-size: 13px;
    color: var(--ink-2);
    max-width: 640px;
    line-height: 1.55;
  }
  .top-strip .actions {
    display: flex;
    gap: 10px;
  }
  .top-strip .btn-primary, .top-strip .btn-ghost {
    height: 44px;
    border-radius: 10px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .top-strip .btn-primary { background: var(--brand); color: #fff; }
  .top-strip .btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }

/* Inline styles from /tema/product.html block 1 */
/* ============ PRODUCT LAYOUT ============ */
  .prod-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 24px;
    align-items: start;
    margin-bottom: 32px;
  }

  /* ============ GALLERY ============ */
  .gallery {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 16px;
  }
  .thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .thumb {
    width: 88px; height: 88px;
    border-radius: 10px;
    background: #f7f9fc;
    border: 2px solid transparent;
    display: grid; place-items: center;
    cursor: pointer;
    transition: border-color .15s;
  }
  .thumb:hover { border-color: var(--brand-soft); }
  .thumb.on { border-color: var(--brand); }
  .thumb svg { width: 32px; height: 32px; color: var(--ink-2); opacity: .7; }
  .thumb-more {
    width: 88px; height: 44px;
    border-radius: 10px;
    background: #f7f9fc;
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 600;
  }

  .main-photo {
    position: relative;
    background: #fafbfd;
    border-radius: 14px;
    aspect-ratio: 4/3;
    display: grid;
    place-items: center;
    overflow: hidden;
  }
  .main-photo .photo-svg {
    width: 60%;
    max-width: 320px;
    height: auto;
  }
  .photo-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
  }
  .badge-hit, .badge-stock {
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    letter-spacing: .3px;
    white-space: nowrap;
  }
  .badge-stock { background: var(--good); }
  .photo-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .pa-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    display: grid; place-items: center;
    color: var(--ink-2);
    transition: all .15s;
  }
  .pa-btn:hover { border-color: var(--brand); color: var(--brand); }
  .pa-btn svg { width: 16px; height: 16px; }
  .photo-zoom {
    position: absolute;
    bottom: 16px; right: 16px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    color: var(--ink-3);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .photo-zoom svg { width: 12px; height: 12px; }

  .photo-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
  }
  .pp-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--line);
  }
  .pp-dot.on { width: 22px; border-radius: 3px; background: var(--brand); }

  /* ============ INFO COLUMN ============ */
  .info-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .pi-head {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
  }
  .pi-head h1 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: -.3px;
  }
  .pi-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--ink-3);
  }
  .pi-meta .rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ink-2);
    font-weight: 600;
  }
  .pi-meta .rating svg { width: 12px; height: 12px; color: var(--warn); }
  .pi-meta a:hover { color: var(--brand); }
  .pi-meta .sep { opacity: .4; }
  .pi-sku { color: var(--ink-3); font-family: 'JetBrains Mono', monospace; font-size: 11px; }

  /* supplier card */
  .pi-supplier {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
  }
  .pi-supplier .ic {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: #eefbf4;
    color: #15a36e;
    display: grid; place-items: center;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .3px;
  }
  .pi-supplier .nm { font-weight: 700; font-size: 14px; color: var(--ink); }
  .pi-supplier .st {
    font-size: 11px;
    color: var(--ink-3);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
  }
  .pi-supplier .st::before {
    content: ''; width: 6px; height: 6px;
    border-radius: 50%; background: var(--good);
  }
  .pi-supplier .meta {
    margin-top: 6px;
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--ink-2);
  }
  .pi-supplier .meta b { color: var(--ink); font-weight: 700; }
  .pi-supplier .go {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid; place-items: center;
  }
  .pi-supplier .go svg { width: 14px; height: 14px; }

  /* price block */
  .pi-price {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
  }
  .price-main {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
  }
  .price-main .cur {
    font-size: 32px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.5px;
  }
  .price-main .old {
    color: var(--ink-3);
    text-decoration: line-through;
    font-size: 16px;
    font-weight: 600;
  }
  .price-main .disc {
    background: #ffeae6;
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
  }
  .price-unit { color: var(--ink-3); font-size: 12px; margin-bottom: 14px; }

  .tiers {
    border-top: 1px dashed var(--line);
    padding-top: 12px;
    margin-bottom: 16px;
  }
  .tiers-title {
    font-size: 11px;
    color: var(--ink-3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 10px;
  }
  .tier-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .tier {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    background: #fafbfd;
  }
  .tier.on { border-color: var(--brand); background: var(--brand-soft); }
  .tier .qty { font-size: 11px; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; }
  .tier .pr { font-weight: 800; color: var(--ink); font-size: 15px; }
  .tier .save { font-size: 10px; color: var(--good); font-weight: 700; margin-top: 2px; }

  .qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }
  .qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    height: 48px;
    flex: 0 0 auto;
  }
  .qty button {
    width: 44px; height: 100%;
    color: var(--ink-2);
    font-size: 18px;
    font-weight: 700;
  }
  .qty button:hover { background: var(--brand-soft-2); color: var(--brand); }
  .qty input {
    width: 56px; height: 100%;
    border: 0; outline: 0;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    background: transparent;
  }
  .qty-unit { font-size: 12px; color: var(--ink-3); }
  .qty-unit b { color: var(--ink-2); font-weight: 700; }

  .buy-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 14px;
  }
  .btn-buy {
    height: 52px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .btn-buy:hover { background: var(--brand-2); }
  .btn-buy svg { width: 18px; height: 18px; }
  .btn-fav {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-2);
    display: grid; place-items: center;
  }
  .btn-fav:hover { border-color: var(--brand); color: var(--brand); }
  .btn-fav svg { width: 18px; height: 18px; }

  .btn-rfq {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .btn-rfq:hover { background: #dde7ff; }
  .btn-rfq svg { width: 14px; height: 14px; }

  /* shipping/payment info */
  .pi-extra {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 6px 18px;
  }
  .pi-extra .row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-2);
  }
  .pi-extra .row:last-child { border-bottom: 0; }
  .pi-extra .ic {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid; place-items: center;
    flex: 0 0 36px;
  }
  .pi-extra .ic svg { width: 16px; height: 16px; }
  .pi-extra .lbl { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
  .pi-extra .val { font-size: 11px; color: var(--ink-3); }
  .pi-extra .val a { color: var(--brand); font-weight: 600; }

  /* ============ TABS ============ */
  .tabs-bar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 0 24px;
    display: flex;
    gap: 4px;
    border-bottom: 0;
  }
  .tab {
    padding: 18px 18px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-3);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .tab:hover { color: var(--ink-2); }
  .tab.on {
    color: var(--ink);
    border-bottom-color: var(--brand);
  }
  .tab .n {
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
  }
  .tab-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 24px 28px 28px;
  }

  /* tab content: description */
  .desc-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
  }
  .desc-grid h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
  }
  .desc-grid p {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.6;
  }
  .desc-grid ul {
    margin: 0; padding: 0;
    list-style: none;
  }
  .desc-grid li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--ink-2);
    padding: 6px 0;
  }
  .desc-grid li svg {
    width: 16px; height: 16px;
    color: var(--good);
    flex: 0 0 16px;
    margin-top: 2px;
  }

  /* characteristics */
  .specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
  }
  .spec {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13px;
    align-items: center;
  }
  .spec .k { color: var(--ink-3); }
  .spec .v { color: var(--ink); font-weight: 600; text-align: right; }

  /* reviews */
  .review-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-2);
  }
  .rs-big {
    text-align: center;
  }
  .rs-big .score {
    font-size: 56px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -1px;
  }
  .rs-big .stars {
    color: var(--warn);
    margin: 8px 0 6px;
  }
  .rs-big .stars svg { width: 16px; height: 16px; }
  .rs-big .total {
    font-size: 12px;
    color: var(--ink-3);
  }
  .rs-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
  }
  .rs-bar {
    display: grid;
    grid-template-columns: 16px 1fr 50px;
    gap: 12px;
    align-items: center;
    font-size: 12px;
    color: var(--ink-2);
  }
  .rs-bar .track {
    height: 6px;
    background: var(--line);
    border-radius: 3px;
    overflow: hidden;
  }
  .rs-bar .fill {
    height: 100%;
    background: var(--warn);
    border-radius: 3px;
  }
  .rs-bar .pct { color: var(--ink-3); text-align: right; font-weight: 600; }

  .review {
    padding: 18px 0;
    border-bottom: 1px solid var(--line-2);
  }
  .review:last-child { border-bottom: 0; }
  .rv-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
  }
  .rv-author {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .rv-author .av {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b8cff, #2f6bff);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 12px;
  }
  .rv-author .nm { font-size: 13px; font-weight: 700; color: var(--ink); }
  .rv-author .co { font-size: 11px; color: var(--ink-3); }
  .rv-stars { color: var(--warn); display: inline-flex; gap: 1px; }
  .rv-stars svg { width: 13px; height: 13px; }
  .rv-stars .off { color: var(--line); }
  .rv-date { font-size: 11px; color: var(--ink-3); }
  .rv-text { font-size: 13px; color: var(--ink-2); line-height: 1.55; margin: 0; }

  /* ============ RELATED PRODUCTS ============ */
  .related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 32px 0 14px;
  }
  .related-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
  }
  .related-nav {
    display: flex;
    gap: 6px;
  }
  .related-nav button {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-2);
    display: grid; place-items: center;
  }
  .related-nav button:hover { border-color: var(--brand); color: var(--brand); }
  .related-nav button svg { width: 14px; height: 14px; }
  .related-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

/* Inline styles from /tema/cart.html block 1 */
.page-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
  }
  .page-head h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.3px;
    color: var(--ink);
    line-height: 1.2;
  }
  .page-head h1 .meta {
    font-weight: 500;
    color: var(--ink-3);
    font-size: 16px;
    margin-left: 8px;
  }
  .ph-tools { display: flex; align-items: center; gap: 14px; }
  .ph-tools a {
    font-size: 13px;
    color: var(--ink-3);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .ph-tools a:hover { color: var(--brand); }
  .ph-tools a svg { width: 14px; height: 14px; }
  .ph-tools .danger:hover { color: var(--bad); }

  .cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 20px;
    align-items: start;
  }

  /* ============ ALL-CONTROL BAR ============ */
  .all-bar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }
  .check-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 600;
  }
  .cb {
    width: 18px; height: 18px;
    border: 1.5px solid var(--line);
    border-radius: 5px;
    background: #fff;
    display: grid; place-items: center;
    flex: 0 0 18px;
  }
  .cb.on {
    background: var(--brand);
    border-color: var(--brand);
  }
  .cb.on svg { display: block; }
  .cb svg { display: none; width: 11px; height: 11px; color: #fff; }
  .cb.partial {
    background: var(--brand);
    border-color: var(--brand);
  }
  .cb.partial::after {
    content: '';
    width: 10px; height: 2px;
    background: #fff;
    border-radius: 1px;
  }
  .all-bar .right-tools { display: flex; gap: 16px; }
  .all-bar .right-tools a {
    font-size: 12px;
    color: var(--ink-3);
    font-weight: 500;
  }
  .all-bar .right-tools a:hover { color: var(--brand); }

  /* ============ SUPPLIER GROUP ============ */
  .sup-group {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    margin-bottom: 14px;
    overflow: hidden;
  }
  .sg-head {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line-2);
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .sg-head .sg-logo {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: #eefbf4;
    color: #15a36e;
    font-weight: 800;
    font-size: 12px;
    display: grid; place-items: center;
    flex: 0 0 40px;
  }
  .sg-head .sg-info { flex: 1; }
  .sg-head .sg-nm {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .sg-head .sg-nm .ver {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: grid; place-items: center;
  }
  .sg-head .sg-nm .ver svg { width: 9px; height: 9px; }
  .sg-head .sg-st {
    font-size: 11px;
    color: var(--ink-3);
    margin-top: 2px;
  }
  .sg-deliv {
    text-align: right;
    font-size: 12px;
    color: var(--ink-2);
  }
  .sg-deliv b { color: var(--ink); font-weight: 700; }
  .sg-deliv .free { color: var(--good); font-weight: 700; }

  /* ============ CART ITEM ============ */
  .item {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line-2);
    display: grid;
    grid-template-columns: auto 80px 1fr 130px 110px 30px;
    gap: 16px;
    align-items: center;
  }
  .item:last-child { border-bottom: 0; }
  .item.dim { opacity: .55; }
  .item-img {
    width: 80px; height: 80px;
    border-radius: 10px;
    background: #f7f9fc;
    display: grid; place-items: center;
  }
  .item-img svg { width: 36px; height: 36px; color: var(--ink-2); opacity: .65; }
  .item-info { min-width: 0; }
  .item-nm {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.3;
  }
  .item-nm a { color: inherit; }
  .item-nm a:hover { color: var(--brand); }
  .item-sub {
    font-size: 11px;
    color: var(--ink-3);
    margin-bottom: 6px;
    line-height: 1.3;
  }
  .item-tags {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--good);
    font-weight: 600;
  }
  .item-tags .sku {
    color: var(--ink-3);
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
  }
  .item-tags .sep { color: var(--ink-3); opacity: .4; }
  .item-tags .out { color: var(--bad); }

  .qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    height: 38px;
    width: 120px;
  }
  .qty button {
    width: 36px; height: 100%;
    color: var(--ink-2);
    font-size: 16px;
    font-weight: 700;
  }
  .qty button:hover { background: var(--brand-soft-2); color: var(--brand); }
  .qty input {
    width: 48px; height: 100%;
    border: 0; outline: 0;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--ink);
    background: transparent;
  }
  .qty-unit {
    font-size: 10px;
    color: var(--ink-3);
    margin-top: 4px;
  }

  .price-cell {
    text-align: right;
  }
  .price-cell .now {
    font-weight: 800;
    font-size: 15px;
    color: var(--ink);
    white-space: nowrap;
  }
  .price-cell .unit {
    font-size: 11px;
    color: var(--ink-3);
    margin-top: 2px;
  }
  .price-cell .save {
    font-size: 10px;
    color: var(--good);
    font-weight: 700;
    margin-top: 2px;
  }

  .item-remove {
    width: 30px; height: 30px;
    border-radius: 8px;
    color: var(--ink-3);
    display: grid; place-items: center;
    transition: all .15s;
  }
  .item-remove:hover { color: var(--bad); background: #fff0f0; }
  .item-remove svg { width: 14px; height: 14px; }

  /* group total */
  .sg-total {
    padding: 14px 18px;
    background: #f7f9fc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
  }
  .sg-total .lbl { color: var(--ink-3); font-weight: 600; }
  .sg-total .lbl b { color: var(--ink); font-weight: 700; }
  .sg-total .sum {
    font-weight: 800;
    font-size: 18px;
    color: var(--ink);
  }
  .sg-total .actions {
    display: inline-flex;
    gap: 14px;
    font-size: 12px;
  }
  .sg-total .actions a { color: var(--brand); font-weight: 600; }
  .sg-total .actions a:hover { text-decoration: underline; }

  /* ============ SUMMARY ============ */
  .summary {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    position: sticky;
    top: 16px;
  }
  .summary h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
  }
  .promo {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 16px;
  }
  .promo input {
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 12px;
    font-size: 13px;
    outline: 0;
    color: var(--ink);
  }
  .promo input:focus { border-color: var(--brand); }
  .promo button {
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 600;
    font-size: 13px;
  }
  .promo button:hover { background: #dde7ff; }
  .promo-applied {
    margin-top: 8px;
    padding: 8px 12px;
    background: #eafbf2;
    color: #15a36e;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .promo-applied svg { width: 12px; height: 12px; cursor: pointer; opacity: .6; }
  .promo-applied svg:hover { opacity: 1; }

  .sum-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 13px;
    color: var(--ink-2);
  }
  .sum-line.discount { color: var(--good); }
  .sum-line .v { font-weight: 700; color: var(--ink); }
  .sum-line.discount .v { color: var(--good); }
  .sum-line .help {
    font-size: 10px;
    color: var(--ink-3);
    margin-left: 6px;
    cursor: help;
  }
  .sum-divider {
    border-top: 1px dashed var(--line);
    margin: 6px 0;
  }
  .sum-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0 18px;
    border-top: 1px solid var(--line);
    margin-top: 6px;
  }
  .sum-total .lbl { font-size: 14px; color: var(--ink-2); font-weight: 600; }
  .sum-total .v {
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.4px;
  }
  .sum-vat { font-size: 11px; color: var(--ink-3); margin-bottom: 14px; text-align: right; }

  .btn-checkout {
    width: 100%;
    height: 52px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .btn-checkout:hover { background: var(--brand-2); }
  .btn-checkout svg { width: 18px; height: 18px; }
  .btn-secondary {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-weight: 600;
    font-size: 13px;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
  .btn-secondary svg { width: 14px; height: 14px; }

  .pay-options {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line-2);
  }
  .pay-options-title {
    font-size: 11px;
    color: var(--ink-3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
  }
  .pay-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .pay-list .pi {
    font-size: 12px;
    color: var(--ink-2);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .pay-list .pi svg {
    width: 14px; height: 14px;
    color: var(--good);
    flex: 0 0 14px;
  }

  /* ============ RECOMMENDED ============ */
  .rec-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 32px 0 14px;
  }
  .rec-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
  }
  .rec-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

/* Inline styles from /tema/favorites.html block 1 */
.page-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
  }
  .page-head h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.3px;
    color: var(--ink);
  }
  .page-head h1 .meta { font-weight: 500; color: var(--ink-3); font-size: 16px; margin-left: 8px; }

  /* tabs */
  .fav-tabs {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 6px;
    display: inline-flex;
    gap: 4px;
    margin-bottom: 20px;
  }
  .fav-tab {
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .15s;
  }
  .fav-tab:hover { background: var(--brand-soft-2); color: var(--ink); }
  .fav-tab.on { background: var(--brand); color: #fff; }
  .fav-tab .n {
    background: rgba(0,0,0,.08);
    color: inherit;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
  }
  .fav-tab.on .n { background: rgba(255,255,255,.22); }

  /* layout: sidebar with lists + main */
  .fav-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    align-items: start;
  }

  .lists-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 8px 8px;
  }
  .lp-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px 6px;
  }
  .lp-head h4 {
    margin: 0; font-size: 13px; font-weight: 700; color: var(--ink);
  }
  .lp-new {
    color: var(--brand);
    font-size: 12px;
    font-weight: 600;
    display: inline-flex; align-items: center; gap: 4px;
  }
  .lp-new svg { width: 12px; height: 12px; }
  .list-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
    transition: background .12s;
  }
  .list-item:hover { background: var(--brand-soft-2); }
  .list-item.on { background: var(--brand-soft); color: var(--ink); font-weight: 600; }
  .list-item .ic {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: #f7f9fc;
    display: grid; place-items: center;
    color: var(--ink-3);
    flex: 0 0 32px;
  }
  .list-item.on .ic { background: #fff; color: var(--brand); }
  .list-item .ic svg { width: 14px; height: 14px; }
  .list-item .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .list-item .n { font-size: 11px; color: var(--ink-3); font-weight: 600; }

  /* main */
  .actions-bar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .ab-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .ab-cb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }
  .cb {
    width: 18px; height: 18px;
    border: 1.5px solid var(--line);
    border-radius: 5px;
    background: #fff;
    display: grid; place-items: center;
    flex: 0 0 18px;
  }
  .cb.on { background: var(--brand); border-color: var(--brand); }
  .cb.on svg { display: block; }
  .cb svg { display: none; width: 11px; height: 11px; color: #fff; }
  .ab-bulk {
    display: inline-flex;
    gap: 8px;
  }
  .ab-bulk button {
    padding: 7px 14px;
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 600;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .ab-bulk button:hover { background: #dde7ff; }
  .ab-bulk button svg { width: 13px; height: 13px; }
  .ab-bulk button.danger { background: #fff0f0; color: var(--bad); }
  .ab-bulk button.danger:hover { background: #ffe2e2; }

  .ab-right {
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }
  .ab-right select {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    color: var(--ink);
    background: #fff;
    font-weight: 600;
    outline: 0;
  }

  /* product grid */
  .fav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  /* override prod-fav to filled state when favorited */
  .fav-grid .prod-fav.filled svg {
    color: var(--brand);
    fill: var(--brand);
  }
  .fav-grid .card { position: relative; }
  .card .cb-overlay {
    position: absolute;
    top: 8px; left: 8px;
    z-index: 2;
    background: #fff;
    border-radius: 5px;
    padding: 2px;
  }
  .fav-supp {
    font-size: 11px;
    color: var(--ink-3);
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .fav-supp::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--good);
    flex: 0 0 5px;
  }
  .fav-note {
    font-size: 11px;
    color: var(--ink-3);
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px dashed var(--line);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .fav-note svg { width: 11px; height: 11px; color: var(--ink-3); flex: 0 0 11px; }

  /* price drop badge */
  .drop {
    position: absolute;
    top: 8px; right: 40px;
    background: #15a36e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .drop svg { width: 10px; height: 10px; }

  /* SUPPLIERS view */
  .sup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .sup-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    flex-direction: column;
    transition: all .15s;
  }
  .sup-card:hover { border-color: var(--brand); transform: translateY(-2px); }
  .sup-card .head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
  }
  .sup-card .head .ic {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: grid; place-items: center;
    font-weight: 800;
    font-size: 13px;
    flex: 0 0 50px;
  }
  .sup-card .head .nm { font-weight: 700; font-size: 15px; color: var(--ink); }
  .sup-card .head .st {
    font-size: 11px; color: var(--ink-3);
    margin-top: 2px;
    display: inline-flex; align-items: center; gap: 4px;
  }
  .sup-card .head .st::before {
    content: ''; width: 5px; height: 5px;
    border-radius: 50%; background: var(--good);
  }
  .sup-card .head .heart {
    margin-left: auto;
    color: var(--brand);
  }
  .sup-card .head .heart svg { width: 18px; height: 18px; fill: var(--brand); }
  .sup-card .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
    margin-bottom: 12px;
  }
  .sup-card .stats .s {
    text-align: center;
  }
  .sup-card .stats .v { font-weight: 800; color: var(--ink); font-size: 16px; line-height: 1; margin-bottom: 4px; }
  .sup-card .stats .v.star { color: var(--warn); }
  .sup-card .stats .l { font-size: 10px; color: var(--ink-3); }
  .sup-card .row {
    display: flex; justify-content: space-between;
    font-size: 11px;
    color: var(--ink-3);
    padding: 4px 0;
  }
  .sup-card .row b { color: var(--ink-2); font-weight: 700; }
  .sup-card .ctas { display: flex; gap: 8px; margin-top: 14px; }
  .sup-card .ctas a {
    flex: 1; height: 36px;
    border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 12px; font-weight: 600;
  }
  .sup-card .ctas .primary { background: var(--brand); color: #fff; }
  .sup-card .ctas .primary:hover { background: var(--brand-2); }
  .sup-card .ctas .ghost { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
  .sup-card .ctas .ghost:hover { border-color: var(--brand); color: var(--brand); }
  .sup-card .ctas svg { width: 12px; height: 12px; }

  /* empty state hint */
  .hint {
    background: linear-gradient(160deg,#eef3ff,#f7f9fc);
    border: 1px dashed #c8d6f2;
    border-radius: var(--radius);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
  }
  .hint .ic {
    width: 36px; height: 36px;
    background: #fff;
    border-radius: 10px;
    display: grid; place-items: center;
    color: var(--brand);
    flex: 0 0 36px;
  }
  .hint .ic svg { width: 16px; height: 16px; }
  .hint .txt { font-size: 12px; color: var(--ink-2); line-height: 1.45; flex: 1; }
  .hint .txt b { color: var(--ink); font-weight: 700; }
  .hint a { color: var(--brand); font-weight: 600; font-size: 12px; }

/* Inline styles from /tema/orders.html block 1 */
.page-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
  .page-head h1 { margin: 0; font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -.3px; }
  .page-head h1 .meta { font-weight: 500; color: var(--ink-3); font-size: 16px; margin-left: 8px; }
  .page-head .ph-actions { display: flex; gap: 10px; }
  .page-head .btn-primary, .page-head .btn-ghost {
    height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 13px;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .page-head .btn-primary { background: var(--brand); color: #fff; }
  .page-head .btn-primary:hover { background: var(--brand-2); }
  .page-head .btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .page-head svg { width: 16px; height: 16px; }

  /* KPI strip */
  .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
  .kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
  .kpi .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 40px; }
  .kpi .ic.brand { background: var(--brand-soft); color: var(--brand); }
  .kpi .ic.good { background: #eafbf2; color: var(--good); }
  .kpi .ic.warn { background: #fff7e0; color: #c08c10; }
  .kpi .ic.info { background: #eaf6ff; color: #1a8acf; }
  .kpi svg { width: 18px; height: 18px; }
  .kpi .v { font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 4px; }
  .kpi .l { font-size: 12px; color: var(--ink-3); }
  .kpi .delta { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--good); }

  /* filters bar (reused style from rfq) */
  .filter-bar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px 10px 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
  }
  .fb-search { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 8px; padding: 6px 0; }
  .fb-search svg { width: 14px; height: 14px; color: var(--ink-3); }
  .fb-search input { border: 0; outline: 0; background: transparent; flex: 1; font-size: 13px; color: var(--ink); }
  .fb-chip {
    padding: 7px 12px; border-radius: 8px;
    background: #f7f9fc; color: var(--ink-2);
    font-size: 12px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px;
    cursor: pointer;
  }
  .fb-chip:hover { background: var(--brand-soft-2); color: var(--ink); }
  .fb-chip svg { width: 12px; height: 12px; opacity: .6; }

  /* Order card */
  .order {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all .12s;
  }
  .order:hover { border-color: var(--brand); }

  .o-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 14px 18px;
    background: #f7f9fc;
    border-bottom: 1px solid var(--line-2);
    gap: 16px;
  }
  .o-head-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .o-num {
    font-weight: 800;
    color: var(--ink);
    font-size: 14px;
  }
  .o-num a { color: inherit; }
  .o-num a:hover { color: var(--brand); }
  .o-date {
    font-size: 12px; color: var(--ink-3);
  }
  .o-date b { color: var(--ink-2); font-weight: 700; }
  .o-head-right {
    text-align: right;
  }
  .o-total {
    font-weight: 800;
    color: var(--ink);
    font-size: 18px;
  }
  .o-total small {
    font-weight: 500;
    color: var(--ink-3);
    font-size: 11px;
    margin-right: 6px;
  }
  .o-total-items {
    font-size: 11px;
    color: var(--ink-3);
    margin-top: 2px;
  }

  .o-body {
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
  }

  .o-items {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .o-thumb {
    width: 60px; height: 60px;
    border-radius: 8px;
    background: #f7f9fc;
    border: 1px solid var(--line);
    display: grid; place-items: center;
    position: relative;
    flex: 0 0 60px;
  }
  .o-thumb svg { width: 26px; height: 26px; color: var(--ink-2); opacity: .6; }
  .o-thumb .qty {
    position: absolute;
    bottom: -4px; right: -4px;
    background: var(--ink);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    border: 2px solid #fff;
  }
  .o-thumb.more {
    background: var(--brand-soft);
    color: var(--brand);
    border-color: transparent;
    font-weight: 700;
    font-size: 14px;
  }
  .o-supplier {
    margin-top: 12px;
    font-size: 12px;
    color: var(--ink-3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .o-supplier b { color: var(--ink-2); font-weight: 700; }
  .o-supplier .av {
    width: 22px; height: 22px;
    border-radius: 6px;
    background: #eefbf4;
    color: var(--good);
    display: grid; place-items: center;
    font-size: 9px;
    font-weight: 800;
  }

  /* tracker */
  .tracker {
    background: #fafbfd;
    border-radius: 10px;
    padding: 12px 14px;
  }
  .t-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
    position: relative;
    font-size: 12px;
    color: var(--ink-3);
  }
  .t-row .dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--line);
    flex: 0 0 16px;
    display: grid; place-items: center;
    z-index: 1;
    margin-top: 1px;
  }
  .t-row .dot svg { width: 9px; height: 9px; color: #fff; display: none; }
  .t-row.done .dot { background: var(--good); }
  .t-row.done .dot svg { display: block; }
  .t-row.now .dot { background: var(--brand); animation: pulse 1.5s infinite; }
  @keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,107,255,.5); } 50% { box-shadow: 0 0 0 6px rgba(47,107,255,0); } }
  .t-row .ln {
    position: absolute;
    left: 7px;
    top: 24px;
    bottom: -6px;
    width: 2px;
    background: var(--line);
  }
  .t-row.done .ln { background: var(--good); }
  .t-row:last-child .ln { display: none; }
  .t-row .v { color: var(--ink); font-weight: 600; flex: 1; }
  .t-row.done .v, .t-row.now .v { color: var(--ink); }
  .t-row .when {
    color: var(--ink-3);
    font-size: 11px;
    margin-top: 2px;
    font-weight: 500;
  }

  .o-actions {
    padding: 12px 18px 16px;
    border-top: 1px solid var(--line-2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .o-actions-left {
    display: flex; align-items: center; gap: 16px;
    font-size: 12px; color: var(--ink-3);
  }
  .o-actions-left .pay {
    display: inline-flex; align-items: center; gap: 6px;
  }
  .o-actions-left .pay svg { width: 13px; height: 13px; color: var(--good); }
  .o-actions-right {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .oa-btn {
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--ink-2);
    border: 1px solid var(--line);
  }
  .oa-btn:hover { border-color: var(--brand); color: var(--brand); }
  .oa-btn.primary { background: var(--brand); color: #fff; border-color: transparent; }
  .oa-btn.primary:hover { background: var(--brand-2); color: #fff; }
  .oa-btn svg { width: 12px; height: 12px; }

/* Inline styles from /tema/rfq.html block 1 */
.page-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 24px; margin-bottom: 18px;
  }
  .page-head h1 { margin: 0; font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -.3px; }
  .page-head h1 .meta { font-weight: 500; color: var(--ink-3); font-size: 16px; margin-left: 8px; }
  .page-head .ph-actions { display: flex; gap: 10px; }
  .page-head .btn-primary, .page-head .btn-ghost {
    height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 13px;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .page-head .btn-primary { background: var(--brand); color: #fff; border: 0; }
  .page-head .btn-primary:hover { background: var(--brand-2); }
  .page-head .btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .page-head .btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
  .page-head svg { width: 16px; height: 16px; }

  /* KPI strip */
  .kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
  }
  .kpi {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .kpi .ic {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: grid; place-items: center;
    flex: 0 0 40px;
  }
  .kpi .ic.brand { background: var(--brand-soft); color: var(--brand); }
  .kpi .ic.good { background: #eafbf2; color: var(--good); }
  .kpi .ic.warn { background: #fff7e0; color: #c08c10; }
  .kpi .ic.info { background: #eaf6ff; color: #1a8acf; }
  .kpi svg { width: 18px; height: 18px; }
  .kpi .v { font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 4px; }
  .kpi .l { font-size: 12px; color: var(--ink-3); }
  .kpi .delta {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--good);
  }
  .kpi .delta.down { color: var(--bad); }

  /* filters bar */
  .filter-bar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px 10px 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
  }
  .fb-search {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
  }
  .fb-search svg { width: 14px; height: 14px; color: var(--ink-3); }
  .fb-search input {
    border: 0; outline: 0; background: transparent;
    flex: 1;
    font-size: 13px;
    color: var(--ink);
  }
  .fb-search input::placeholder { color: var(--ink-3); }
  .fb-chip {
    padding: 7px 12px;
    border-radius: 8px;
    background: #f7f9fc;
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }
  .fb-chip:hover { background: var(--brand-soft-2); color: var(--ink); }
  .fb-chip svg { width: 12px; height: 12px; opacity: .6; }

  /* RFQ row */
  .rfq-row {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: 1fr 200px 240px auto;
    gap: 20px;
    align-items: center;
    transition: all .12s;
  }
  .rfq-row:hover { border-color: var(--brand); box-shadow: 0 8px 20px rgba(20,33,58,.05); }

  .rr-info {
    min-width: 0;
  }
  .rr-line1 {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 4px;
  }
  .rr-id {
    font-size: 11px;
    color: var(--ink-3);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
  }
  .rr-title {
    font-weight: 700; font-size: 15px; color: var(--ink);
    line-height: 1.3;
    margin-bottom: 4px;
  }
  .rr-title a { color: inherit; }
  .rr-title a:hover { color: var(--brand); }
  .rr-meta {
    font-size: 12px; color: var(--ink-3);
    display: flex; gap: 14px;
    flex-wrap: wrap;
  }
  .rr-meta b { color: var(--ink-2); font-weight: 700; }
  .rr-meta .sep { opacity: .4; }

  .rr-responses {
    text-align: center;
  }
  .rr-resp-num {
    font-weight: 800; font-size: 22px; color: var(--ink); line-height: 1;
  }
  .rr-resp-label {
    font-size: 11px; color: var(--ink-3); margin-top: 4px;
  }
  .rr-best {
    font-size: 11px; color: var(--good); font-weight: 700;
    margin-top: 6px;
    display: inline-flex; align-items: center; gap: 4px;
  }
  .rr-best svg { width: 11px; height: 11px; }

  .rr-deadline {
    font-size: 12px;
    color: var(--ink-2);
  }
  .rr-deadline .lbl { font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; font-weight: 600; }
  .rr-deadline .v { font-weight: 700; color: var(--ink); }
  .rr-deadline .left {
    font-size: 11px;
    color: var(--warn);
    margin-top: 2px;
    font-weight: 600;
  }
  .rr-deadline .left.urgent { color: var(--bad); }
  .rr-deadline .left.done { color: var(--good); }

  .rr-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
  .rr-cta {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    background: var(--brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }
  .rr-cta:hover { background: var(--brand-2); }
  .rr-cta.ghost {
    background: #fff;
    color: var(--ink-2);
    border: 1px solid var(--line);
  }
  .rr-cta.ghost:hover { border-color: var(--brand); color: var(--brand); }
  .rr-cta svg { width: 12px; height: 12px; }

  /* hint banner */
  .hint {
    background: linear-gradient(160deg,#eef3ff,#f7f9fc);
    border: 1px dashed #c8d6f2;
    border-radius: var(--radius);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
  }
  .hint .ic {
    width: 36px; height: 36px;
    background: #fff;
    border-radius: 10px;
    display: grid; place-items: center;
    color: var(--brand);
    flex: 0 0 36px;
  }
  .hint .ic svg { width: 16px; height: 16px; }
  .hint .txt { font-size: 12px; color: var(--ink-2); line-height: 1.45; flex: 1; }
  .hint .txt b { color: var(--ink); font-weight: 700; }
  .hint a { color: var(--brand); font-weight: 600; font-size: 12px; }

/* Inline styles from /tema/supplier.html block 1 */
/* Supplier hero */
  .sup-hero {
    background: linear-gradient(135deg, #eefbf4 0%, #e8f3ed 100%);
    border: 1px solid #d4ecdf;
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
  }
  .sh-logo {
    width: 96px; height: 96px;
    border-radius: 20px;
    background: #fff;
    display: grid; place-items: center;
    font-weight: 800;
    font-size: 28px;
    color: var(--good);
    box-shadow: 0 6px 16px rgba(20,33,58,.06);
    flex: 0 0 96px;
  }
  .sh-info { min-width: 0; }
  .sh-line1 {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px;
  }
  .sh-info h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.3px;
  }
  .sh-verify {
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px 4px 6px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex; align-items: center; gap: 4px;
  }
  .sh-verify svg { width: 12px; height: 12px; }
  .sh-tagline {
    color: var(--ink-2);
    font-size: 14px;
    margin-bottom: 12px;
    max-width: 640px;
  }
  .sh-badges { display: flex; gap: 8px; flex-wrap: wrap; }
  .sh-badge {
    background: #fff;
    border: 1px solid rgba(20,33,58,.08);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .sh-badge svg { width: 12px; height: 12px; color: var(--good); }
  .sh-actions {
    display: flex; flex-direction: column; gap: 10px;
  }
  .sh-actions button, .sh-actions a {
    height: 44px;
    border-radius: 10px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
    border: 0;
  }
  .sh-actions .primary { background: var(--brand); color: #fff; }
  .sh-actions .primary:hover { background: var(--brand-2); }
  .sh-actions .ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .sh-actions .ghost:hover { border-color: var(--brand); color: var(--brand); }
  .sh-actions svg { width: 14px; height: 14px; }

  /* KPIs */
  .skpis {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 16px 8px;
    margin-bottom: 18px;
  }
  .skpi {
    text-align: center;
    border-right: 1px solid var(--line-2);
    padding: 4px 12px;
  }
  .skpi:last-child { border-right: 0; }
  .skpi .v { font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 4px; }
  .skpi .v.star { color: var(--warn); }
  .skpi .l { font-size: 11px; color: var(--ink-3); }

  /* Subnav reused, but inline-flex */
  .sn { display: inline-flex; }

  /* Layout */
  .sup-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    align-items: start;
  }

  /* Section heads */
  .sec-head {
    display: flex; justify-content: space-between; align-items: center;
    margin: 8px 0 14px;
  }
  .sec-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
  }
  .sec-head a { color: var(--brand); font-weight: 600; font-size: 13px; }

  /* Promo banner */
  .promo-strip {
    background: linear-gradient(120deg, #fff4ea 0%, #ffe8d4 100%);
    border: 1px solid #fbd5a8;
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
  }
  .promo-strip h3 { margin: 0 0 4px; font-size: 15px; color: var(--ink); font-weight: 800; }
  .promo-strip p { margin: 0; font-size: 12px; color: var(--ink-2); }
  .promo-strip .promo-code {
    background: #fff;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 800;
    color: var(--ink);
    border: 2px dashed #d49b3a;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 1px;
    font-size: 14px;
  }

  /* Product grid */
  .sup-prods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  /* Categories grid (smaller) */
  .scats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .scat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all .12s;
  }
  .scat:hover { border-color: var(--brand); transform: translateY(-2px); }
  .scat .ic {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid; place-items: center;
    flex: 0 0 40px;
  }
  .scat .ic svg { width: 18px; height: 18px; }
  .scat .nm { font-size: 13px; font-weight: 700; color: var(--ink); }
  .scat .n { font-size: 11px; color: var(--ink-3); margin-top: 2px; }

  /* Right column: contact + about */
  .contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
  }
  .contact-card h3 {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
  }
  .contact-card .row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 12px;
  }
  .contact-card .row:last-child { border-bottom: 0; }
  .contact-card .row .ic {
    width: 28px; height: 28px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 8px;
    display: grid; place-items: center;
    flex: 0 0 28px;
  }
  .contact-card .row .ic svg { width: 13px; height: 13px; }
  .contact-card .row .info { flex: 1; min-width: 0; }
  .contact-card .row .lbl { color: var(--ink-3); font-size: 10px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; font-weight: 600; }
  .contact-card .row .v { color: var(--ink); font-weight: 600; }
  .contact-card .row .v a { color: var(--brand); }

  /* manager card */
  .manager-card {
    background: linear-gradient(160deg,#eef3ff,#f7f9fc);
    border: 1px solid #d6e2ff;
    border-radius: var(--radius-lg);
    padding: 18px;
    margin-bottom: 16px;
  }
  .manager-card .head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .manager-card .av {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a26b, #8a6c3a);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 700;
    flex: 0 0 48px;
  }
  .manager-card .name { font-size: 13px; font-weight: 800; color: var(--ink); }
  .manager-card .role { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
  .manager-card .stats { font-size: 11px; color: var(--ink-2); margin-bottom: 12px; }
  .manager-card .stats b { color: var(--ink); }
  .manager-card .actions { display: flex; gap: 6px; }
  .manager-card .actions a {
    flex: 1;
    background: #fff;
    border: 1px solid var(--brand);
    color: var(--brand);
    border-radius: 8px;
    padding: 8px 0;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }
  .manager-card .actions a:hover { background: var(--brand); color: #fff; }
  .manager-card .actions svg { width: 13px; height: 13px; }

  /* certifications */
  .certs {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
  }
  .certs h3 { margin: 0 0 12px; font-size: 14px; font-weight: 800; color: var(--ink); }
  .certs ul { list-style: none; padding: 0; margin: 0; }
  .certs li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 12px;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line-2);
  }
  .certs li:last-child { border-bottom: 0; }
  .certs li svg { width: 14px; height: 14px; color: var(--good); flex: 0 0 14px; }
  .certs li a { color: var(--brand); font-weight: 600; margin-left: auto; font-size: 11px; }

  /* Reviews */
  .review-row {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 8px;
  }
  .rev-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 8px;
  }
  .rev-author { display: flex; align-items: center; gap: 10px; }
  .rev-author .av {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b8cff, #2f6bff);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 11px;
  }
  .rev-author .name { font-size: 12px; font-weight: 700; color: var(--ink); }
  .rev-author .co { font-size: 10px; color: var(--ink-3); }
  .rev-stars { color: var(--warn); display: inline-flex; gap: 1px; }
  .rev-stars svg { width: 13px; height: 13px; }
  .rev-date { font-size: 11px; color: var(--ink-3); margin-left: 10px; }
  .rev-text { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 0; }

/* Inline styles from /tema/notifications.html block 1 */
.page-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
  }
  .page-head h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.3px;
    color: var(--ink);
  }
  .page-head h1 .meta {
    font-weight: 500;
    color: var(--ink-3);
    font-size: 16px;
    margin-left: 8px;
  }
  .ph-tools { display: flex; gap: 14px; align-items: center; }
  .ph-tools a {
    font-size: 13px;
    color: var(--ink-3);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .ph-tools a:hover { color: var(--brand); }
  .ph-tools a svg { width: 14px; height: 14px; }

  .notif-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    align-items: start;
  }

  /* LEFT: type filters */
  .types-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 8px;
  }
  .tp-head {
    padding: 8px 12px 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
  }
  .type-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
    transition: background .12s;
  }
  .type-item:hover { background: var(--brand-soft-2); }
  .type-item.on { background: var(--brand-soft); color: var(--ink); font-weight: 600; }
  .type-item .ic {
    width: 28px; height: 28px;
    border-radius: 8px;
    display: grid; place-items: center;
    flex: 0 0 28px;
  }
  .type-item .ic svg { width: 13px; height: 13px; }
  .type-item .nm { flex: 1; min-width: 0; }
  .type-item .n {
    background: var(--bad);
    color: #fff;
    border-radius: 999px;
    padding: 1px 7px;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
  }
  .type-item .n.zero { background: var(--line); color: var(--ink-3); }

  .tp-divider {
    border-top: 1px solid var(--line-2);
    margin: 6px 0;
  }
  .tp-settings {
    padding: 12px 12px 6px;
  }
  .tp-settings a {
    color: var(--brand);
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .tp-settings svg { width: 13px; height: 13px; }

  /* RIGHT: notification list */
  .day-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    margin-top: 6px;
  }
  .day-head h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: .5px;
  }
  .day-head .ln {
    flex: 1;
    height: 1px;
    background: var(--line);
  }
  .day-head .ct {
    font-size: 11px;
    color: var(--ink-3);
    font-weight: 600;
  }

  .notif {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 8px;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 14px;
    align-items: start;
    position: relative;
    transition: border-color .12s, box-shadow .12s;
  }
  .notif:hover { border-color: var(--brand); }
  .notif.unread { background: linear-gradient(90deg, #f3f6ff 0%, #fff 30%); border-color: #d6e2ff; }
  .notif.unread::before {
    content: '';
    position: absolute;
    left: -1px; top: 12px; bottom: 12px;
    width: 3px;
    background: var(--brand);
    border-radius: 2px;
  }

  .n-ic {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: grid; place-items: center;
    flex: 0 0 44px;
  }
  .n-ic svg { width: 18px; height: 18px; }

  .n-ic.order { background: #eaf0ff; color: var(--brand); }
  .n-ic.delivered { background: #eafbf2; color: var(--good); }
  .n-ic.price-up { background: #fff0ea; color: #e85b1a; }
  .n-ic.price-down { background: #eafbf2; color: var(--good); }
  .n-ic.rfq { background: #f1eefb; color: #6a47c2; }
  .n-ic.supplier { background: #fff8e1; color: #c08c10; }
  .n-ic.doc { background: #eaf6ff; color: #1a8acf; }
  .n-ic.system { background: #fff0f0; color: var(--bad); }
  .n-ic.promo { background: #ffefe7; color: #d94d10; }
  .n-ic.return { background: #f4f1ff; color: #7a45d8; }

  .n-body { min-width: 0; }
  .n-line1 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
  }
  .n-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
  }
  .n-tag {
    background: var(--line-2);
    color: var(--ink-2);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: .4px;
  }
  .n-tag.good { background: #eafbf2; color: var(--good); }
  .n-tag.warn { background: #fff7e0; color: #c08c10; }
  .n-tag.bad { background: #ffeae6; color: var(--bad); }
  .n-tag.brand { background: var(--brand-soft); color: var(--brand); }
  .n-desc {
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.5;
    margin-bottom: 8px;
  }
  .n-desc b { color: var(--ink); font-weight: 700; }
  .n-desc a { color: var(--brand); font-weight: 600; }

  /* Embedded preview cards inside notification */
  .n-preview {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    background: #f7f9fc;
    border-radius: 10px;
    margin-top: 8px;
    margin-bottom: 4px;
  }
  .n-preview .thumb {
    width: 48px; height: 48px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    display: grid; place-items: center;
    flex: 0 0 48px;
  }
  .n-preview .thumb svg { width: 24px; height: 24px; color: var(--ink-2); opacity: .6; }
  .n-preview .info { flex: 1; min-width: 0; font-size: 12px; }
  .n-preview .info b { color: var(--ink); font-weight: 700; }
  .n-preview .info .row { color: var(--ink-3); margin-top: 2px; }
  .n-preview .pr { font-weight: 800; color: var(--ink); font-size: 14px; }
  .n-preview .pr small { color: var(--ink-3); font-size: 11px; font-weight: 500; text-decoration: line-through; margin-left: 4px; }

  .n-actions {
    display: inline-flex;
    gap: 8px;
    margin-top: 6px;
  }
  .n-actions a {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
  }
  .n-actions .primary { background: var(--brand); color: #fff; }
  .n-actions .primary:hover { background: var(--brand-2); }
  .n-actions .ghost { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
  .n-actions .ghost:hover { border-color: var(--brand); color: var(--brand); }

  .n-meta {
    text-align: right;
    font-size: 11px;
    color: var(--ink-3);
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-top: 2px;
  }
  .n-meta .time { font-weight: 600; }
  .n-meta .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--brand);
  }
  .notif:not(.unread) .n-meta .dot { display: none; }
  .n-more {
    color: var(--ink-3);
    width: 24px; height: 24px;
    border-radius: 6px;
    display: grid; place-items: center;
  }
  .n-more:hover { background: var(--line-2); color: var(--ink); }
  .n-more svg { width: 14px; height: 14px; }

  /* RFQ multi-quotes */
  .quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
  }
  .quote {
    background: #f7f9fc;
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line-2);
  }
  .quote.best { border-color: var(--good); background: #eafbf2; }
  .quote .nm { font-size: 11px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
  .quote .pr { font-weight: 800; color: var(--ink); font-size: 14px; }
  .quote .best-tag {
    color: var(--good);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-top: 2px;
  }

  /* Load more */
  .load-more {
    text-align: center;
    margin-top: 18px;
  }
  .btn-load {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
  }
  .btn-load:hover { border-color: var(--brand); color: var(--brand); }

/* CRM dynamic adapters */
body.template-alippe-premium, .template-alippe-premium { background: var(--bg); color: var(--ink); font-family: 'Manrope', system-ui, -apple-system, sans-serif; }
.template-alippe-premium .pap-page.wrap { max-width: 1440px; margin: 0 auto; padding: 20px 32px 40px; }
.template-alippe-premium .pap-main { display: block; }
.template-alippe-premium header.top.pap-header { display: grid; grid-template-columns: 200px 160px 1fr auto; gap: 20px; align-items: center; padding: 14px 0 22px; }
.template-alippe-premium .pap-subnav { display: none !important; }
.template-alippe-premium .logo-img img { max-width: 190px; max-height: 48px; object-fit: contain; }
.template-alippe-premium .ta-item b.ta-badge[hidden] { display: none; }
.template-alippe-premium .card-buy-form { margin: 0; }
.template-alippe-premium .card-buy-form .add-btn span { display: none; }
.template-alippe-premium .card-buy-form .add-btn { width: 32px; height: 32px; padding: 0; border-radius: 8px; }
.template-alippe-premium .card-buy-form .add-btn svg { width: 16px; height: 16px; }
.template-alippe-premium .product-actions, .template-alippe-premium .product-meta .stock-note { display: none; }
.template-alippe-premium .product-meta { display: block; }
.template-alippe-premium .stock-pill { display: inline-flex; color: var(--good); background: transparent; font-size: 11px; padding: 0; font-weight: 600; }
.template-alippe-premium .stock-pill::before, .template-alippe-premium .in-stock::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; margin-right: 5px; vertical-align: middle; }
.template-alippe-premium .product-body { display: flex; flex-direction: column; flex: 1; }
.template-alippe-premium .product-image img, .template-alippe-premium .prod-img img { max-width: 88%; max-height: 88%; object-fit: contain; }
.template-alippe-premium .catalog-results-head, .template-alippe-premium .catalog-sort { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; }
.template-alippe-premium .catalog-sort select { height:40px; border:1px solid var(--line); border-radius:10px; background:#fff; padding:0 12px; color:var(--ink-2); font-weight:600; }
.template-alippe-premium .pagination { display:flex; gap:8px; justify-content:center; margin:24px 0 0; }
.template-alippe-premium .pagination a, .template-alippe-premium .pagination span { min-width:38px; height:38px; border:1px solid var(--line); background:#fff; border-radius:10px; display:grid; place-items:center; color:var(--ink-2); font-weight:700; }
.template-alippe-premium .pagination .active, .template-alippe-premium .pagination [aria-current='page'] { background:var(--brand); color:#fff; border-color:var(--brand); }
@media (max-width: 980px) { .template-alippe-premium header.top.pap-header { grid-template-columns: 1fr; } .template-alippe-premium .top-actions { flex-wrap: wrap; } .template-alippe-premium .layout, .template-alippe-premium .hero-row, .template-alippe-premium .prod-layout { grid-template-columns: 1fr; } .template-alippe-premium .cat-grid, .template-alippe-premium .products-grid, .template-alippe-premium .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .template-alippe-premium .pap-page.wrap { padding: 12px; } .template-alippe-premium .cat-grid, .template-alippe-premium .products-grid, .template-alippe-premium .product-grid { grid-template-columns: 1fr; } .template-alippe-premium .searchbar { grid-template-columns: 1fr 48px; } .template-alippe-premium .search-select { display:none; } }

