/* ══════════════════════════════════════════════════════════
   PriceList App — Functional CSS
   ══════════════════════════════════════════════════════════ */

:root {
  --primary: #333333;
  --primary-dark: #1a1a1a;
  --bg: #f5f6f8;
  --surface: #ffffff;
  --border: #e0e0e0;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --sidebar-width: 220px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: var(--font-size);
  line-height: 1.5;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Site Header ─────────────────────────────────────────── */

.site-header {
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.header-text { flex: 1; }
.header-text h1 { font-size: var(--heading-size, 20px); font-family: var(--heading-font, inherit); font-weight: 600; color: var(--heading-color, #fff); }
.header-contact { font-size: var(--subheading-size, 13px); font-family: var(--subheading-font, inherit); color: var(--subheading-color, rgba(255,255,255,0.8)); }
.header-meta { font-size: 12px; opacity: 0.65; white-space: nowrap; }
.last-updated { font-size: 12px; }

/* ── Three-pane layout ───────────────────────────────────── */

body.catalog-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* ── Layout ──────────────────────────────────────────────── */

.layout {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
}

/* ── Sidebar ─────────────────────────────────────────────── */

.sidebar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--sidebar-width);
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 16px 0;
  overflow-y: scroll;
}

.sidebar-section { margin-bottom: 24px; }

.sidebar-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  padding: 0 16px 8px;
}

/* Category nav */
.category-nav { display: flex; flex-direction: column; }

.cat-link,
.subcat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 16px;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.1s, border-color 0.1s;
  text-decoration: none;
}

.cat-name-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.cat-toggle {
  font-size: 8px;
  opacity: 0.45;
  flex-shrink: 0;
  transition: transform 0.15s;
  line-height: 1;
}

.cat-group.expanded > .cat-link .cat-toggle {
  transform: rotate(90deg);
}

.cat-link:hover,
.subcat-link:hover {
  background: #f0f0f0;
  text-decoration: none;
}

.cat-link.active,
.subcat-link.active {
  background: #f0f4ff;
  border-left-color: var(--primary);
  font-weight: 600;
  color: var(--primary);
}

.all-link { font-weight: 600; }

.subcat-link {
  padding-left: 28px;
  font-size: 12px;
  color: var(--text-muted);
}


.cat-count {
  font-size: 11px;
  color: var(--text-muted);
  background: #f0f0f0;
  border-radius: 10px;
  padding: 1px 6px;
  min-width: 24px;
  text-align: center;
}

/* ── Filter Panel (right column) ─────────────────────────────── */

.filter-panel {
  width: 190px;
  flex-shrink: 0;
  background: var(--surface);
  border-left: 1px solid var(--border);
  padding: 16px 0;
  overflow-y: auto;
}

/* Filters */
.filter-group { padding: 0 16px 12px; }

.filter-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.filter-select {
  width: 100%;
  padding: 6px 8px;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #fafafa;
  color: var(--text);
  cursor: pointer;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-clear-filters {
  display: block;
  margin: 4px 16px 0;
  padding: 6px 0;
  width: calc(100% - 32px);
  font-size: 12px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text-muted);
  cursor: pointer;
  text-align: center;
}

.btn-clear-filters:hover { background: #f0f0f0; }

/* ── Right column (search + filters) ─────────────────────── */

.right-col {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 190px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border-left: 1px solid var(--border);
}

.right-col .search-bar-wrap {
  padding: 10px 10px 8px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  margin-bottom: 0;
}

.right-col .search-input {
  width: 100%;
  max-width: none;
}

.right-col .filter-panel {
  flex: 1;
  min-height: 0;
  width: auto;
  border-left: none;
  overflow-y: auto;
}

/* ── Main Content ────────────────────────────────────────── */

.main-content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--sidebar-width);
  right: 190px;
  padding: 16px 20px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.search-bar-wrap {
  margin-bottom: 16px;
}

