/* Ценвайз для продавцов — стиль Electro (как у лендинга): белый фон, тёмные
   бары, красный акцент #D10024, Montserrat, квадратные углы. Отдельный файл,
   чтобы не трогать styles.css, которым пользуются другие статичные страницы. */

:root {
  --ink: #2b2d42;
  --muted: #4f5368;
  --faint: #7a8094;
  --line: #e4e7ed;
  --line-strong: #c8ccd2;
  --surface: #fbfbfc;
  --surface-2: #f4f5f7;
  --bar: #1e1f29;
  --bar-2: #15161d;
  --accent: #d10024;
  --accent-dark: #a8001d;
  --good: #2a7a4e;
  --bad: #c23d2e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2 { text-transform: uppercase; letter-spacing: .01em; font-weight: 700; line-height: 1.12; margin: 0; }
:where(a, button):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 2px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { border-color: var(--ink); background: var(--surface-2); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 12px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 14px; }

/* ---------- header ---------- */
.topbar { background: var(--bar-2); color: rgba(255,255,255,.75); font-size: 12px; font-weight: 500; letter-spacing: .02em; text-align: center; }
.topbar-in { max-width: 1152px; margin: 0 auto; padding: 6px 20px; }
.nav { position: sticky; top: 0; z-index: 50; background: var(--bar); border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-in { max-width: 1152px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 18px; }
.brand-logo { width: 32px; height: 32px; border-radius: 2px; background: var(--accent); display: grid; place-items: center; flex: none; }
.brand-logo svg { width: 23px; height: 23px; }
.nav-links { display: flex; gap: 26px; margin-left: 8px; }
.nav-links a { color: rgba(255,255,255,.75); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.nav-links a:hover { color: #fff; }
.nav .btn { margin-left: auto; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- sellers page ---------- */
.sellers { max-width: 940px; margin: 0 auto; padding: 44px 20px 80px; }
.sellers .back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.sellers .back:hover { color: var(--accent); }
.sellers .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sellers .eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--accent); }
.sellers h1 { font-size: clamp(28px, 4.5vw, 44px); margin: 0 0 16px; text-wrap: balance; }
.sellers .lead { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 60ch; margin: 0 0 28px; }
.sellers h2 { font-size: clamp(20px, 2.6vw, 26px); margin: 52px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.sellers p { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 66ch; }
.sellers p b { color: var(--ink); }

.s-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 4px 0 8px; }
.s-note { color: var(--muted); font-size: 14px; }

.s-sample { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 20px 22px; margin: 24px 0 8px; max-width: 620px; box-shadow: 0 10px 30px -18px rgba(43,45,66,.35); }
.s-sample-h { font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.s-row { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--muted); }
.s-row:first-of-type { border-top: 0; }
.s-row b { color: var(--ink); display: block; font-weight: 600; }
.s-gap { color: var(--accent); font-weight: 600; }

.s-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 8px; }
.s-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 22px; transition: border-color .2s, box-shadow .2s; }
.s-card:hover { border-color: var(--line-strong); box-shadow: 0 10px 30px -18px rgba(43,45,66,.35); }
.s-card b { display: block; font-size: 16px; margin-bottom: 6px; }
.s-card span { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.s-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-top: 8px; }
.s-price b { font-size: 34px; letter-spacing: -.01em; text-transform: uppercase; }

.s-faq { max-width: 66ch; margin: 0; }
.s-faq dt { font-weight: 600; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.s-faq dt:first-of-type { border-top: 0; padding-top: 0; }
.s-faq dd { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* ---------- document page (oferta) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 44px 20px 72px; }
.doc .back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.doc .back:hover { color: var(--accent); }
.doc h1 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 8px; }
.doc .upd { color: var(--faint); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 20px; margin: 30px 0 10px; }
.doc p, .doc li { color: var(--muted); font-size: 15px; line-height: 1.65; }
.doc ul, .doc ol { padding-left: 20px; margin: 8px 0; }
.doc a { color: var(--accent); text-decoration: underline; }
.doc .back { text-decoration: none; }
.doc .draft { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 2px; padding: 14px 18px; margin-bottom: 28px; background: var(--surface); }
.doc .draft b { color: var(--ink); }

/* ---------- footer ---------- */
.footer { background: var(--bar-2); color: rgba(255,255,255,.7); margin-top: 40px; }
.footer-bottom { max-width: 1152px; margin: 0 auto; padding: 24px 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

/* ---------- cookie banner (/cookie-consent.js) ---------- */
.cookie-note { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 16px 18px;
  border-radius: 4px; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 40px rgba(43,45,66,.18); }
.cookie-text { flex: 1 1 320px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-note button { padding: 9px 16px; font-size: 13px; font-weight: 600; font-family: inherit; border-radius: 2px; cursor: pointer; border: 1px solid var(--line-strong); }
.cookie-no { background: none; color: var(--muted); }
.cookie-yes { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 560px) {
  .cookie-note { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1; }
}
