/* ============================================================
   BestPetFoodGuide — style.css
   Dark theme · Orange accents · Inter font
   ============================================================ */

/* --- Variables -------------------------------------------- */
:root {
  --bg:           #0e0e10;
  --bg-card:      #1a1a1d;
  --bg-card-hover:#202024;
  --bg-section:   #131316;
  --border:       #2a2a2e;
  --orange:       #ff6b35;
  --orange-dark:  #e05525;
  --orange-light: #ff8c42;
  --orange-glow:  rgba(255,107,53,.15);
  --text:         #e8e8ec;
  --text-muted:   #8c8c9a;
  --text-dim:     #5a5a6a;
  --white:        #ffffff;
  --green:        #34d399;
  --red:          #f87171;
  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 4px 24px rgba(0,0,0,.45);
  --shadow-card:  0 2px 12px rgba(0,0,0,.4);
  --transition:   .2s ease;
  --max-width:    1200px;
  --font:         'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-light); }
ul { list-style: none; }


/* --- Utility ----------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.accent { color: var(--orange); }
.section { padding: 5rem 0; }
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 auto;
  max-width: 800px;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,107,53,.35);
}
.btn-cta {
  font-size: 1.05rem;
  padding: .9rem 2.25rem;
}

/* --- Header ----------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14,14,16,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.02em;
}
.logo:hover { color: var(--white); }
.logo-icon { font-size: 1.4rem; }
.main-nav {
  display: flex;
  gap: 2rem;
}
.main-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: .95rem;
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--orange); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero -------------------------------------------------- */
.hero {
  padding: 7rem 0 6rem;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255,107,53,.12), transparent),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  color: var(--orange);
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* --- Hero Search ------------------------------------------ */
.hero-search {
  margin-top: 2rem;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.hero-search-form {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .4rem .4rem .4rem 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.hero-search-form:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}
.hero-search-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font);
}
.hero-search-input::placeholder {
  color: var(--text-dim);
}
.hero-search-btn {
  background: var(--orange);
  border: none;
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition);
}
.hero-search-btn:hover {
  background: var(--orange-dark);
}
.hero-search-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: none;
  z-index: 200;
}
.hero-search-dropdown.open {
  display: block;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .75rem 1rem;
  color: var(--text);
  transition: background var(--transition);
  border-bottom: 1px solid var(--border);
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item:hover {
  background: var(--bg-card-hover);
}
.search-result-img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-result-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.search-result-placeholder {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--orange);
}
.search-result-info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  flex: 1;
  min-width: 0;
}
.search-result-title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-meta {
  font-size: .78rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .hero-search { padding: 0 1rem; }
}

/* --- Section header --------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2,
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: .5rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- Cards — shared --------------------------------------- */
.card-img-wrap {
  display: block;
  overflow: hidden;
  /*aspect-ratio: 16/9;*/
  background: var(--bg);
  border-radius: var(--radius) var(--radius) 0 0;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.review-card:hover .card-img,
.blog-card:hover .card-img {
  transform: scale(1.04);
}
.initials-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(255,255,255,.9);
  letter-spacing: -.02em;
  user-select: none;
}
.card-body {
  padding: 1.35rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}
.card-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}
.card-title a { color: var(--white); }
.card-title a:hover { color: var(--orange); }
.card-excerpt {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
}
.card-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--orange);
  margin-top: auto;
}
.card-link:hover { color: var(--orange-light); }
.card-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.brand {
  font-size: .82rem;
  color: var(--text-muted);
}

/* --- Badge ------------------------------------------------- */
.badge {
  display: inline-block;
  background: var(--orange-glow);
  border: 1px solid rgba(255,107,53,.3);
  color: var(--orange-light);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .2rem .65rem;
  border-radius: 20px;
}
.badge-lg {
  font-size: .8rem;
  padding: .3rem .9rem;
}

/* --- Stars ------------------------------------------------- */
.stars {
  display: flex;
  align-items: center;
  gap: .1rem;
  font-size: 1rem;
}
.star { color: var(--text-dim); }
.star.full, .star.half { color: #fbbf24; }
.rating-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: .4rem;
}