.search-input {
  width: 100%;
  max-width: 480px;
  padding: 9px 14px;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  transition: border-color 0.15s;
  outline: none;
}

.search-input:focus { border-color: var(--primary); }

/* ── Product Table ───────────────────────────────────────── */

.table-meta {
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.result-count { font-weight: 600; }

.table-scroll {
  overflow-x: auto;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}

.product-table thead {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}

.product-table th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  user-select: none;
}

.product-table th.sortable { cursor: pointer; }
.product-table th.sortable:hover { background: var(--primary-dark, #222); }

.sort-arrow { margin-left: 4px; font-size: 11px; }
.sort-arrow.muted { opacity: 0.4; }

.product-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  white-space: nowrap;
}

.product-table tbody tr:last-child td { border-bottom: none; }

.product-table tbody tr:hover { background: #fafafa; }

.col-name {
  white-space: normal;
  min-width: 200px;
}


.col-price,
.product-table th.col-price {
  text-align: center;
  white-space: nowrap;
}

.col-attr,
.product-table th.col-attr {
  text-align: center;
  white-space: nowrap;
}

.product-name-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-name { font-weight: 500; }

.product-desc {
  font-size: 12px;
  color: var(--text-muted);
  white-space: normal;
}

.col-img,
.product-table th.col-img {
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  padding: 6px 4px;
  text-align: center;
}

.thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
  display: block;
}

.thumb-link { display: inline-block; }

.price-value { font-weight: 600; }
.price-unit  { font-size: 11px; color: var(--text-muted); display: block; margin-top: 1px; }
.price-hidden { color: var(--text-muted); font-style: italic; }

/* ── Empty State ─────────────────────────────────────────── */

.empty-state {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
}

.empty-state p { margin-bottom: 8px; }

/* ── Footer ──────────────────────────────────────────────── */

.site-footer {
  background: var(--footer-bg, var(--primary));
  color: var(--footer-text, rgba(255,255,255,0.9));
  padding: 10px 20px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: var(--footer-size, 12px);
}

.footer-price-note {
  font-weight: 600;
  flex: 1;
  font-family: var(--footer-heading-font, inherit);
  font-size: var(--footer-heading-size, inherit);
  color: var(--footer-heading-color, inherit);
}

.footer-contact {
  font-family: var(--footer-subheading-font, inherit);
  font-size: var(--footer-subheading-size, var(--contact-font-size, inherit));
  color: var(--footer-subheading-color, var(--contact-font-color, inherit));
}

.footer-updated {
  opacity: 0.65;
  white-space: nowrap;
}

.price-note { font-weight: 500; }

.header-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.admin-link {
  font-size: 11px;
  color: #fff;
  opacity: 0.35;
  text-decoration: none;
}
.admin-link:hover { opacity: 0.75; text-decoration: none; }

/* ── Admin ───────────────────────────────────────────────── */

.admin-page { background: var(--bg); }

.admin-header {
  background: #1e293b;
  color: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header h1 { font-size: 1.1rem; }

.admin-header-links { display: flex; gap: 20px; font-size: 13px; }
.admin-header-links a { color: rgba(255,255,255,0.75); }
.admin-header-links a:hover { color: #fff; text-decoration: none; }

.admin-content {
  max-width: 840px;
  margin: 24px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
}

.admin-section h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.section-note { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

/* Template download section */
.template-section { border-color: var(--primary); background: #f0f5ff; }
.template-section h2 { color: var(--primary); }
.btn-large { font-size: 1rem; padding: 12px 28px; margin-top: 4px; }

/* Emergency section */
.emergency-section { border-color: #fca5a5; }
.emergency-section h2 { color: var(--danger); }

.control-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.control-row:last-child { border-bottom: none; padding-bottom: 0; }

.control-info strong { display: block; margin-bottom: 4px; }
.control-info p { font-size: 13px; color: var(--text-muted); }

.status-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-active { background: #fef3c7; color: #92400e; }

/* Status grid */
.status-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.status-item { display: flex; flex-direction: column; gap: 2px; }
.status-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); }
.status-value { font-size: 1.1rem; font-weight: 600; }

/* Upload form */
.upload-form { display: flex; flex-direction: column; gap: 16px; }

.upload-field { display: flex; flex-direction: column; gap: 4px; }

.upload-field label { font-size: 13px; font-weight: 600; }

.upload-field input[type="file"] {
  padding: 6px;
  border: 1px dashed var(--border);
  border-radius: 5px;
  font-size: 13px;
  cursor: pointer;
}

.field-hint { font-size: 12px; color: var(--text-muted); }

.required-star { color: var(--danger); }

.upload-actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 4px; }

/* Embed snippet */
.embed-snippet {
  background: #f8f8f8;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 12px 14px;
  font-size: 12px;
  font-family: 'Courier New', monospace;
  white-space: pre;
  overflow-x: auto;
  color: #333;
}

/* ── Demo Section ────────────────────────────────────────── */

.demo-section { border-color: #a78bfa; background: #faf5ff; }
.demo-section h2 { color: #6d28d9; }

.demo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.demo-btn {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 18px;
  border: 2px solid #a78bfa;
  border-radius: 7px;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: background 0.15s, border-color 0.15s;
  min-width: 160px;
}

.demo-btn:hover {
  background: #ede9fe;
  border-color: #6d28d9;
}

.demo-name { font-weight: 600; font-size: 13px; color: #3b0764; }
.demo-count { font-size: 11px; color: var(--text-muted); }

/* Text utils */
.text-muted   { color: var(--text-muted); }
.text-warning { color: var(--warning); }

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
  font-family: var(--font);
}

.btn:hover { opacity: 0.88; text-decoration: none; }

.btn-primary   { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-warning   { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.btn-warning-active { background: var(--warning); color: #fff; border-color: var(--warning); }
.btn-danger    { background: #fee2e2; color: var(--danger); border-color: #fca5a5; }
.btn-danger-active  { background: var(--danger); color: #fff; border-color: var(--danger); }

/* ── Flash Messages ──────────────────────────────────────── */

.flash {
  padding: 10px 14px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  border-left: 4px solid;
}

.flash-success { background: #f0fdf4; border-color: var(--success); color: #14532d; }
.flash-error   { background: #fef2f2; border-color: var(--danger);  color: #7f1d1d; }
.flash-warning { background: #fffbeb; border-color: var(--warning); color: #78350f; }

/* ── Login Page ──────────────────────────────────────────── */

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg);
}

.login-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-box h1 { font-size: 1.15rem; text-align: center; }

.login-box label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.login-box input[type="password"] {
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  outline: none;
}
.login-box input[type="password"]:focus { border-color: var(--primary); }
.login-box .btn { width: 100%; }

/* ── Embed mode ──────────────────────────────────────────── */

body.embed { background: #fff; }
body.embed .dev-footer { display: none; }
body.embed .layout { width: 100%; }
body.embed .main-content { padding: 8px 12px; }

/* ── Responsive ──────────────────────────────────────────── */

.mobile-bar,
.mobile-backdrop,
.mobile-drawer { display: none; }

@media (max-width: 700px) {
  body.catalog-page {
    height: auto;
    overflow: visible;
    padding-bottom: 72px;
  }

  .layout {
    position: static;
    display: block;
  }

  .sidebar,
  .right-col { display: none; }

  .main-content {
    position: static;
    overflow-y: visible;
    overflow-x: visible;
    left: auto;
    right: auto;
    padding: 12px 14px;
  }

  .admin-content { margin: 12px auto; }
  .control-row { flex-direction: column; }
  .status-grid { gap: 16px; }

  body.catalog-page { display: block; }

  /* ── Mobile bottom bar ── */
  .mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 8px 16px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    gap: 10px;
  }

  .mobile-bar-btn {
    flex: 1;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    cursor: pointer;
  }

  /* ── Mobile backdrop ── */
  .mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }

  .mobile-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* ── Mobile drawer ── */
  .mobile-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 80vh;
    background: var(--surface);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
    z-index: 300;
    transform: translateY(100%);
    transition: transform 0.25s ease;
  }

  .mobile-drawer.open {
    transform: translateY(0);
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    padding: 12px 16px 0;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    flex-shrink: 0;
  }

  .mobile-drawer-tab {
    flex: 1;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    cursor: pointer;
    margin-bottom: -1px;
  }

  .mobile-drawer-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
  }

  .mobile-drawer-close {
    padding: 8px 12px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-muted);
    font-family: var(--font);
    line-height: 1;
  }

  .mobile-drawer-body {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ===== DEMO SWITCHER ===== */
.demo-switcher {
  margin-top: 16px;
  padding: 12px;
  background: #f0f2f4;
  border: 1px solid #dde2e8;
  border-top: 3px solid #e07b2a;
  border-radius: 3px;
}
.demo-switcher-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #999;
  margin-bottom: 8px;
  font-weight: bold;
}
.ds-btn {
  display: block;
  padding: 6px 10px;
  margin-bottom: 5px;
  font-size: 12px;
  border: 1px solid #ccd2da;
  border-radius: 3px;
  color: #555;
  text-decoration: none;
  background: #fff;
}
.ds-btn:last-child { margin-bottom: 0; }
.ds-btn:hover {
  border-color: #1c3557;
  color: #1c3557;
  text-decoration: none;
}
.ds-btn.ds-current {
  background: #1c3557;
  color: #fff;
  border-color: #1c3557;
  font-weight: bold;
}
.ds-btn.ds-current:hover {
  background: #2a4a72;
  border-color: #2a4a72;
}

/* ── Dev footer ───────────────────────────────────────────────────────────── */
.dev-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 10px 0;
  text-align: center;
}
.dev-footer-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.dev-footer-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.5;
}
.dev-footer-sep {
  color: var(--border);
  font-size: 0.8rem;
}
.dev-footer-link {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.dev-footer-link:hover,
.dev-footer-link.dev-footer-active {
  color: var(--primary);
}

/* ── Product page ────────────────────────────────────────────────────────── */
.product-page-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 24px 60px;
}
.product-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.product-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}
.product-breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--muted); }

.product-page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 700px) {
  .product-page-layout { grid-template-columns: 1fr; gap: 24px; }
  .col-name { min-width: 230px; width: 230px; max-width: 230px; overflow: hidden; white-space: nowrap; }
  .col-name .product-name-cell { overflow: hidden; }
  .col-name .product-name-link { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .col-name .product-desc { display: none; }
  .col-price, .product-table th.col-price { width: 70px; min-width: 70px; }
}

.product-page-images {}
.product-img-primary img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: block;
  max-height: 400px;
  object-fit: contain;
}
.product-img-secondary {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.product-img-secondary img {
  width: calc(50% - 5px);
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  object-fit: contain;
  max-height: 160px;
}

.product-page-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}
.product-page-short-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.product-page-price {
  margin-bottom: 20px;
}
.product-page-price-val {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}
.product-page-price-unit {
  font-size: 13px;
  color: var(--muted);
  margin-left: 6px;
}
.product-page-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.product-attr-pill {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  font-size: 13px;
}
.attr-pill-label {
  background: var(--bg);
  color: var(--muted);
  padding: 5px 10px;
  font-weight: 500;
  border-right: 1px solid var(--border);
}
.attr-pill-value {
  background: var(--surface);
  color: var(--text);
  padding: 5px 10px;
}
.product-page-long-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* Product name link in catalog table */
.product-name-link {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}
.product-name-link:hover {
  color: var(--primary);
  text-decoration: underline;
}
