/* serba.vip — single stylesheet
   Catalog styles drive index.html; .article styles drive review pages. */

:root {
  --bg: #ffffff;
  --ink: #14161a;
  --muted: #5f6670;
  --line: #e6e8ec;
  --accent: #d97706;
  --accent-dark: #92400e;
  --panel: #f7f8fa;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- disclosure strip ---------- */
.disclosure { background: var(--ink); color: #cfd4db; font-size: 12px; padding: 7px 0; }
.disclosure .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.disclosure a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- header ---------- */
header.site { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); z-index: 10; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 20px; }
.logo { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.logo b { color: var(--accent); }
.search { flex: 1; max-width: 420px; }
.search input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font-size: 13.5px; background: var(--panel); font-family: var(--sans); }
.search input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
header.site nav { display: flex; gap: 20px; font-size: 13.5px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { background: var(--panel); border-bottom: 1px solid var(--line); padding: 40px 0 36px; }
.hero h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; letter-spacing: -0.02em; }
.hero p { color: var(--muted); margin-top: 8px; max-width: 560px; font-size: 15px; }

/* ---------- filter ---------- */
.filterbar { display: flex; gap: 8px; padding: 18px 0 6px; flex-wrap: wrap; align-items: center; }
.filterbar .label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: 6px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--muted); cursor: pointer; font-family: var(--sans); }
.chip:hover { border-color: #c8ccd2; color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 20px 0 48px; }
.card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; background: #fff; transition: box-shadow .15s ease, transform .15s ease; }
.card:hover { box-shadow: 0 6px 24px rgba(20,22,26,.08); transform: translateY(-2px); }
.thumb { aspect-ratio: 1 / 1; background: var(--panel); display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.thumb svg { width: 64px; height: 64px; stroke: #9aa1ab; fill: none; stroke-width: 1.1; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.card .body { padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.card .cat { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.card h3 { font-size: 15px; font-weight: 600; margin: 4px 0; line-height: 1.3; }
.card h3 a { text-decoration: none; }
.card .verdict { font-size: 12.5px; color: var(--muted); flex: 1; }
.card .meta { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.stars { color: var(--accent); font-size: 11px; letter-spacing: 1px; }
.price { font-size: 13px; font-weight: 600; color: var(--ink); }
.btn { display: block; text-align: center; margin-top: 12px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; padding: 9px 0; border-radius: 8px; text-decoration: none; }
.btn:hover { background: var(--accent-dark); }
.price-note { font-size: 11.5px; color: var(--muted); padding: 0 0 24px; }

/* ---------- trust ---------- */
.trust { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.trust .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust .col h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.trust .col p { font-size: 13px; color: var(--muted); }
.trust .col .tick { color: var(--accent); font-weight: 700; margin-right: 6px; }

/* ---------- footer ---------- */
footer { padding: 32px 0 48px; font-size: 12.5px; color: var(--muted); }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 10px; }
footer a { color: var(--accent-dark); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ---------- article ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }
.article .kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-dark); }
.article h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.15; margin: 10px 0 14px; }
.article .byline { font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 28px; }
.article h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 34px 0 10px; }
.article p { font-size: 16.5px; line-height: 1.7; margin-bottom: 16px; color: #262a30; }
.article .pick-block { border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin: 22px 0; display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.article .pick-block .ph { aspect-ratio: 1/1; background: var(--panel); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.article .pick-block .ph svg { width: 48px; height: 48px; stroke: #9aa1ab; fill: none; stroke-width: 1.2; }
.article .pick-block h3 { font-size: 17px; margin-bottom: 4px; }
.article .pick-block .why { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.article .pick-block .btn { display: inline-block; padding: 9px 18px; margin-top: 0; }
.article ul { margin: 0 0 16px 20px; }
.article li { font-size: 16px; line-height: 1.6; margin-bottom: 6px; color: #262a30; }
.article .note { background: var(--panel); border-left: 3px solid var(--accent); padding: 14px 16px; font-size: 14px; color: var(--muted); margin: 22px 0; }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 24px; }
.legal h2 { font-size: 18px; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 15px; color: #33383f; margin-bottom: 10px; }
.legal ul { margin-left: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .trust .cols { grid-template-columns: 1fr; }
  header.site nav { display: none; }
  .article .pick-block { grid-template-columns: 1fr; }
}
@media (max-width: 460px) { .grid { grid-template-columns: 1fr; } }