/* --- Reviews grid ----------------------------------------- */
.reviews-section { background: var(--bg-section); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.review-card:hover {
  border-color: rgba(255,107,53,.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}

/* --- Blog grid -------------------------------------------- */
.blog-section { background: var(--bg); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}
.blog-card:hover {
  border-color: rgba(255,107,53,.4);
  transform: translateY(-3px);
}
.post-date {
  font-size: .8rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* --- Breadcrumb ------------------------------------------- */
.breadcrumb {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--text-muted);
  list-style-type: none;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb li:last-child { color: var(--text); }

/* --- Review Hero ------------------------------------------ */
.review-hero {
  padding: 4rem 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 50%, rgba(255,107,53,.07), transparent),
    var(--bg-section);
  border-bottom: 1px solid var(--border);
}
.review-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.review-feature-img .feature-img-lg {
  width: 100%;
  /*aspect-ratio: 4/3;*/
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.review-feature-img .initials-avatar {
  /*aspect-ratio: 4/3;*/
  border-radius: var(--radius);
  font-size: 5rem;
  box-shadow: var(--shadow);
}
.review-hero-meta { display: flex; flex-direction: column; gap: 1.1rem; }
.review-hero-meta h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--white);
}
.review-brand { color: var(--text-muted); font-size: 1rem; }
.review-excerpt { color: var(--text); font-size: 1.05rem; line-height: 1.7; }
.review-rating-block { display: flex; align-items: center; gap: .5rem; }
.review-rating-block .stars { font-size: 1.5rem; }
.review-rating-block .rating-label { font-size: 1rem; }

/* --- Pros & Cons ------------------------------------------ */
.proscons-section { background: var(--bg); }
.proscons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.pros-box, .cons-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.pros-box { border-left: 4px solid var(--green); }
.cons-box { border-left: 4px solid var(--red); }
.pros-box h2, .cons-box h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.pros-box li, .cons-box li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .65rem;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.55;
}
.pros-box li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.cons-box li::before { content: '✗'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* --- Prose (review / article content) -------------------- */
.content-section { background: var(--bg-section); }
.content-section ul li {position: relative;}
.content-section ul li:before {
    width: 13px;
    height: 13px;
    background-color: var(--orange);
    border-radius: 50%;
    top: 0;
    left: -30px;
    bottom: 0;
    margin: auto;
    content: '';
    position: absolute;
}
.content-wrap { max-width: 780px; }
/* When sidebar is present, content-with-sidebar controls the width */
.content-with-sidebar .review-content { min-width: 0; }
.prose {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}
.prose h2 { font-size: 1.55rem; font-weight: 700; color: var(--white); margin: 2.5rem 0 1rem; letter-spacing: -.02em; }
.prose h3 { font-size: 1.2rem; font-weight: 700; color: var(--white); margin: 2rem 0 .75rem; }
.prose p  { margin-bottom: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.prose li { margin-bottom: .5rem; }
.prose a  { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover  { text-decoration: none; }
.prose strong { color: #ffb695; font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--orange);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .95rem; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose th { background: var(--bg-card); color: var(--white); font-weight: 600; padding: .65rem 1rem; border: 1px solid var(--border); text-align: left; }
.prose td { padding: .6rem 1rem; border: 1px solid var(--border); color: var(--text); }
.prose tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.prose img { border-radius: var(--radius-sm); margin: 1.5rem auto; }
.prose code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .1em .4em;
  font-size: .88em;
  color: var(--orange-light);
}

.alignleft {
  float: left;
  max-width: 300px;
  margin-right: 20px !important; 
  margin-bottom: 10px !important;
}

@media (max-width: 767.98px) {
  .alignleft {
    float: initial;
    margin-right: 0;
    margin: auto;
    display: block;
  }
}

.alignright {
  float: right;
  max-width: 300px;
  margin-left: 20px !important; 
  margin-bottom: 10px !important;
}

@media (max-width: 767.98px) {
  .alignright {
    float: initial;
    margin-right: 0;
    margin: auto;
    display: block;
  }
}

/* --- CTA section ------------------------------------------ */
.cta-section {
  background: linear-gradient(135deg, rgba(255,107,53,.1), rgba(224,85,37,.05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.cta-title { font-size: 1.4rem; color: var(--white); font-weight: 700; }
.disclaimer-small { font-size: .8rem; color: var(--text-dim); max-width: 500px; }

/* --- Blog Hero -------------------------------------------- */
.blog-hero {
  padding: 4rem 0;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}
.blog-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: center;
}
.blog-feature-img .feature-img-lg {
  width: 100%;
  /*aspect-ratio: 16/10;*/
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.blog-feature-img .initials-avatar {
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  font-size: 5rem;
}
.blog-hero-meta { display: flex; flex-direction: column; gap: 1rem; }
.blog-hero-meta h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.03em;
  color: var(--white);
}
.blog-excerpt { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; }
.post-byline { display: flex; align-items: center; gap: 1rem; font-size: .88rem; color: var(--text-muted); flex-wrap: wrap; }
.post-author { font-weight: 600; color: var(--text); }

/* --- Tags -------------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .78rem;
  padding: .25rem .7rem;
  border-radius: 20px;
}

/* --- Related section -------------------------------------- */
.related-section { background: var(--bg-section); }
.reviews-grid--3,
.blog-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* --- Footer ----------------------------------------------- */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding: 3.5rem 0;
}
.footer-brand {
    max-width: 260px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-top: .75rem;
  max-width: 380px;
  line-height: 1.65;
}
.footer-links h3 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { color: var(--text-muted); font-size: .9rem; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom .disclaimer {
  font-size: .8rem;
  color: var(--text-dim);
  margin-bottom: .35rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.copyright { font-size: .78rem; color: var(--text-dim); }

/* --- Empty state ------------------------------------------ */
.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 4rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  font-size: 1.1rem;
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 900px) {
  .review-hero-inner,
  .blog-hero-inner { grid-template-columns: 1fr; }
  .review-feature-img { order: -1; }
  .blog-feature-img  { order: -1; }
  .proscons-grid     { grid-template-columns: 1fr; }
  .reviews-grid--3,
  .blog-grid--3      { grid-template-columns: repeat(2, 1fr); }
  .footer-inner      { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 4.5rem 0 3.5rem; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1.5rem;
    font-size: 1.1rem;
    z-index: 99;
  }
  .nav-toggle { display: flex; }
  .reviews-grid,
  .blog-grid,
  .reviews-grid--3,
  .blog-grid--3 { grid-template-columns: 1fr; }
  .content-wrap { padding: 0 .25rem; }
}

/* --- Archive hero ----------------------------------------- */
.archive-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(255,107,53,.07), transparent),
    var(--bg-section);
  border-bottom: 1px solid var(--border);
}
.archive-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: .5rem;
}
.archive-hero p { color: var(--text-muted); font-size: 1.05rem; }

/* --- Section header row variant --------------------------- */
.section-header--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-header--row h2 { margin-bottom: .25rem; }

/* --- Outline button --------------------------------------- */
.btn-secondary {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-secondary:hover {
  background: var(--orange-glow);
  color: var(--orange-light);
}
.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
  font-size: .9rem;
  padding: .6rem 1.25rem;
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* --- Hero buttons row ------------------------------------- */
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Section CTA ------------------------------------------ */
.section-cta { text-align: center; margin-top: 2.5rem; }

/* --- Category filter pills -------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2.5rem;
}
.filter-pill {
  display: inline-block;
  padding: .4rem 1.1rem;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-card);
  transition: all var(--transition);
}
.filter-pill:hover, .filter-pill.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* --- Pagination ------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 3rem;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 .9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.page-btn:hover { border-color: var(--orange); color: var(--orange); }
.page-btn.current {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  font-weight: 700;
}

/* --- Blog grid wide variant ------------------------------- */
.blog-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
.post-author-small { font-size: .82rem; color: var(--text-dim); }

/* Badge as link */
a.badge {
  cursor: pointer;
  text-decoration: none;
}
a.badge:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* --- Content + Sidebar layout ----------------------------- */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
  max-width: var(--max-width);
}

/* --- Sticky Sidebar --------------------------------------- */
.review-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 88px;
  align-self: start;
}
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sidebar-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.sidebar-img .sidebar-img-el,
.sidebar-img img {
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/
}
.sidebar-img .initials-avatar {
  font-size: 2.8rem;
}
.sidebar-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}
.sidebar-brand {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: -.25rem;
}
.sidebar-rating .stars { font-size: .95rem; }
.sidebar-btn {
  width: 100%;
  justify-content: center;
  font-size: .95rem;
  padding: .75rem 1rem;
}
.sidebar-disclaimer {
  font-size: .72rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.4;
}

