/* Демо-каталог Прайсодрома - светлая тема, красный акцент бренда. */
:root {
  --bg: #f4f5f7;
  --panel: #ffffff;
  --line: #e2e5ea;
  --line2: #eceef2;
  --text: #191b20;
  --muted: #667085;
  --muted2: #98a2b3;
  --red: #e10600;
  --red-h: #c00500;
  --red-soft: #fdeceb;
  --ok: #067647;
  --ok-soft: #e7f6ef;
  --maxw: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px; line-height: 1.55;
}
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.livery { height: 4px; background: linear-gradient(90deg, var(--red) 0%, #ff4b1f 55%, #ffb3ab 100%); }

/* Шапка */
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 800; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .drom { color: var(--red); }
.brand .demo-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); border: 1px solid #f5b9b5; background: var(--red-soft); border-radius: 999px;
  padding: 3px 9px; margin-left: 4px; }
.top-actions { display: flex; gap: 10px; align-items: center; }
.top-actions .site-link { color: var(--muted); font-size: 14px; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 9px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-h); }

/* Вводная полоса */
.intro { padding: 30px 0 6px; }
.intro h1 { font-size: 26px; margin: 0 0 6px; font-weight: 800; letter-spacing: -.01em; }
.intro h1 b { color: var(--red); font-weight: 800; }
.intro p { margin: 0; color: var(--muted); max-width: 760px; font-size: 14.5px; }

/* Поиск */
.searchbar { position: sticky; top: 57px; z-index: 15; background: var(--bg); padding: 14px 0 10px; }
.search-row { display: flex; gap: 10px; }
.search-input { flex: 1; display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px;
  transition: border-color .15s, box-shadow .15s; }
.search-input:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,6,0,.10); }
.search-input svg { color: var(--muted2); flex: none; }
.search-input input { flex: 1; border: 0; outline: none; font: inherit; font-size: 16px;
  padding: 13px 0; background: none; color: var(--text); min-width: 0; }
.filters { display: flex; gap: 14px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.filters label { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: 13.5px;
  cursor: pointer; white-space: nowrap; }
.filters input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--red); margin: 0; }
.filters select { font: inherit; font-size: 13.5px; color: var(--text); border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 8px; background: #fff; max-width: 190px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px;
  font-size: 12.5px; color: var(--muted); cursor: pointer; font-family: inherit; }
.chip:hover { border-color: var(--red); color: var(--red); }

/* Результаты */
.status { color: var(--muted2); font-size: 13px; margin: 6px 0 10px; min-height: 18px; }
.status b { color: var(--muted); font-weight: 600; }
.cols { display: grid; grid-template-columns: minmax(0,1fr) 130px 150px; gap: 18px; padding: 8px 18px;
  color: var(--muted2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.cols span:nth-child(2), .cols span:nth-child(3) { text-align: right; }
.results { display: grid; gap: 8px; padding-bottom: 26px; }
.line { display: grid; grid-template-columns: minmax(0,1fr) 130px 150px; gap: 18px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 13px 18px;
  transition: border-color .15s, box-shadow .15s; }
.line:hover { border-color: #f0a9a4; box-shadow: 0 6px 20px rgba(20,24,33,.05); }
.li-name { min-width: 0; }
.li-name strong { display: block; font-size: 14.5px; line-height: 1.4; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-sub { display: flex; gap: 7px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.li-art { font-size: 12.5px; color: var(--muted); font-family: ui-monospace, Consolas, monospace; }
.badge { font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.badge.brand { background: #eef2f7; color: #475569; border: 1px solid #d6dde7; }
.badge.sup { background: var(--red-soft); color: #b3241f; border: 1px solid #f5c1bd; }
.li-price { text-align: right; font-weight: 700; font-size: 15px; white-space: nowrap; }
.li-price small { display: block; color: var(--muted2); font-weight: 400; font-size: 11.5px; }
.li-stock { text-align: right; font-size: 13px; white-space: nowrap; }
.li-stock .in { color: var(--ok); font-weight: 600; background: var(--ok-soft);
  border-radius: 999px; padding: 3px 10px; display: inline-block; }
.li-stock .wait { color: var(--muted); }
.li-stock small { display: block; color: var(--muted2); font-size: 11.5px; margin-top: 3px; }
.more-wrap { text-align: center; padding: 4px 0 16px; }
.btn-more { border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 10px;
  padding: 10px 26px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.btn-more:hover { border-color: var(--red); color: var(--red); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.hint-start { text-align: center; color: var(--muted2); padding: 46px 0; font-size: 14.5px; }

/* Врезка-CTA и подвал */
.cta-strip { border: 1px solid var(--line); border-left: 4px solid var(--red); background: #fff;
  border-radius: 12px; padding: 18px 22px; margin: 6px 0 26px; display: flex; gap: 16px;
  align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-strip p { margin: 0; color: var(--muted); font-size: 14px; max-width: 660px; }
.cta-strip b { color: var(--text); }
.footer { border-top: 1px solid var(--line); padding: 22px 0 34px; color: var(--muted2); font-size: 13px; }
.footer a { color: var(--muted); }

@media (max-width: 760px) {
  .cols { display: none; }
  .line { grid-template-columns: 1fr; gap: 8px; padding: 13px 15px; }
  .li-name strong { white-space: normal; }
  .li-price, .li-stock { text-align: left; }
  .li-price small, .li-stock small { display: inline; margin-left: 7px; }
  .chips { margin-left: 0; }
  .searchbar { top: 55px; }
  .top-actions .site-link { display: none; }
  .intro h1 { font-size: 20px; }
}
