/* ============================================
   IRONVERDICT — Category Pages CSS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Barlow+Condensed:wght@700;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --accent: #e8ff00;
  --bg: #0a0a0a;
  --surface: #141414;
  --border: #242424;
  --text: #f0f0f0;
  --muted: #888;
}

body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 99;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 900; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a { padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--muted); transition: all 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--accent); }

/* PAGE HERO */
.page-hero {
  padding: 48px 24px 40px;
  max-width: 860px;
  margin: 0 auto;
}
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
}
.page-hero h1 span { color: var(--accent); }
.page-hero p { font-size: 16px; color: var(--muted); max-width: 500px; }

/* MAIN */
.page-content { max-width: 860px; margin: 0 auto; padding: 0 24px 80px; }

/* FILTER BAR */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  padding: 7px 16px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* PRODUCT ROWS */
.products-list { display: flex; flex-direction: column; gap: 16px; }

.product-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.15s;
}
.product-row:hover { border-color: rgba(232,255,0,0.25); }

.product-rank {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  min-width: 40px;
  line-height: 1;
  padding-top: 4px;
}

.product-info { flex: 1; display: flex; flex-direction: column; gap: 10px; }

.product-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge-cat {
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent); background: rgba(232,255,0,0.08);
  border: 1px solid rgba(232,255,0,0.2);
  padding: 2px 8px; border-radius: 4px;
}
.badge-top {
  font-size: 11px; font-weight: 700;
  background: var(--accent); color: #000;
  padding: 2px 8px; border-radius: 4px;
}

.product-name { font-size: 18px; font-weight: 800; line-height: 1.3; }
.product-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

.product-pros {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.product-pros span {
  font-size: 12px; color: #4ade80; font-weight: 600;
  background: rgba(74,222,128,0.08);
  padding: 3px 10px; border-radius: 99px;
}

.product-action {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; min-width: 140px;
}

.product-score {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px; font-weight: 900;
  color: var(--accent); line-height: 1;
  text-align: center;
}
.product-score span { font-size: 16px; color: var(--muted); }

.product-price { font-size: 13px; color: var(--muted); text-align: center; }
.product-price strong { display: block; font-size: 20px; color: var(--text); font-weight: 800; }

.btn-buy {
  display: block; width: 100%;
  background: var(--accent); color: #000;
  font-weight: 800; font-size: 13px;
  text-align: center; padding: 11px 16px;
  border-radius: 8px; transition: all 0.15s;
  white-space: nowrap;
}
.btn-buy:hover { background: #fff; transform: translateY(-1px); }

/* FOOTER */
footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 900; }
.footer-logo span { color: var(--accent); }
.footer-disc { font-size: 12px; color: var(--muted); max-width: 500px; line-height: 1.5; }

/* RESPONSIVE */
@media (max-width: 700px) {
  .nav-links { display: none; }
  .product-row { flex-direction: column; }
  .product-action { width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .btn-buy { flex: 1; }
  footer { flex-direction: column; }
}