/* Hide sidebar on mobile */
@media (max-width: 900px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }
  .review-sidebar {
    display: none;
  }
}

/* --- FAQ Section ------------------------------------------ */
.faq-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.faq-wrap {
  max-width: 780px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.faq-item {
  border-left: 3px solid var(--orange);
  padding-left: 1.25rem;
}
.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
  line-height: 1.4;
}
.faq-answer {
  color: var(--text-muted);
  font-size: .97rem;
  line-height: 1.75;
}

/* --- Top Picks Section ------------------------------------ */
.top-picks-section {
  padding-top: 100px;
  position: relative;
  overflow: visible;
}
.picks-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.picks-panel {
  position: relative;
  padding: 0 3rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: visible;
}
.picks-panel--dogs {
  background: linear-gradient(160deg, #1e1208, #2a1a0a);
}
.picks-panel--cats {
  background: linear-gradient(160deg, #0d1420, #111a2e);
}
.panel-mascot {
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 210px;
  height: 210px;
  pointer-events: none;
  z-index: 3;
}
.mascot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 -4px 20px rgba(0,0,0,.6));
}
.panel-content {
  margin-top: 120px;
  width: 100%;
  max-width: 420px;
}
.panel-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: .5rem;
}
.picks-panel--dogs .panel-title span { color: var(--orange); }
.picks-panel--cats .panel-title span { color: #60a5fa; }
.panel-subtitle {
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 1.75rem;
}
.picks-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.75rem;
}
.pick-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  color: var(--text);
  transition: all var(--transition);
  text-align: left;
}
.pick-item:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,107,53,.4);
  color: var(--text);
  transform: translateX(4px);
}
.pick-item--cat:hover {
  border-color: rgba(96,165,250,.4);
}
.pick-rank {
  font-size: 1.15rem;
  font-weight: 800;
  min-width: 30px;
}
.picks-panel--dogs .pick-rank { color: var(--orange); }
.picks-panel--cats .pick-rank { color: #60a5fa; }
.pick-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.pick-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.pick-meta {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.pick-arrow {
  color: var(--text-dim);
  font-size: 1rem;
  transition: transform var(--transition), color var(--transition);
}
.pick-item:hover .pick-arrow { transform: translateX(4px); color: var(--orange); }
.pick-item--cat:hover .pick-arrow { color: #60a5fa; }
.picks-btn {
  width: 100%;
  justify-content: center;
  font-size: .95rem;
  padding: .75rem 1.25rem;
  border: 2px solid transparent;
}
.picks-btn--dogs {
  border-color: rgba(255,107,53,.4);
  color: var(--orange);
}
.picks-btn--dogs:hover {
  background: rgba(255,107,53,.1);
  border-color: var(--orange);
  color: var(--orange-light);
}
.picks-btn--cats {
  border-color: rgba(96,165,250,.4);
  color: #60a5fa;
}
.picks-btn--cats:hover {
  background: rgba(96,165,250,.1);
  border-color: #60a5fa;
  color: #93c5fd;
}
.picks-empty {
  color: var(--text-muted);
  font-size: .9rem;
  padding: 1.5rem;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
  .picks-wrapper { grid-template-columns: 1fr; }
  .picks-panel { padding: 0 1.5rem 3.5rem; }
  .panel-mascot { width: 160px; height: 160px; top: -70px; }
  .panel-content { margin-top: 95px; }
  .top-picks-section { padding-top: 80px; }
}

/* --- How We Review Section -------------------------------- */
.how-we-review-section { background: var(--bg-section); }
.hwr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.hwr-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  transition: border-color var(--transition), transform var(--transition);
}
.hwr-item:hover {
  border-color: rgba(255,107,53,.35);
  transform: translateY(-3px);
}
.hwr-icon {
  font-size: 2rem;
  line-height: 1;
}
.hwr-item h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.hwr-item p {
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .hwr-grid { grid-template-columns: 1fr; }
}

/* --- Cookie Banner ---------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 720px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  z-index: 9999;
  padding: 1.25rem 1.5rem;
  transition: opacity .3s ease, transform .3s ease;
}
.cookie-banner--hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-text {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
}
.cookie-text a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-btns {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}
.cookie-btn-accept {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  padding: .6rem 1.4rem;
  font-size: .9rem;
}
.cookie-btn-accept:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
}
.cookie-btn-decline {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
  padding: .6rem 1.4rem;
  font-size: .9rem;
}
.cookie-btn-decline:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; }
  .cookie-btns  { width: 100%; }
  .cookie-btn-accept,
  .cookie-btn-decline { flex: 1; justify-content: center; }
}

.footer-inner {
  grid-template-columns: 2fr 1fr 1fr;
}
/* ============================================================
   REVIEWS ARCHIVE — Sidebar Filters Layout
   ============================================================ */

/* Wide container for archive page */
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Two-column layout: sidebar + results */
.reviews-archive-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

/* ---- Filters Sidebar ------------------------------------ */
.filters-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 88px;
  align-self: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.filters-header h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.filters-reset {
  font-size: .8rem;
  color: var(--text-muted);
  text-decoration: underline;
}
.filters-reset:hover { color: var(--orange); }

/* Filter groups */
.filter-group {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.filter-group:last-of-type { border-bottom: none; }

.filter-group-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
  margin-bottom: .75rem;
}

/* Collapsible group toggle */
.filter-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
  margin-bottom: .75rem;
  padding: 0;
}
.toggle-icon { font-size: .85rem; color: var(--text-dim); transition: transform var(--transition); }
.filter-group-options.collapsed { display: none; }

/* Search input */
.filter-search-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .9rem;
  padding: .55rem .85rem;
  outline: none;
  transition: border-color var(--transition);
  font-family: var(--font);
}
.filter-search-input::placeholder { color: var(--text-dim); }
.filter-search-input:focus { border-color: var(--orange); }

