:root {
  --ink: #121826;
  --muted: #525d72;
  --glass-border: rgba(255,255,255,.85);
  --glass-bg: rgba(255,255,255,.74);
  --glass-strong: rgba(255,255,255,.88);
  --red: #9b1b30;
  --accent: #c8102e;
  --blue: #0b4f82;
  --header-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; max-width: 100%; overflow-x: clip; }
body {
  margin: 0; max-width: 100%; overflow-x: clip;
  background: linear-gradient(145deg, #eff3f9 0%, #e7eef7 50%, #f3f5fa 100%);
  color: var(--ink);
  font: 14px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.ambient-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 12% 14%, rgba(200,16,46,.10) 0%, transparent 38%),
    radial-gradient(circle at 86% 22%, rgba(11,79,130,.12) 0%, transparent 42%),
    radial-gradient(circle at 50% 85%, rgba(200,16,46,.07) 0%, transparent 45%);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; max-width: 100%; }
button { cursor: pointer; }
.wrap { width: 100%; max-width: 1380px; margin: 0 auto; padding: 0 16px; }

.liquid-glass {
  background: linear-gradient(135deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.72) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 32px rgba(15,23,42,.07), inset 0 1px 0 rgba(255,255,255,.95);
}

.contact { background: rgba(15,20,32,.92); color: #e6e9f0; font-size: 12px; border-bottom: 2px solid var(--accent); }
.contact-inner { padding: 7px 0; display: flex; gap: 6px 18px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.contact a { color: #fff; text-decoration: underline; font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(135deg, rgba(255,255,255,.88) 0%, rgba(248,250,253,.80) 100%);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-bottom: 1px solid rgba(255,255,255,.88);
  box-shadow: 0 8px 26px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.95);
}
.nav { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { width: 138px; height: 44px; object-fit: contain; display: block; }
.main-nav { display: flex; gap: 8px; align-items: center; flex-wrap: nowrap; }
.main-nav a {
  padding: 9px 16px; border: 1px solid rgba(15,23,42,.12); border-radius: 99px;
  font-weight: 800; font-size: 12.5px; letter-spacing: .35px; text-transform: uppercase;
  background: rgba(255,255,255,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9); transition: .18s ease; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: linear-gradient(135deg, var(--red), var(--accent));
  border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(200,16,46,.26);
}

main { padding: 18px 0 56px; min-width: 0; }
.crumb { font-size: 12px; color: var(--muted); margin-bottom: 8px; overflow-wrap: anywhere; }
.crumb a { text-decoration: underline; }
h1 { font-size: clamp(19px,2.6vw,30px); line-height: 1.22; letter-spacing: -.3px; margin: 0 0 12px; overflow-wrap: anywhere; }
h2 { font-size: 19px; line-height: 1.25; margin: 16px 0 10px; }

.brands { display: grid; grid-template-columns: repeat(9, minmax(0,1fr)); gap: 8px; margin: 10px 0 14px; }
.brand {
  padding: 10px 6px; border: 1px solid var(--glass-border); border-radius: 12px;
  background: var(--glass-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  text-align: center; font-weight: 800; font-size: 12px; color: var(--ink);
  box-shadow: 0 4px 12px rgba(15,23,42,.04); transition: .16s;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.brand:hover, .brand.active {
  background: linear-gradient(135deg, var(--red), var(--accent));
  border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(200,16,46,.24);
}

@media (min-width: 960px) {
  .sticky-dock {
    position: sticky;
    top: calc(var(--header-h) + 6px);
    z-index: 85;
  }
}
.sticky-dock { border-radius: 18px; padding: 13px 15px; margin-bottom: 16px; }

.memo-strip {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between;
  padding-bottom: 9px; margin-bottom: 10px; border-bottom: 1px solid rgba(15,23,42,.08);
  font-size: 12.5px; color: var(--muted);
}
.memo-strip b { color: var(--ink); }
.era-badge { background: rgba(11,79,130,.10); color: var(--blue); border: 1px solid rgba(11,79,130,.22); border-radius: 8px; padding: 4px 9px; font-size: 11.5px; font-weight: 700; }

.search-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; align-items: center; }
.search-box { position: relative; min-width: 0; }
.search-box input {
  width: 100%; min-width: 0; padding: 11px 14px; border: 1.5px solid rgba(15,23,42,.16);
  border-radius: 12px; background: #fff; font-size: 13.5px; color: var(--ink); font-weight: 500;
}
.search-box input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,16,46,.15); }
.filter-toggle-btn { display: none; padding: 10px 12px; border: 1.5px solid rgba(15,23,42,.18); border-radius: 11px; background: #fff; font-weight: 700; font-size: 12.5px; white-space: nowrap; }

.filter-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 9px; margin-top: 11px; align-items: end; }
.filter-grid.products-grid { grid-template-columns: repeat(2, minmax(240px,340px)); }
.filter-grid label {
  display: flex; flex-direction: column; min-width: 0; background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.10); border-radius: 12px; padding: 7px 9px 8px;
  font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .35px;
}
.filter-grid label:hover { background: rgba(255,255,255,.95); border-color: rgba(200,16,46,.32); }

