:root {
  --bg: #0f1419;
  --bg-elev: #1a222c;
  --bg-soft: #151c24;
  --text: #e8eef4;
  --muted: #9aabbc;
  --line: #2a3644;
  --accent: #3ecf8e;
  --accent-2: #5b8def;
  --accent-dim: rgba(62, 207, 142, 0.14);
  --warn: #f0b429;
  --danger: #ef6b6b;
  --card: #1a222c;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}
html[data-theme="light"] {
  --bg: #f6f8fb;
  --bg-elev: #ffffff;
  --bg-soft: #eef2f7;
  --text: #15202b;
  --muted: #5b6b7c;
  --line: #d7e0ea;
  --accent: #0f9d68;
  --accent-2: #2f6fed;
  --accent-dim: rgba(15, 157, 104, 0.12);
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(21, 32, 43, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 0.55rem;
  color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.02em;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #04120c; font-size: 0.85rem; font-weight: 800;
}
.nav-links { display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }
.btn-theme {
  border: 1px solid var(--line); background: var(--bg-elev); color: var(--text);
  border-radius: 999px; padding: 0.35rem 0.75rem; cursor: pointer; font-size: 0.85rem;
}
.hero {
  padding: 2.75rem 0 2rem;
  background:
    radial-gradient(900px 400px at 10% -10%, rgba(62,207,142,0.18), transparent 60%),
    radial-gradient(700px 360px at 90% 0%, rgba(91,141,239,0.16), transparent 55%);
}
.eyebrow {
  display: inline-flex; gap: 0.4rem; align-items: center;
  color: var(--accent); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin: 0.5rem 0 0.75rem; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); margin: 2rem 0 0.75rem; }
h3 { font-size: 1.1rem; margin: 1.25rem 0 0.4rem; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 46rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; color: var(--muted); font-size: 0.92rem; margin-top: 1rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border-radius: 999px; padding: 0.7rem 1.15rem; font-weight: 650; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font-size: 0.98rem;
}
.btn-primary { background: var(--accent); color: #04120c; }
.btn-primary:hover { filter: brightness(1.05); color: #04120c; }
.btn-secondary { background: var(--bg-elev); color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-amazon { background: #ff9900; color: #111; }
.btn-amazon:hover { filter: brightness(1.05); color: #111; }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.88rem; }
.grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.2rem; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0.2rem; }
.card p { color: var(--muted); margin: 0.4rem 0 0.9rem; }
.badge {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; padding: 0.22rem 0.55rem; border-radius: 999px;
  background: var(--accent-dim); color: var(--accent); margin-bottom: 0.35rem;
}
.badge-blue { background: rgba(91,141,239,0.15); color: var(--accent-2); }
.badge-warn { background: rgba(240,180,41,0.16); color: var(--warn); }
.section { padding: 1.5rem 0 2.25rem; }
.breadcrumbs { font-size: 0.88rem; color: var(--muted); margin: 1rem 0 0.25rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.disclosure {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.85rem 1rem; font-size: 0.9rem; color: var(--muted); margin: 1rem 0 1.25rem;
}
.verdict {
  border-left: 4px solid var(--accent); background: var(--accent-dim);
  padding: 1rem 1.1rem; border-radius: 0 12px 12px 0; margin: 1rem 0;
}
.verdict strong { color: var(--text); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 720px; }
th, td { padding: 0.75rem 0.85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--bg-soft); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { .proscons { grid-template-columns: 1fr; } }
.pros, .cons { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.pros h3 { color: var(--accent); }
.cons h3 { color: var(--danger); }
.pros ul, .cons ul, .faq details ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.faq details {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.85rem 1rem; margin: 0.55rem 0;
}
.faq summary { cursor: pointer; font-weight: 650; }
.sticky-cta {
  position: sticky; bottom: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-top: 1px solid var(--line); backdrop-filter: blur(10px);
  padding: 0.7rem 0;
}
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.note { font-size: 0.9rem; color: var(--muted); }
.site-footer {
  border-top: 1px solid var(--line); margin-top: 2rem; padding: 2rem 0 2.5rem; color: var(--muted); font-size: 0.92rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid a { color: var(--muted); text-decoration: none; display: block; margin: 0.25rem 0; }
.footer-grid a:hover { color: var(--accent); }
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { margin: 0.55rem 0; padding-left: 1.1rem; position: relative; }
.list-clean li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.specs td:first-child { color: var(--muted); width: 38%; }
.rank {
  display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 999px;
  background: var(--accent-dim); color: var(--accent); font-weight: 800; font-size: 0.85rem; margin-right: 0.35rem;
}

/* Media / product images */
.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-layout { grid-template-columns: 1fr; }
}
.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}
.hero-media img,
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-with-media {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
}
@media (max-width: 640px) {
  .card-with-media { grid-template-columns: 96px 1fr; gap: 0.75rem; }
}
.card-media {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.card-media-img,
.product-hero-img,
.table-thumb-img,
.related-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-body { min-width: 0; }
.card-body h3 { margin-top: 0.15rem; }
.litter-cell {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.table-thumb {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  display: block;
}
.product-hero {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 1.25rem;
  align-items: start;
  margin: 1rem 0 1.25rem;
}
@media (max-width: 700px) {
  .product-hero { grid-template-columns: 1fr; }
}
.product-hero-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}
.product-hero-copy .verdict { margin-top: 0; }
.related-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.65rem;
}
.related-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
}
.related-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: block;
}