/* Rating pills */
.rating-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.rating-pill {
  cursor: pointer;
}
.rating-pill input { display: none; }
.rating-pill {
  display: inline-flex;
  align-items: center;
  padding: .2rem .52rem;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.rating-pill.active,
.rating-pill:has(input:checked) {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.rating-pill:hover { border-color: var(--orange); color: var(--orange); }
.rating-pill.active:hover,
.rating-pill:has(input:checked):hover { color: #fff; }

/* Checkboxes */
.filter-group-options {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.filter-checkbox {
  display: flex;
  align-items: center;
  gap: .65rem;
  cursor: pointer;
  padding: .25rem 0;
}
.checkbox-box {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.filter-checkbox input { display: none; }
.filter-checkbox.checked .checkbox-box,
.filter-checkbox:has(input:checked) .checkbox-box {
  background: var(--orange);
  border-color: var(--orange);
}
.filter-checkbox.checked .checkbox-box::after,
.filter-checkbox:has(input:checked) .checkbox-box::after {
  content: '';
  display: block;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}
.checkbox-label {
  font-size: .88rem;
  color: var(--text-muted);
  transition: color var(--transition);
  line-height: 1.3;
}
.filter-checkbox:hover .checkbox-label,
.filter-checkbox.checked .checkbox-label { color: var(--text); }

/* Sort select */
.filter-select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .9rem;
  padding: .55rem .85rem;
  outline: none;
  cursor: pointer;
  font-family: var(--font);
  transition: border-color var(--transition);
}
.filter-select:focus { border-color: var(--orange); }

/* Submit button */
.filter-submit {
  width: calc(100% - 2.5rem);
  margin: 1rem 1.25rem 1.25rem;
  justify-content: center;
}

/* ---- Results bar ---------------------------------------- */
.results-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.5rem;
  min-height: 32px;
}
.results-count {
  font-size: .9rem;
  color: var(--text-muted);
}
.results-count strong { color: var(--white); }
.active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.active-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--orange-glow);
  border: 1px solid rgba(255,107,53,.35);
  color: var(--orange-light);
  font-size: .78rem;
  font-weight: 600;
  padding: .2rem .65rem;
  border-radius: 20px;
  text-decoration: none;
  transition: all var(--transition);
}
.active-tag:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ---- Mobile filter button ------------------------------- */
.mobile-filter-btn {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: .8rem 2rem;
  font-size: .95rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,107,53,.5);
  white-space: nowrap;
}

