:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --border: #d1d5db;
  --accent: #b45309;        /* Tactical Amber/Bronze CTA */
  --accent-hover: #92400e;
  --nav-bg: #18181b;        /* Matte Charcoal Header */
  --badge-bg: #fef3c7;
  --badge-text: #92400e;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 10px 24px -6px rgba(0, 0, 0, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Disclosure Bar */
.disclosure-bar {
  background: #09090b;
  color: #d4d4d8;
  font-size: 0.78rem;
  text-align: center;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid #27272a;
}
.disclosure-bar strong { color: #ffffff; }

/* Header & Navigation */
header {
  background: var(--nav-bg);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.95rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.brand-text span { color: #f59e0b; }

.main-nav {
  display: flex;
  gap: 1.25rem;
}
.main-nav a {
  color: #d4d4d8;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
  border-bottom-color: #f59e0b;
}

.search-wrap {
  flex: 1 1 260px;
  max-width: 380px;
  position: relative;
}
.search-input {
  width: 100%;
  padding: 0.55rem 0.9rem 0.55rem 2.25rem;
  border: 1px solid #3f3f46;
  border-radius: 8px;
  font-size: 0.9rem;
  background: #27272a;
  color: #ffffff;
  outline: none;
}
.search-input::placeholder { color: #a1a1aa; }
.search-input:focus {
  border-color: #f59e0b;
  background: #18181b;
}
.search-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: #a1a1aa;
  font-size: 0.85rem;
  pointer-events: none;
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem 1.25rem;
}
.hero h1 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.hero p {
  color: var(--muted);
  max-width: 680px;
  font-size: 1rem;
}

/* Visual Horizontal Scrolling Category Bar */
.controls {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 1.35rem;
}
.categories-scroller-wrap {
  position: relative;
  margin-bottom: 0.75rem;
}
.categories {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 0.65rem;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #9ca3af transparent;
  -webkit-overflow-scrolling: touch;
}
.categories::-webkit-scrollbar {
  height: 6px;
}
.categories::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 999px;
}
.cat-card {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.9rem 0.45rem 0.45rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.cat-card:hover {
  transform: translateY(-2px);
  border-color: #f59e0b;
}
.cat-card.active {
  background: var(--nav-bg);
  color: #ffffff;
  border-color: var(--nav-bg);
}
.cat-thumb {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  object-fit: cover;
  background: #27272a;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.cat-card.active .cat-thumb {
  border-color: #f59e0b;
}
.result-count {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* Storefront Grid & Product Cards */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 1.35rem;
}
.embedded-grid {
  margin: 1.5rem 0 2rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #e5e7eb;
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
  border: 1px solid rgba(180, 83, 9, 0.25);
}
.card-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-cat {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  line-height: 1.35;
}
.card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.highlights {
  list-style: none;
  margin-bottom: 1.1rem;
  font-size: 0.82rem;
  color: #374151;
}
.highlights li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.25rem;
}
.highlights li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 7px;
  transition: background 0.15s;
}
.cta-btn:hover { background: var(--accent-hover); }
.review-link {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  margin-top: 0.2rem;
}
.merchant-note {
  text-align: center;
  font-size: 0.74rem;
  color: var(--muted);
}

/* Reviews Hub & Article Pages */
.review-list {
  display: grid;
  gap: 1.25rem;
  max-width: 900px;
}
.review-summary-card,
.review-article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.review-summary-card h2 {
  font-size: 1.35rem;
  margin: 0.35rem 0 0.6rem;
}
.review-summary-card h2 a {
  color: var(--text);
  text-decoration: none;
}
.review-summary-card h2 a:hover { color: var(--accent); }
.review-meta {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.read-more-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}
.article-container {
  max-width: 920px;
  padding-top: 1.5rem;
}
.breadcrumb {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text); text-decoration: none; }
.review-article h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
  margin: 0.4rem 0 0.9rem;
}
.review-article .lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
}
.review-article h2 {
  font-size: 1.35rem;
  margin: 1.75rem 0 0.75rem;
}
.review-article p { margin-bottom: 1rem; }

/* Comparison Spec Table */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.spec-table th,
.spec-table td {
  border: 1px solid var(--border);
  padding: 0.75rem 0.9rem;
  text-align: left;
}
.spec-table th {
  background: var(--nav-bg);
  color: #ffffff;
  font-weight: 600;
}
.spec-table tr:nth-child(even) { background: #f9fafb; }

/* Pros & Cons Grid */
.pros-cons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}
.pros, .cons {
  padding: 1.1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.pros { background: #f0fdf4; border-color: #bbf7d0; }
.cons { background: #fef2f2; border-color: #fecaca; }
.pros h3, .cons h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.pros ul, .cons ul { padding-left: 1.15rem; font-size: 0.88rem; }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--border);
  background: var(--nav-bg);
  color: #a1a1aa;
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.82rem;
}
footer p { max-width: 820px; margin: 0 auto 0.55rem; }
footer strong { color: #ffffff; }
