
/* SimRaceHub static-site stylesheet */
:root {
  --bg: #0a0a0a;
  --panel: #111;
  --panel-2: #181818;
  --line: rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.16);
  --text: #fafafa;
  --text-2: #a0a0a0;
  --text-3: #5e5e5e;
  --accent: #ff2d2d;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --display: 'Barlow Condensed', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #0a0a0a; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.005em; line-height: 0.95; text-transform: uppercase; margin: 0; }
.mono { font-family: var(--mono); }
.label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.label-accent { color: var(--accent); }

/* Layout */
.container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 700px) { .container { padding: 0 18px; } }

/* Disclosure / Affiliate-Top-Bar */
.disclosure {
  background: #000; border-bottom: 1px solid var(--line);
  padding: 7px 40px;
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  color: var(--text-3); text-transform: uppercase;
}
.disclosure .ok { color: var(--accent); }
.disclosure .mid { color: var(--text-2); }
@media (max-width: 700px) { .disclosure { padding: 6px 16px; flex-wrap: wrap; font-size: 9px; } }

/* Header */
.header {
  padding: 20px 40px;
  display: flex; align-items: center; gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); white-space: nowrap; flex: none; }
.brand .dot { color: var(--accent); }
.brand svg { flex: none; }
.nav { display: flex; gap: 24px; font-size: 13px; }
.nav a { color: var(--text-2); text-decoration: none; padding-bottom: 4px; }
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); border-bottom: 2px solid var(--accent); }
.nav .nav-counter { font-size: 10px; color: var(--accent); margin-left: 4px; font-family: var(--mono); }
.nav .nav-counter.is-zero { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { height: 38px; padding: 0 14px; font-size: 11px; }
.nav-desktop { display: flex; gap: 22px; font-size: 13px; margin-left: 8px; }
.nav-desktop a { color: var(--text-2); text-decoration: none; padding-bottom: 4px; display: inline-flex; align-items: center; gap: 4px; }
.nav-desktop a:hover { color: var(--text); }
.nav-desktop a.is-active { color: var(--text); border-bottom: 2px solid var(--accent); }
.nav-desktop .nav-counter { color: var(--accent); font-family: var(--mono); font-size: 10px; }
.nav-desktop .nav-counter.is-zero { display: none; }
.header-search { position: relative; flex: 1; max-width: 340px; margin-left: auto; }
.header-search input { width: 100%; height: 38px; padding: 0 14px 0 36px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 13px; }
.header-search input:focus { outline: none; border-color: var(--accent); }
.header-search svg { position: absolute; left: 12px; top: 12px; pointer-events: none; }
.menu-toggle {
  display: none;
  appearance: none; -webkit-appearance: none; background: transparent;
  border: 1px solid var(--line-2); width: 42px; height: 42px;
  color: var(--text); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.menu-toggle:hover { border-color: var(--accent); color: var(--accent); }
.menu-toggle svg { display: block; }

/* Full-screen overlay menu */
.nav-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: #0a0a0a;
  display: flex; flex-direction: column;
  padding: 24px 36px 36px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.nav-overlay[hidden] { display: none; }
.nav-overlay.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-overlay-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; }
.nav-overlay-close {
  appearance: none; background: transparent; border: 0;
  color: var(--text); cursor: pointer; padding: 6px;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-overlay-close:hover { color: var(--accent); }
.nav-overlay-search { position: relative; max-width: 640px; margin: 0 auto 28px; width: 100%; }
.nav-overlay-search input {
  width: 100%; height: 52px; padding: 0 20px 0 48px;
  background: #141414; border: 1px solid var(--line-2); color: var(--text);
  font: inherit; font-size: 16px;
}
.nav-overlay-search input:focus { outline: none; border-color: var(--accent); }
.nav-overlay-search svg { position: absolute; left: 18px; top: 19px; width: 16px; height: 16px; pointer-events: none; }
.nav-overlay-list { max-width: 640px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; }
.nav-overlay-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 28px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.005em;
  color: var(--text-2); text-decoration: none;
  transition: color .12s;
}
.nav-overlay-list a:hover { color: var(--text); }
.nav-overlay-list a.is-active { color: var(--text); }
.nav-overlay-list .nav-counter { color: var(--accent); font-family: var(--mono); font-size: 14px; }
.nav-overlay-list .nav-counter.is-zero { display: none; }
.nav-overlay-cta { align-self: center; margin-top: 32px; height: 52px; padding: 0 28px; font-size: 13px; }
body.nav-locked { overflow: hidden; }

@media (max-width: 1100px) {
  .header { padding: 14px 18px; gap: 12px; }
  .nav-desktop { display: none; }
  .header-search { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
}
@media (max-width: 600px) {
  .nav-overlay { padding: 18px 22px 28px; }
  .nav-overlay-list a { font-size: 22px; padding: 18px 0; }
}
body.nav-locked { overflow: hidden; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px;
  background: transparent; border: 1px solid var(--line-2); color: var(--text);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: all .15s;
}
.btn:hover { background: var(--panel-2); border-color: var(--accent); }
.btn-primary { background: var(--accent); color: #0a0a0a; border-color: var(--accent); font-weight: 600; }
.btn-primary:hover { filter: brightness(1.1); background: var(--accent); }
.btn-lg { height: 48px; padding: 0 24px; font-size: 12px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .4; pointer-events: none; }

/* Hero */
.hero { padding: 56px 40px 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; border-bottom: 1px solid var(--line); }
.hero-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--accent); text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero-label::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.hero h1 { font-size: 84px; margin-bottom: 18px; }
.hero h1 .accent { color: var(--accent); }
.hero p { margin: 0 0 28px; max-width: 480px; color: var(--text-2); font-size: 15px; line-height: 1.65; }
.hero-specs { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; margin-bottom: 32px; }
.hero-specs div { min-width: 0; }
.hero-specs .label { margin-bottom: 6px; }
.hero-specs h3 { font-size: 24px; }
.hero-price { font-family: var(--mono); font-size: 10px; color: var(--text-3); letter-spacing: 0.14em; text-transform: uppercase; }
.hero-price-row { display: flex; align-items: baseline; gap: 14px; margin-top: 4px; margin-bottom: 24px; }
.hero-price-main { font-family: var(--display); font-size: 42px; color: var(--accent); font-weight: 700; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-img-wrap { position: relative; }
.hero-img-wrap::before { content: attr(data-rank); position: absolute; top: -20px; right: -20px; font-family: var(--display); font-size: 240px; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(255,45,45,0.18); font-weight: 700; pointer-events: none; z-index: 0; }
.hero-img { position: relative; z-index: 1; border: 1px solid var(--line-2); }
.hero-stock { position: absolute; bottom: -14px; left: -14px; background: var(--bg); padding: 12px 16px; border: 1px solid var(--accent); display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; z-index: 2; }
.hero-stock::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding: 32px 18px; gap: 32px; }
  .hero h1 { font-size: 54px; }
  .hero-specs { gap: 24px; }
}

/* Product image */
.product-img { position: relative; width: 100%; aspect-ratio: 4 / 3; background: linear-gradient(180deg, #161616 0%, #0d0d0d 100%); overflow: hidden; }
.product-img.has-photo { background: linear-gradient(180deg, #f4f4f0 0%, #e8e8e2 100%); }
.product-img.tall { aspect-ratio: auto; height: 420px; }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transform: scale(var(--img-scale, 1)); }
.product-img .placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: rgba(255,255,255,0.4); font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.product-img .stripes { position: absolute; inset: 0; opacity: 0.18; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.6) 0, rgba(255,255,255,0.6) 1px, transparent 1px, transparent 14px); }
.product-img .marker { position: absolute; left: 12px; top: 12px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; color: rgba(0,0,0,0.55); background: rgba(255,255,255,0.7); padding: 2px 6px; text-transform: uppercase; }
.product-img.dark .marker { color: rgba(255,255,255,0.32); background: rgba(0,0,0,0.55); }

/* Sticky filter bar */
.filterbar { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); padding: 18px 40px; }
.filterbar-grid { display: flex; flex-wrap: wrap; gap: 22px; }
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group .label { display: block; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; background: transparent;
  border: 1px solid var(--line); color: var(--text-2);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; cursor: pointer; text-decoration: none;
  white-space: nowrap;
}
.pill:hover { color: var(--text); border-color: var(--line-2); }
.pill.is-active { background: var(--text); color: #0a0a0a; border-color: var(--text); font-weight: 600; }
.pill.is-active.accent { background: var(--accent); border-color: var(--accent); }
@media (max-width: 700px) {
  .filterbar { padding: 12px 14px; }
  .filterbar-grid { gap: 14px; }
}

/* Section */
section.products-section { padding: 48px 40px 24px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: 38px; }
.section-head a.mono { white-space: nowrap; }
@media (max-width: 700px) { section.products-section { padding: 28px 14px 12px; } .section-head h2 { font-size: 28px; } }

/* Product grid + card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1200px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .grid { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; transition: all .2s; text-decoration: none; color: inherit; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .ribbon { position: absolute; top: 14px; left: 0; background: var(--accent); color: #0a0a0a; padding: 5px 12px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; z-index: 2; white-space: nowrap; }
.card-body { padding: 16px 16px 18px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.card .brand-line { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; color: var(--text-3); text-transform: uppercase; }
.card h3 { font-size: 19px; line-height: 1.05; }
.stars { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--text-2); }
.stars-svg { display: inline-flex; gap: 1px; }
.best-for { background: #0c0c0c; padding: 8px 12px; border: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; align-items: center; }
.best-for .key { color: var(--text-3); text-transform: uppercase; letter-spacing: 0.14em; flex: none; }
.best-for .val { color: var(--accent); text-align: right; }
.platforms { display: inline-flex; gap: 5px; flex-wrap: wrap; }
.platform-chip { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; padding: 2px 6px; border: 1px solid var(--line-2); color: var(--text-2); text-transform: uppercase; }
.card-cta { margin-top: auto; }
.card .price-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10px; }
.card .price-main { font-family: var(--display); font-size: 24px; font-weight: 700; }
.card .btn { width: 100%; justify-content: center; height: 38px; }

/* Product detail page */
.crumbs { padding: 18px 40px; font-family: var(--mono); font-size: 11px; color: var(--text-2); letter-spacing: 0.08em; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--text-3); margin: 0 8px; }
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; padding: 24px 40px 56px; align-items: start; }
.detail-image { position: relative; }
.detail-image .product-img.tall { height: 480px; }
.detail-info > * { margin-bottom: 18px; }
.detail-info h1 { font-size: 56px; }
.detail-info .lede { font-size: 16px; color: var(--text-2); line-height: 1.65; max-width: 580px; }
.detail-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.detail-specs .spec { background: var(--panel); padding: 12px 16px; }
.detail-specs .key { font-family: var(--mono); font-size: 9px; color: var(--text-3); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 4px; }
.detail-specs .val { font-family: var(--display); font-size: 20px; }
.price-stack { background: var(--panel); border: 1px solid var(--line-2); padding: 22px 26px; }
.price-stack .label { margin-bottom: 6px; }
.price-stack .main { font-family: var(--display); font-size: 56px; color: var(--accent); font-weight: 700; line-height: 0.95; margin-bottom: 4px; }
.price-stack .range { font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-bottom: 18px; }
.price-stack .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Shop comparison table */
.shop-table { width: 100%; border-collapse: collapse; margin-top: 32px; border: 1px solid var(--line); background: var(--panel); }
.shop-table th, .shop-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.shop-table th { font-family: var(--mono); font-size: 9px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.16em; background: #0c0c0c; }
.shop-table tr:last-child td { border-bottom: none; }
.shop-table tr:hover { background: rgba(255,255,255,0.02); }
.shop-table .price { font-family: var(--display); font-size: 20px; font-weight: 700; }
.shop-table .price.best { color: var(--accent); }
.shop-table .badge { font-family: var(--mono); font-size: 9px; padding: 2px 6px; border: 1px solid var(--line-2); color: var(--text-3); letter-spacing: 0.1em; text-transform: uppercase; margin-left: 6px; }
.shop-table .badge.best { background: var(--accent); color: #0a0a0a; border-color: var(--accent); font-weight: 700; }
.shop-table .badge.warn { color: var(--accent); }
.shop-table .badge.gone { color: var(--text-3); }
.shop-table .btn { height: 32px; padding: 0 12px; font-size: 10px; }

@media (max-width: 1000px) {
  .crumbs { padding: 14px 18px; }
  .detail { grid-template-columns: 1fr; padding: 18px 18px 36px; gap: 32px; }
  .detail-info h1 { font-size: 38px; }
  .price-stack .main { font-size: 42px; }
}
@media (max-width: 600px) {
  .detail-specs { grid-template-columns: 1fr; }
  .shop-table th:nth-child(2), .shop-table td:nth-child(2) { display: none; }
}

/* Footer */
.footer { padding: 48px 40px; border-top: 1px solid var(--line); background: #060606; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { font-family: var(--mono); font-size: 10px; color: var(--text-3); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid p { color: var(--text-2); margin: 0; font-size: 13px; line-height: 1.65; max-width: 380px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-2); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--text-3); text-transform: uppercase; }
@media (max-width: 800px) { .footer { padding: 32px 18px; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* CTA strip (Buying guide cards) */
.cta-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 40px; border-top: 1px solid var(--line); }
.cta-card { background: var(--panel); border: 1px solid var(--line); padding: 26px 24px; display: flex; flex-direction: column; justify-content: space-between; min-height: 170px; text-decoration: none; color: inherit; transition: all .15s; }
.cta-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cta-card h3 { font-size: 26px; margin-bottom: 8px; }
.cta-card p { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.55; }
.cta-card .more { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; margin-top: 18px; }
@media (max-width: 800px) { .cta-strip { grid-template-columns: 1fr; gap: 10px; padding: 24px 14px; } }

/* Category grid (best-of) */
.bestof-group { margin-bottom: 56px; }
.bestof-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.bestof-head h2 { font-size: 32px; display: flex; align-items: center; gap: 12px; }
.bestof-head .label { color: var(--text-3); }
.bestof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.medal { position: absolute; top: 14px; left: 14px; padding: 4px 10px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; z-index: 2; background: #0a0a0a; border: 1px solid var(--line-2); color: var(--text); }
.medal.gold { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
@media (max-width: 900px) { .bestof-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bestof-grid { grid-template-columns: 1fr; } }

/* Quiz */
.quiz-shell { min-height: 100vh; display: flex; flex-direction: column; }
.quiz-progress { height: 2px; background: var(--line); }
.quiz-progress > div { height: 100%; background: var(--accent); transition: width .3s ease; width: 0%; }
.quiz-content { max-width: 920px; margin: 0 auto; padding: 40px 24px 60px; width: 100%; }
.quiz-question h2 { font-size: 48px; margin-bottom: 14px; line-height: 1; }
.quiz-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 30px 0; }
.quiz-options .option { background: var(--panel); border: 1px solid var(--line); padding: 18px 20px; cursor: pointer; text-align: left; font: inherit; color: var(--text); transition: all .15s; }
.quiz-options .option:hover { border-color: var(--accent); background: var(--panel-2); transform: translateY(-2px); }
.quiz-options .option.is-selected { border-color: var(--accent); background: rgba(255,45,45,0.08); }
.quiz-options .option-title { font-family: var(--display); font-size: 22px; margin-bottom: 4px; }
.quiz-options .option-desc { font-size: 12px; color: var(--text-2); line-height: 1.5; }
.quiz-nav { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); }
.quiz-dots { display: inline-flex; gap: 6px; align-self: center; }
.quiz-dot { width: 20px; height: 3px; background: var(--line); }
.quiz-dot.is-active { background: var(--accent); }
.quiz-recs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
@media (max-width: 900px) { .quiz-recs { grid-template-columns: 1fr; } .quiz-question h2 { font-size: 32px; } }

/* Compare table */
.compare-shell { padding: 32px 40px; overflow-x: auto; }
.compare-table { border-collapse: collapse; border: 1px solid var(--line); min-width: fit-content; }
.compare-table th, .compare-table td { background: var(--panel); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 18px; min-width: 220px; }
.compare-table th { font-family: var(--mono); font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.14em; min-width: 200px; }
.compare-table .row-head { font-family: var(--mono); font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.14em; }
.compare-table .price-row td { font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; }
.compare-table .price-row td.best { color: var(--accent); }

/* Card action buttons (fav, compare) — float top-right of image */
.card-actions { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; z-index: 3; }
.card-action {
  width: 34px; height: 34px; border-radius: 4px;
  background: rgba(0,0,0,0.72); border: 1px solid var(--line-2);
  color: var(--text-2); cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .15s; backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.card-action:hover { color: var(--text); border-color: var(--text-2); }
.card-action.is-on { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
.card-action[disabled] { opacity: 0.3; cursor: not-allowed; }
.card-action svg { display: block; }
.card-action.is-on svg.heart-fill { display: block; }
.card-action svg.heart-fill { display: none; }
.card-action.is-on svg.heart-line { display: none; }

/* Inline shop expand on card */
.shop-expand {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  color: var(--text-2); text-transform: uppercase;
  background: transparent; border: 0; padding: 6px 0; cursor: pointer;
  text-decoration: none; white-space: nowrap; flex: none;
}
.shop-expand:hover { color: var(--accent); }
.shop-expand[aria-expanded="true"] { color: var(--accent); }

.shop-panel {
  max-height: 0; overflow: hidden;
  transition: max-height .2s ease;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.shop-panel.is-open { max-height: 320px; }
.shop-panel ul { list-style: none; margin: 0; padding: 0; }
.shop-panel li { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.shop-panel li:last-child { border-bottom: 0; }
.shop-panel .shop-name { font-family: var(--mono); font-size: 11px; color: var(--text); display: inline-flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.shop-panel .shop-name .badge { font-family: var(--mono); font-size: 8px; padding: 1px 4px; border: 1px solid var(--line-2); color: var(--text-3); letter-spacing: 0.06em; }
.shop-panel .shop-name .badge.best { background: var(--accent); color: #0a0a0a; border-color: var(--accent); font-weight: 700; }
.shop-panel .shop-price { font-family: var(--display); font-size: 16px; font-weight: 700; }
.shop-panel .shop-price.best { color: var(--accent); }
.shop-panel .shop-cta {
  font-family: var(--mono); font-size: 9px; padding: 3px 8px; border: 1px solid var(--line-2);
  color: var(--text); text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.shop-panel .shop-cta:hover { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
.shop-panel .shop-cta.best { background: var(--accent); color: #0a0a0a; border-color: var(--accent); font-weight: 700; }
.shop-panel .shop-cta[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }

/* Tweaks panel */
#tweaks-trigger {
  position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px;
  border-radius: 50%; background: var(--panel); border: 1px solid var(--line-2);
  color: var(--text-2); cursor: pointer; padding: 0; z-index: 100;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.6);
  transition: all .15s;
}
#tweaks-trigger:hover, #tweaks-trigger.is-on { color: var(--accent); border-color: var(--accent); }
#tweaks-panel {
  position: fixed; right: 16px; bottom: 72px; width: 260px;
  background: var(--panel); border: 1px solid var(--accent);
  padding: 16px 18px; z-index: 100;
  box-shadow: 0 4px 24px rgba(0,0,0,0.7);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .15s, transform .15s;
}
#tweaks-panel.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.tweaks-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tweaks-head button { appearance: none; background: transparent; border: 0; color: var(--text-2); cursor: pointer; font-size: 14px; padding: 4px; }
.tweaks-head button:hover { color: var(--accent); }
.tweaks-section { margin-bottom: 4px; }
.tweaks-section .label { margin-bottom: 10px; display: block; }
.tweaks-swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tweak-swatch {
  appearance: none; background: var(--panel-2); border: 1px solid var(--line);
  padding: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.tweak-swatch span { width: 28px; height: 28px; border-radius: 50%; display: block; }
.tweak-swatch:hover { border-color: var(--text-2); }
.tweak-swatch.is-on { border-color: var(--accent); }

/* Toast popup */
#toast {
  position: fixed; left: 50%; bottom: 80px;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #fff; color: #0a0a0a;
  border: 2px solid var(--accent);
  padding: 12px 18px; min-width: 260px; max-width: 90vw;
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; font-family: var(--sans);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  z-index: 1000;
  transition: opacity .2s, transform .2s;
}
#toast.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
#toast strong { font-weight: 600; }
#toast .toast-action {
  margin-left: auto;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
  text-decoration: none; white-space: nowrap;
  border-left: 1px solid rgba(0,0,0,0.15); padding-left: 14px;
}
#toast .toast-action:hover { text-decoration: underline; }
@media (max-width: 600px) {
  #toast { left: 14px; right: 14px; transform: translateY(20px); bottom: 86px; min-width: 0; }
  #toast.is-visible { transform: translateY(0); }
}
/* Helpers */
/* Article cards (magazin) */
.article-grid { grid-template-columns: repeat(3, 1fr); }
.article-card { background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; transition: all .2s; }
.article-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.article-card .article-cover {
  position: relative;
  height: 100px;
  background: linear-gradient(135deg, #5e1818 0%, #2a0808 100%);
  display: flex; align-items: flex-end; padding: 18px 20px;
  overflow: hidden;
}
.article-card .article-cover::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0, transparent 14px, rgba(255,255,255,0.04) 14px, rgba(255,255,255,0.04) 15px);
}
.article-card .article-cover--vergleich { background: linear-gradient(135deg, #6e1c1c 0%, #2a0606 100%); }
.article-card .article-cover--test      { background: linear-gradient(135deg, #1c3a6e 0%, #08172a 100%); }
.article-card .article-cover--guide     { background: linear-gradient(135deg, #1c6e3c 0%, #082a15 100%); }
.article-card .article-cover--news      { background: linear-gradient(135deg, #6e5a1c 0%, #2a2208 100%); }
.article-cover-label {
  position: relative;
  font-family: var(--display); font-size: 26px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.95); line-height: 1;
}
.article-card .card-body { padding: 18px 20px 20px; gap: 10px; }
.article-card h3 { font-size: 19px; line-height: 1.15; }
.article-card h3 a { color: inherit; text-decoration: none; }
.article-card h3 a:hover { color: var(--accent); }
.article-card .article-teaser { margin: 0; font-size: 13px; line-height: 1.55; }
.article-card .article-cta { margin-top: 8px; align-self: flex-start; }
.article-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--text-3); text-transform: uppercase; display: flex; gap: 8px; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .article-grid { grid-template-columns: 1fr; } }

/* Article detail */
.article-main { padding: 32px 40px 48px; max-width: 760px; }
.article-header { margin-bottom: 36px; }
.article-header h1 { font-size: 56px; margin: 10px 0 16px; line-height: 1; }
.article-dek { font-size: 18px; color: var(--text-2); line-height: 1.55; margin: 0 0 18px; }
.article-byline { font-family: var(--mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.12em; text-transform: uppercase; display: flex; gap: 10px; }
.article-byline strong { color: var(--text); font-weight: 600; }
.article-body { font-size: 16px; line-height: 1.7; color: var(--text); }
.article-body h2 { font-family: var(--display); font-size: 30px; text-transform: uppercase; margin: 36px 0 14px; line-height: 1.05; }
.article-body p { margin: 0 0 14px; }
.article-body p strong { color: var(--accent); font-weight: 600; }
.article-related { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
@media (max-width: 700px) {
  .article-main { padding: 20px 18px 36px; }
  .article-header h1 { font-size: 36px; }
  .article-body h2 { font-size: 22px; }
}

/* Magazin featured hero */
.magazin-featured {
  position: relative; padding: 56px 40px 64px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.magazin-featured-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at top right, rgba(255,45,45,0.18), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(255,45,45,0.08), transparent 70%),
    linear-gradient(180deg, #0e0e0e 0%, #0a0a0a 100%);
}
.magazin-featured-bg::before, .magazin-featured-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px);
}
.magazin-featured-bg::after {
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px);
}
.magazin-featured-inner { position: relative; max-width: 920px; }
.featured-badge {
  display: inline-block; padding: 6px 12px;
  background: var(--accent); color: #0a0a0a;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 24px;
}
.magazin-featured-inner h1 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 64px; line-height: 0.98; letter-spacing: -0.01em;
  margin: 0 0 22px; max-width: 880px; text-wrap: balance;
}
.magazin-featured-dek { font-size: 18px; color: var(--text-2); line-height: 1.55; margin: 0 0 22px; max-width: 720px; }
.magazin-featured-meta {
  font-family: var(--mono); font-size: 11px; color: var(--text-3);
  letter-spacing: 0.12em; text-transform: uppercase;
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px;
}
.magazin-featured-meta strong { color: var(--text); font-weight: 600; }
.magazin-featured-cta { height: 52px; padding: 0 28px; font-size: 13px; }
.home-magazin { padding: 56px 40px 24px; }
@media (max-width: 700px) { .home-magazin { padding: 32px 18px 12px; } }
@media (max-width: 700px) {
  .magazin-featured { padding: 36px 18px 44px; }
  .magazin-featured-inner h1 { font-size: 38px; }
  .magazin-featured-dek { font-size: 15px; }
}
.hidden { display: none !important; }
.muted { color: var(--text-2); }
.tight { letter-spacing: -0.005em; }
.tag { display: inline-flex; font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 7px; background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--line); font-weight: 600; }
.tag-accent { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }

/* Empty state */
.empty { padding: 60px; text-align: center; border: 1px dashed var(--line); color: var(--text-2); margin: 24px 0; }
.empty h3 { font-size: 28px; margin-bottom: 12px; }

/* Product description headings — Abstand zwischen H2 "Produktbeschreibung" und H3-Sektionen */
section.container > h2 { margin-bottom: 16px !important; }
section.container > h2 + div > h3,
section.container > h2 + div > h4 { margin-top: 28px !important; margin-bottom: 12px !important; line-height: 1.2; }
section.container > h2 + div > h3:first-child { margin-top: 16px !important; }
section.container > h2 + div > p { margin-bottom: 14px; }

/* ─────────────────────────────────────────────────────────────
   SOFTWARE PAGE — sims, setup services, tools
   Eigenständiges Layout, kein Shop-Vergleich, eigenes Kartendesign.
   ───────────────────────────────────────────────────────────── */
.sw-hero {
  position: relative;
  padding: 64px 40px 56px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.sw-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 380px at 85% 0%, rgba(255,45,45,0.10) 0%, transparent 60%),
    radial-gradient(620px 320px at 10% 100%, rgba(255,255,255,0.04) 0%, transparent 60%),
    linear-gradient(180deg, #0c0c0c 0%, var(--bg) 100%);
}
.sw-hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.03) 0 1px, transparent 1px 96px);
}
.sw-hero-inner { position: relative; max-width: 980px; }
.sw-hero-inner h1 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 88px; line-height: 0.92; letter-spacing: -0.012em;
  margin: 14px 0 22px; text-wrap: balance;
}
.sw-hero-inner h1 .accent { color: var(--accent); }
.sw-hero-dek {
  font-size: 17px; line-height: 1.6; color: var(--text-2);
  margin: 0 0 28px; max-width: 680px;
}
.sw-hero-stats {
  display: flex; flex-wrap: wrap; gap: 0;
  border: 1px solid var(--line); background: rgba(0,0,0,0.4);
  margin-bottom: 24px; max-width: 560px;
}
.sw-hero-stats > div {
  flex: 1; min-width: 140px;
  padding: 14px 18px;
  border-right: 1px solid var(--line);
}
.sw-hero-stats > div:last-child { border-right: none; }
.sw-hero-stats .label { margin-bottom: 6px; }
.sw-stat {
  font-family: var(--display); font-weight: 700;
  font-size: 38px; line-height: 1; color: var(--text);
}
.sw-hero-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-hero-nav .pill { padding: 9px 14px; }

@media (max-width: 900px) {
  .sw-hero { padding: 40px 18px 36px; }
  .sw-hero-inner h1 { font-size: 52px; }
  .sw-hero-dek { font-size: 15px; }
  .sw-stat { font-size: 28px; }
}

/* Section blocks */
.sw-section { padding: 56px 40px 8px; }
.sw-section + .sw-section { padding-top: 32px; }
.sw-section-head {
  display: flex; gap: 24px; align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 22px; margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.sw-section-head h2 {
  font-size: 44px; margin: 10px 0 12px;
}
.sw-section-desc {
  max-width: 620px; color: var(--text-2);
  font-size: 15px; line-height: 1.6; margin: 0;
}
.sw-section-meta { flex: none; text-align: right; }
@media (max-width: 760px) {
  .sw-section { padding: 36px 18px 4px; }
  .sw-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sw-section-head h2 { font-size: 30px; }
  .sw-section-meta { text-align: left; }
}

/* Software card grid */
.sw-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 820px) { .sw-grid { grid-template-columns: 1fr; } }

.sw-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px 24px 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .15s, transform .15s, background .15s;
  overflow: hidden;
}
.sw-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--line); transition: background .15s;
}
.sw-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.sw-card:hover::before { background: var(--accent); }

.sw-card-num {
  position: absolute; right: 18px; bottom: 14px;
  font-family: var(--display); font-weight: 800;
  font-size: 88px; line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.06);
  text-stroke: 1px rgba(255,255,255,0.06);
  pointer-events: none; user-select: none;
}
.sw-card-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.sw-host {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--text-3); text-transform: lowercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 50%;
}
.sw-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 5px 9px;
  border: 1px solid var(--line-2); color: var(--text);
  background: rgba(255,255,255,0.03);
}
.sw-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-2);
}
.sw-badge--sub  .sw-badge-dot { background: var(--accent); box-shadow: 0 0 0 3px rgba(255,45,45,0.18); }
.sw-badge--sub  { border-color: rgba(255,45,45,0.55); color: #ffb3b3; }
.sw-badge--buy  .sw-badge-dot { background: #d8d8d8; box-shadow: 0 0 0 3px rgba(255,255,255,0.10); }
.sw-badge--buy  { border-color: rgba(255,255,255,0.35); color: var(--text); }
.sw-badge--free .sw-badge-dot { background: #57d68a; box-shadow: 0 0 0 3px rgba(87,214,138,0.18); }
.sw-badge--free { border-color: rgba(87,214,138,0.45); color: #b8f3cc; }

.sw-card-name {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 32px; line-height: 1.0; letter-spacing: -0.005em;
  margin: 0; position: relative; z-index: 1;
}
.sw-price {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-2);
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.sw-desc {
  margin: 0; font-size: 14px; line-height: 1.6;
  color: var(--text-2); flex: 1;
  position: relative; z-index: 1;
}
.sw-cta {
  align-self: flex-start; height: 42px; padding: 0 18px;
  font-size: 11px; margin-top: 4px;
  position: relative; z-index: 1;
}
.sw-card-name-link { text-decoration: none; color: inherit; display: block; position: relative; z-index: 1; }
.sw-card-name-link:hover .sw-card-name { color: var(--accent); }
.sw-tagline {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--text); margin-top: -4px;
  text-transform: none;
  position: relative; z-index: 1;
}
.sw-card-foot {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; margin-top: 4px;
  position: relative; z-index: 1;
}
.sw-ext {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-2);
  text-decoration: none;
  border-bottom: 1px dashed var(--line-2);
  padding-bottom: 2px;
  transition: color .12s, border-color .12s;
}
.sw-ext:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 520px) {
  .sw-card { padding: 20px 18px 18px; }
  .sw-card-name { font-size: 26px; }
  .sw-card-num { font-size: 64px; right: 12px; bottom: 8px; }
}

/* ── Software detail page ─────────────────────────────────────── */
.sw-detail { padding: 40px 40px 24px; }
@media (max-width: 700px) { .sw-detail { padding: 28px 18px 16px; } }
.sw-detail-head { padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.sw-detail-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.sw-detail-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 84px; line-height: 0.92; letter-spacing: -0.012em;
  margin: 0 0 14px; text-wrap: balance;
}
.sw-detail-tagline {
  font-family: var(--display); font-weight: 600;
  font-size: 26px; line-height: 1.15; color: var(--accent);
  margin: 0 0 18px; text-wrap: balance; letter-spacing: -0.005em;
}
.sw-detail-dek {
  font-size: 18px; line-height: 1.6; color: var(--text-2);
  margin: 0 0 28px; max-width: 760px;
}
.sw-detail-factbox {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); margin-bottom: 24px;
  background: rgba(0,0,0,0.4);
}
.sw-detail-factbox > div {
  padding: 14px 18px;
  border-right: 1px solid var(--line);
}
.sw-detail-factbox > div:last-child { border-right: none; }
.sw-detail-factbox .label { margin-bottom: 6px; }
.sw-fact {
  font-family: var(--mono); font-size: 14px; color: var(--text);
  line-height: 1.35;
}
.sw-fact a { color: var(--accent); text-decoration: none; }
.sw-fact a:hover { text-decoration: underline; }
.sw-detail-cta { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .sw-detail-title { font-size: 52px; }
  .sw-detail-tagline { font-size: 19px; }
  .sw-detail-dek { font-size: 16px; }
  .sw-detail-factbox { grid-template-columns: 1fr; }
  .sw-detail-factbox > div { border-right: none; border-bottom: 1px solid var(--line); }
  .sw-detail-factbox > div:last-child { border-bottom: none; }
}