/* ---- Responsive ----------------------------------------- */
@media (max-width: 1024px) {
  .reviews-archive-layout {
    grid-template-columns: 240px 1fr;
  }
}

@media (max-width: 768px) {
  .reviews-archive-layout {
    grid-template-columns: 1fr;
  }
  .mobile-filter-btn { display: flex; }

  .filters-sidebar {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 200;
    overflow-y: auto;
    border-radius: 0;
    -webkit-overflow-scrolling: touch;
  }
  .filters-sidebar.mobile-open {
    display: block;
  }
}

/* ---- Archive hero wide ---------------------------------- */
.reviews-archive-section { background: var(--bg-section); }

/* --- Quick Facts Table ------------------------------------ */
.quick-facts-section {
  background: var(--bg);
  padding: 0 0 5rem 0;
}
.quick-facts-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.quick-facts-table tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.quick-facts-table tr:last-child {
  border-bottom: none;
}
.quick-facts-table tr:hover {
  background: var(--bg-card-hover);
}
.qf-label {
  padding: .85rem 1.25rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-muted);
  background: var(--bg-card);
  width: 40%;
  border-right: 1px solid var(--border);
}
.qf-value {
  padding: .85rem 1.25rem;
  font-size: .9rem;
  color: var(--text);
  background: var(--bg-card);
}
.quick-facts-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-align: center;
}