.native-select-hidden { position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; }
.cselect { position: relative; width: 100%; margin-top: 5px; }
.cselect-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 8px 11px; border: 1.5px solid rgba(15,23,42,.16); border-radius: 10px;
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%); color: var(--ink);
  font-size: 13px; font-weight: 700; text-align: left; box-shadow: 0 2px 6px rgba(15,23,42,.04); transition: .16s ease;
}
.cselect-btn:hover, .cselect.open .cselect-btn { border-color: var(--accent); box-shadow: 0 4px 12px rgba(200,16,46,.14); }
.cselect-btn.has-value { background: linear-gradient(135deg, #fff5f7 0%, #ffe8ec 100%); border-color: var(--accent); color: var(--red); }
.cselect-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect-arrow {
  display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px;
  border-radius: 6px; background: rgba(200,16,46,.10); color: var(--accent); font-size: 12px; flex-shrink: 0; transition: transform .2s ease;
}
.cselect.open .cselect-arrow { transform: rotate(180deg); background: var(--accent); color: #fff; }
.cselect-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 100%; width: max-content;
  max-width: min(320px, 88vw); max-height: 270px; overflow-y: auto; z-index: 250;
  padding: 6px; border-radius: 14px; background: rgba(255,255,255,.97);
  backdrop-filter: blur(24px) saturate(190%); -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(15,23,42,.14); box-shadow: 0 18px 42px rgba(15,23,42,.20); display: none;
}
.cselect.open .cselect-menu { display: block; }
.cselect-item {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 11px; border: 0; border-radius: 9px; background: transparent;
  color: var(--ink); font-size: 13px; font-weight: 600; text-align: left;
}
.cselect-item:hover { background: rgba(200,16,46,.08); color: var(--accent); }
.cselect-item.active { background: linear-gradient(135deg, var(--red), var(--accent)); color: #fff; font-weight: 700; }

.quick-chips-bar { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(15,23,42,.10); }
.chip-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip-group-label { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; margin-right: 4px; flex-shrink: 0; }
.filter-chip { padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(15,23,42,.14); background: rgba(255,255,255,.88); color: var(--ink); font-size: 12px; font-weight: 700; transition: .15s ease; white-space: nowrap; flex-shrink: 0; }
.filter-chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.filter-chip.active { background: linear-gradient(135deg, var(--red), var(--accent)); border-color: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(200,16,46,.24); }

.filter-actions { display: flex; gap: 6px; align-items: center; }
.btn-primary { background: linear-gradient(135deg, var(--red), var(--accent)); color: #fff; border: 0; border-radius: 11px; padding: 10px 16px; font-weight: 700; font-size: 13px; white-space: nowrap; box-shadow: 0 4px 12px rgba(200,16,46,.22); }
.btn-reset { padding: 10px 13px; border: 1.5px solid rgba(15,23,42,.16); border-radius: 11px; background: #fff; font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.btn-reset:hover { border-color: var(--accent); color: var(--accent); }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 12px 0; flex-wrap: wrap; }
.view-switch { display: inline-flex; border: 1px solid rgba(15,23,42,.14); border-radius: 11px; overflow: hidden; background: rgba(255,255,255,.82); max-width: 100%; }
.view-switch a { padding: 8px 13px; font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.view-switch a.active { background: #182030; color: #fff; }

.book-wrap { width: 100%; max-width: 100%; background: rgba(255,255,255,.92); border: 1px solid #b9c2d0; border-radius: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; box-shadow: 0 10px 28px rgba(15,23,42,.06); }
.book-table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 1020px; }
.book-table th, .book-table td { border: 1px solid #cbd2de; padding: 7px 8px; vertical-align: middle; }
.book-table thead th { background: #eef2f7; color: #111827; font-weight: 800; text-align: center; font-size: 11.5px; line-height: 1.25; }
.book-table thead tr:first-child th { background: #dfe6f0; font-size: 12px; }
.book-model-cell {
  background: #f8fafd; font-weight: 800; color: #111827; font-size: 13px;
  min-width: 125px; vertical-align: top !important; padding-top: 10px !important;
}
.book-model-cell small { display: block; font-weight: 600; color: var(--muted); font-size: 11px; margin-top: 2px; }
.book-table tbody tr:hover { background: #fdf6f7; }
.num { text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.code-link { font-weight: 800; color: var(--blue); text-decoration: underline; }
.seiken-cell { min-width: 235px; }
.seiken-mini-list { display: flex; flex-direction: column; gap: 5px; }
.seiken-pill { display: flex; align-items: center; gap: 7px; padding: 4px 7px; border: 1px solid #e3d0d4; background: #fff8f9; border-radius: 8px; font-size: 11.5px; font-weight: 700; color: #7c1629; }
.seiken-pill:hover { border-color: var(--accent); background: #ffecef; }
.seiken-pill img { width: 28px; height: 36px; object-fit: cover; border-radius: 7px; border: 1px solid rgba(15,23,42,.1); flex-shrink: 0; transition: transform .22s ease; }
.seiken-pill img:hover { transform: scale(1.18); }
.seiken-pill span { line-height: 1.2; min-width: 0; overflow-wrap: anywhere; }
.seiken-pill small { display: block; color: var(--muted); font-weight: 500; font-size: 10.5px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; width: 100%; }
.card { min-width: 0; background: var(--glass-strong); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--glass-border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.card-head { background: linear-gradient(125deg, #192132, #3a2832); padding: 15px 16px; color: #fff; }
.card-head small { color: #f0b6c0; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.card h2 { margin: 4px 0 0; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.card h2 a { color: #fff; }
.card-body { padding: 15px 16px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.card dl, .detail dl { margin: 0; }
.card dl div, .detail dl div { display: grid; grid-template-columns: 46% minmax(0,1fr); gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(15,23,42,.07); font-size: 12.5px; }
.card dt, .detail dt { color: var(--muted); overflow-wrap: anywhere; }
dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.card-footer-actions { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.more { color: var(--accent); font-weight: 700; font-size: 13px; }

.photo {
  display: block; width: auto; max-width: calc(100% - 28px); height: 220px; margin: 14px auto;
  object-fit: contain; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 24px rgba(15,23,42,.14);
  cursor: zoom-in; transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease;
}
.photo:hover, .photo.is-hovered-zoom { transform: scale(1.07); box-shadow: 0 16px 36px rgba(15,23,42,.24); z-index: 5; position: relative; }
.card-recs { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(15,23,42,.15); }
.card-recs-title { font-size: 11px; font-weight: 800; color: var(--red); text-transform: uppercase; margin-bottom: 6px; }

.share-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.btn-max { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 10px; border: 0; background: linear-gradient(135deg, #5b21b6, #2563eb); color: #fff; font-weight: 700; font-size: 12px; box-shadow: 0 4px 14px rgba(91,33,182,.25); }
.btn-print { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 10px; border: 1px solid rgba(15,23,42,.16); background: #fff; color: var(--ink); font-weight: 700; font-size: 12px; }

.detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: start; }
.detail { background: var(--glass-strong); border: 1px solid var(--glass-border); border-radius: 18px; padding: 22px; min-width: 0; }
.detail .photo { width: auto; max-width: 100%; height: 280px; margin: 4px auto 20px; border-radius: 20px; box-shadow: 0 12px 28px rgba(15,23,42,.16); }
.rec-box { background: var(--glass-strong); border: 2px solid #e7c5cc; border-radius: 18px; padding: 18px; min-width: 0; }
.rec-box h2 { margin-top: 0; color: var(--red); }
.rec-cards { display: grid; grid-template-columns: 1fr; gap: 10px; }
.rec-item { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 12px; align-items: center; padding: 10px; border: 1px solid rgba(15,23,42,.1); border-radius: 14px; background: #fff; }
.rec-item img { width: 72px; height: 94px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 12px rgba(15,23,42,.12); cursor: zoom-in; transition: transform .24s ease; }
.rec-item img:hover { transform: scale(1.09); }
.rec-item h3 { margin: 0 0 4px; font-size: 14.5px; color: var(--ink); overflow-wrap: anywhere; }
.rec-item p { margin: 0; font-size: 12px; color: var(--muted); }

/* ЛАЙТБОКС ЗУМА ФОТО: НА ПК — КРУГЛЫЙ КРЕСТИК ✕, НА МОБИЛЬНОМ — БЕЗ КНОПКИ */
.zoom-modal { position: fixed; inset: 0; z-index: 9999; background: rgba(12,17,28,.84); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.zoom-modal[hidden] { display: none !important; }
.zoom-modal img { max-width: min(92vw, 540px); max-height: 78vh; object-fit: contain; border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.55); cursor: default; }
.zoom-close {
  position: fixed; top: 22px; right: 24px;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.92); color: var(--ink);
  border: 0; border-radius: 50%; padding: 0;
  font-weight: 800; font-size: 18px; line-height: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,.32);
  transition: transform .15s ease, background .15s ease;
}
.zoom-close:hover { transform: scale(1.08); background: #fff; }
.zoom-caption { margin-top: 14px; color: #fff; font-weight: 700; font-size: 14px; text-align: center; }

.pager { display: flex; justify-content: center; gap: 8px; align-items: center; padding: 22px 0; flex-wrap: wrap; }
.pager a, .pager span { padding: 8px 13px; border: 1px solid rgba(15,23,42,.14); border-radius: 9px; background: #fff; font-weight: 700; font-size: 12.5px; }
.pager a:hover { border-color: var(--accent); color: var(--accent); }

.oem { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.oem section { background: var(--glass-strong); border: 1px solid var(--glass-border); border-radius: 16px; padding: 18px; min-width: 0; }
.oem section img { border-radius: 12px; box-shadow: 0 4px 12px rgba(15,23,42,.12); cursor: zoom-in; transition: transform .24s ease; }
.oem section img:hover { transform: scale(1.09); }
.oem dl div { display: grid; grid-template-columns: 110px minmax(0,1fr); border-bottom: 1px solid rgba(15,23,42,.07); padding: 7px 0; font-size: 12.5px; }
.note { padding: 10px 13px; background: #fff1f3; border-left: 4px solid var(--red); border-radius: 8px; font-size: 12.5px; margin-bottom: 12px; }

.crm-container { margin-top: 28px; padding: 20px; border-radius: 16px; }
.up { position: fixed; bottom: 16px; right: 16px; z-index: 90; background: linear-gradient(135deg, var(--red), var(--accent)); color: #fff; padding: 9px 13px; border-radius: 99px; font-weight: 700; font-size: 12px; box-shadow: 0 8px 20px rgba(200,16,46,.28); }
.footer { border-top: 1px solid rgba(15,23,42,.12); padding: 20px 16px 36px; color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.admin-nav a { padding: 8px 12px; border: 1px solid rgba(15,23,42,.14); border-radius: 9px; background: #fff; font-weight: 700; font-size: 12.5px; }
.login { max-width: 430px; margin: 40px auto; background: #fff; border: 1px solid rgba(15,23,42,.14); padding: 22px; border-radius: 16px; }
.login label, .editor label { display: block; margin: 10px 0; font-weight: 700; font-size: 12px; }
.login input, .editor textarea, .editor input, .editor select { width: 100%; padding: 9px 10px; border: 1px solid rgba(15,23,42,.18); border-radius: 8px; margin-top: 4px; font-family: inherit; }
.login button, .save { background: var(--red); color: #fff; border: 0; border-radius: 9px; padding: 10px 16px; font-weight: 700; margin-top: 8px; }
.editor { max-width: 940px; background: #fff; border: 1px solid rgba(15,23,42,.14); border-radius: 16px; padding: 20px; margin-bottom: 20px; }
.table { overflow-x: auto; background: #fff; border: 1px solid rgba(15,23,42,.14); border-radius: 14px; margin-top: 14px; }
.table table { border-collapse: collapse; width: 100%; font-size: 12.5px; }
.table td, .table th { padding: 9px 10px; border-bottom: 1px solid rgba(15,23,42,.07); text-align: left; }
.danger { color: var(--accent); font-weight: 700; }

@media (max-width: 1180px) {
  .filter-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  :root { --header-h: auto; }
  .wrap { padding: 0 10px; }
  main { padding: 10px 0 44px; }
  .crumb { font-size: 11px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  h1 { font-size: 18px; line-height: 1.2; margin: 0 0 8px; }

  .contact-addr { display: none; }
  .contact-inner { justify-content: center; text-align: center; font-size: 11px; gap: 3px 10px; padding: 5px 0; }

  /* Навигация капсом строго в 1 строку на всех телефонах */
  .nav { padding: 6px 0; flex-direction: column; align-items: stretch; gap: 6px; }
  .logo-link { justify-content: center; }
  .logo-link img { height: 30px; width: auto; }
  .main-nav { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 5px; width: 100%; }
  .main-nav a {
    padding: 8px 4px; font-size: 11px; font-weight: 800; letter-spacing: .2px;
    text-transform: uppercase; text-align: center; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
    line-height: 1.1; display: flex; align-items: center; justify-content: center; border-radius: 99px;
  }

  /* На мобильном убираем кнопку закрытия зума (закрывается тапом в любом месте) */
  .zoom-close { display: none !important; }

  .brands {
    display: flex; overflow-x: auto; gap: 6px; margin: 6px 0 10px; padding-bottom: 4px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .brands::-webkit-scrollbar { display: none; }
  .brand { flex: 0 0 auto; padding: 7px 12px; font-size: 11.5px; border-radius: 99px; }

  .sticky-dock {
    position: relative; top: auto; padding: 10px; border-radius: 14px; margin-bottom: 12px;
  }

  .memo-strip { display: none; font-size: 11px; padding-bottom: 6px; margin-bottom: 8px; gap: 6px; }
  .sticky-dock.filters-open .memo-strip { display: flex; }
  .era-badge { font-size: 10.5px; padding: 3px 7px; }

  .search-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto auto;
    gap: 6px;
    align-items: center;
  }
  .search-box input { padding: 9px 11px; font-size: 13px; border-radius: 10px; }
  .filter-toggle-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 10px; font-size: 12px; border-radius: 10px;
  }
  .filter-actions .btn-primary { display: none; }
  .filter-actions .btn-reset { padding: 9px 10px; font-size: 12px; border-radius: 10px; }

  .filter-grid, .filter-grid.products-grid {
    display: none; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 9px;
  }
  .sticky-dock.filters-open .filter-grid { display: grid; }
  .cselect-menu { left: 0; right: 0; width: 100%; max-width: 100%; }

  .quick-chips-bar { gap: 6px; margin-top: 8px; padding-top: 8px; }
  .chip-group {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 2px; scrollbar-width: none;
  }
  .chip-group::-webkit-scrollbar { display: none; }
  .chip-group-label { font-size: 10px; margin-right: 2px; }
  .filter-chip { padding: 5px 10px; font-size: 11.5px; }

  .cards, .oem { grid-template-columns: 1fr; gap: 12px; }
  .photo { height: 175px; margin: 10px auto; }
  .card-head { padding: 12px 14px; }
  .card h2 { font-size: 15.5px; }
  .card-body { padding: 12px 14px; }

  .toolbar { flex-direction: column; align-items: stretch; gap: 6px; margin: 8px 0; font-size: 12px; }
  .view-switch { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .view-switch a { text-align: center; white-space: normal; padding: 7px 6px; font-size: 11.5px; }

  .up { bottom: 12px; right: 12px; padding: 8px 11px; font-size: 11px; }
}

@media print {
  .contact, .site-header, .sticky-dock, .brands, .toolbar, .pager, .up, .share-bar, .crm-container, .zoom-modal { display: none !important; }
  body { background: #fff; }
  .detail, .rec-box, .card { box-shadow: none; border: 1px solid #ccc; }
}