.sw-detail-grid {
  display: grid; grid-template-columns: 1fr 340px; gap: 48px;
  padding-bottom: 24px;
}
@media (max-width: 960px) {
  .sw-detail-grid { grid-template-columns: 1fr; gap: 24px; }
}
.sw-detail-body h2 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 28px; line-height: 1.05; letter-spacing: -0.005em;
  margin: 36px 0 14px;
}
.sw-detail-body h2:first-child { margin-top: 0; }
.sw-detail-body p {
  font-size: 16px; line-height: 1.7; color: var(--text-2);
  margin: 0 0 16px; max-width: 70ch;
}
.sw-detail-body p strong { color: var(--text); font-weight: 600; }

.sw-detail-aside {
  display: flex; flex-direction: column; gap: 16px;
  position: sticky; top: 80px; align-self: start;
}
@media (max-width: 960px) { .sw-detail-aside { position: static; } }

.sw-aside-block {
  border: 1px solid var(--line);
  padding: 18px 18px 14px;
  background: var(--panel);
}
.sw-aside-block .label { margin-bottom: 12px; }
.sw-aside-block ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.sw-aside-block ul li {
  font-size: 13px; line-height: 1.45; color: var(--text-2);
  padding-left: 18px; position: relative;
}
.sw-aside-pros ul li::before {
  content: "+"; position: absolute; left: 0; top: 0;
  font-family: var(--mono); color: var(--accent); font-weight: 700;
}
.sw-aside-cons ul li::before {
  content: "−"; position: absolute; left: 0; top: 0;
  font-family: var(--mono); color: var(--text-3); font-weight: 700;
}
.sw-aside-verdict p {
  font-size: 13px; line-height: 1.55; color: var(--text-2);
  margin: 0;
}
.sw-aside-verdict--neg { background: transparent; }