@media (max-width: 640px) {
  .quick-facts-table { max-width: 100%; }
  .qf-label { width: 45%; }
}


/* --- Compare Bar ------------------------------------------ */
.compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.5);
  z-index: 9990;
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.compare-bar--visible {
  transform: translateY(0);
}
.compare-bar-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.compare-slots {
  display: flex;
  gap: .75rem;
  flex: 1;
}
.compare-slot {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: .5rem .85rem;
  min-width: 160px;
  max-width: 220px;
  font-size: .85rem;
  color: var(--text-muted);
  position: relative;
  transition: border-color var(--transition);
}
.compare-slot.filled {
  border-style: solid;
  border-color: rgba(255,107,53,.4);
  color: var(--text);
}
.compare-slot img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}
.compare-slot-name {
  font-size: .8rem;
  line-height: 1.3;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.compare-slot-remove {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: .8rem;
  padding: 2px 4px;
  line-height: 1;
  flex-shrink: 0;
  transition: color var(--transition);
}
.compare-slot-remove:hover { color: var(--red); }
.compare-bar-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.compare-bar-clear {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: .85rem;
  cursor: pointer;
  transition: color var(--transition);
}
.compare-bar-clear:hover { color: var(--text); }

/* --- Compare Button --------------------------------------- */
.compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: all var(--transition);
}
.compare-btn:hover:not(:disabled) {
  border-color: var(--orange);
  color: var(--orange);
}
.compare-btn--added {
  border-color: var(--green) !important;
  color: var(--green) !important;
}
.compare-btn--disabled,
.compare-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.compare-btn--card {
  width: 100%;
  justify-content: center;
  margin-top: .5rem;
}

/* --- Compare Overlay & Popup ------------------------------ */
.compare-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.compare-overlay--visible {
  opacity: 1;
  pointer-events: all;
}
.compare-popup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}
.compare-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.compare-popup-close:hover { border-color: var(--orange); color: var(--orange); }
.compare-popup-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.75rem;
  letter-spacing: -.02em;
}
.compare-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.compare-col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.compare-col-img {
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  padding: 1rem;
}
.compare-col-img img {
  max-height: 140px;
  object-fit: contain;
}
.compare-col-img-placeholder {
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange);
}
.compare-col-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  padding: 1rem 1rem .5rem;
  line-height: 1.35;
}
.compare-col-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .83rem;
  flex: 1;
}
.compare-col-table td {
  padding: .55rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.compare-col-table td:first-child {
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  width: 45%;
}
.compare-col-btn {
  margin: 1rem;
  justify-content: center;
  font-size: .88rem;
  padding: .65rem 1rem;
}

@media (max-width: 768px) {
  .compare-slots { flex-wrap: wrap; }
  .compare-slot  { min-width: 140px; }
  .compare-columns { grid-template-columns: 1fr; }
}

/* --- Mobile Filters Fix ----------------------------------- */
.filters-close {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: .85rem;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
}
.filters-close:hover { border-color: var(--orange); color: var(--orange); }

.filters-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 998;
}
.filters-overlay.active { display: block; }

@media (max-width: 768px) {
  .filters-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 85%;
    max-width: 320px;
    overflow-y: auto;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform .3s ease;
    padding: 1.5rem;
  }
  .filters-sidebar.mobile-open {
    transform: translateX(0);
  }
  .filters-close {
    display: flex;
  }
}

.filter-group-options--scroll {
  max-height: 300px;
  overflow-y: auto;
  padding-right: .5rem;
}

.filter-group-options--scroll::-webkit-scrollbar {
  width: 4px;
}
.filter-group-options--scroll::-webkit-scrollbar-track {
  background: var(--bg);
  border-radius: 4px;
}
.filter-group-options--scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
.filter-group-options--scroll::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

/* --- Brands Grid ------------------------------------------ */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: border-color var(--transition), transform var(--transition);
  color: var(--text);
}
.brand-card:hover {
  border-color: rgba(255,107,53,.4);
  transform: translateY(-3px);
}
.brand-card-logo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: var(--bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: .5rem;
}
.brand-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-card-initials {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
}
.brand-card-body {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
  min-width: 0;
}
.brand-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.brand-card-meta {
  font-size: .8rem;
  color: var(--text-muted);
}
.brand-card-excerpt {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.brand-card-count {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--orange);
  margin-top: .25rem;
}

@media (max-width: 640px) {
  .brands-grid { grid-template-columns: 1fr; }
}

/* --- Brand Hero ------------------------------------------- */
.brand-hero {
  padding: 4rem 0;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}
.brand-hero-inner {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}
.brand-hero-logo {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}
.brand-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-hero-initials {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
}
.brand-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.brand-hero-meta h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
}
.brand-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.brand-meta-item {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.brand-meta-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
}
.brand-meta-value {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
}
.brand-hero-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
}

@media (max-width: 640px) {
  .brand-hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .brand-meta-grid { justify-content: center; }
}

/* --- Brands A-Z Nav --------------------------------------- */
.brands-az-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: 3rem;
  justify-content: center;
}
.az-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 700;
  transition: all var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
}
.az-letter--active {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--orange);
}
.az-letter--active:hover,
.az-letter--active.az-selected {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.az-letter--inactive {
  color: var(--text-dim);
  cursor: default;
}

/* --- Brands Marquee Strip --------------------------------- */
.brands-strip-section { overflow: hidden; }

.brands-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
}

/* Fade edges */
.brands-marquee-wrap::before,
.brands-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.brands-marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.brands-marquee-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.brands-marquee {
  display: flex;
  width: 100%;
}

.brands-marquee-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: marqueeScroll 40s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.brands-marquee-wrap:hover .brands-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 2rem;
  min-width: 200px;
  height: 120px;
  flex-shrink: 0;
  transition: border-color var(--transition), transform var(--transition);
}
.marquee-brand:hover {
  border-color: rgba(255,107,53,.4);
  transform: translateY(-2px);
}
.marquee-brand img {
  max-height: 80px;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.4);
  transition: filter var(--transition);
}
.marquee-brand:hover img {
  filter: grayscale(0) brightness(1);
}
.marquee-brand-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color var(--transition);
}
.marquee-brand:hover .marquee-brand-name {
  color: var(--orange);
}