.sw-related { padding: 24px 40px 56px; }
.sw-related .sw-section-head { padding-bottom: 16px; margin-bottom: 18px; }
@media (max-width: 760px) { .sw-related { padding: 16px 18px 36px; } }

/* Note block at page bottom */
.sw-note { padding: 32px 40px 56px; }
.sw-note-inner {
  border: 1px dashed var(--line-2);
  padding: 22px 26px;
  background: rgba(255,255,255,0.015);
  max-width: 820px;
}
.sw-note-inner p {
  margin: 10px 0 0; color: var(--text-2);
  font-size: 14px; line-height: 1.6;
}
.sw-note-inner strong { color: var(--text); }
@media (max-width: 760px) {
  .sw-note { padding: 20px 18px 40px; }
  .sw-note-inner { padding: 16px 18px; }
}

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 32px 0 8px; }
.page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px;
  color: var(--text-2); font-size: 14px; cursor: pointer;
  transition: all 0.15s;
}
.page-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.page-btn.is-active { background: var(--accent); color: #0a0a0a; border-color: var(--accent); font-weight: 700; }
.page-btn:disabled { opacity: .35; cursor: not-allowed; }
.page-btn.page-nav { min-width: 38px; }

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.cookie-banner.is-open { transform: translateY(0); }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.cookie-banner-text {
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
  flex: 1;
}
.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .cookie-banner-inner { flex-direction: column; padding: 14px 18px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}
