/* PawPicks UK — Clean, fast, readable */
:root {
  --color-primary: #2d6a4f;
  --color-primary-light: #40916c;
  --color-accent: #d4a373;
  --color-bg: #fefae0;
  --color-bg-alt: #fff;
  --color-text: #2b2d42;
  --color-text-light: #555;
  --color-border: #ddd;
  --color-star: #f4a261;
  --max-width: 1100px;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 17px; scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-light); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* Header */
.site-header {
  background: var(--color-primary);
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.site-logo:hover { color: var(--color-accent); text-decoration: none; }
.site-logo span { color: var(--color-accent); }

.site-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-nav a { color: rgba(255,255,255,0.85); font-size: 0.95rem; font-weight: 500; }
.site-nav a:hover { color: #fff; text-decoration: none; }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}
.hero h1 { font-family: var(--font-heading); font-size: 2.4rem; margin-bottom: 0.5rem; }
.hero p { font-size: 1.15rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* Main content */
main { padding: 2rem 0; }

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.product-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.product-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.product-card .rating { color: var(--color-star); font-size: 1.1rem; margin-bottom: 0.5rem; }
.product-card .price { font-size: 1.3rem; font-weight: 700; color: var(--color-primary); }
.product-card .meta { font-size: 0.85rem; color: var(--color-text-light); margin: 0.5rem 0; }

.product-card .pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1rem 0; }
.product-card .pros li::before { content: '✅ '; }
.product-card .cons li::before { content: '❌ '; }
.product-card .pros, .product-card .cons { list-style: none; font-size: 0.9rem; }
.product-card .pros li, .product-card .cons li { margin-bottom: 0.3rem; }

.product-card .cta {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: background 0.2s;
}
.product-card .cta:hover { background: var(--color-primary-light); text-decoration: none; }

/* Comparison table */
.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg-alt);
  border-radius: 8px;
  overflow: hidden;
  min-width: 600px;
}
.comparison-table th, .comparison-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.comparison-table th { background: var(--color-primary); color: #fff; font-weight: 600; }
.comparison-table tr:hover { background: rgba(45,106,79,0.04); }

/* Article content */
.article-content {
  max-width: 740px;
  margin: 0 auto;
}
.article-content h1 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 0.5rem; }
.article-content h2 { font-family: var(--font-heading); font-size: 1.5rem; margin: 2rem 0 0.75rem; color: var(--color-primary); }
.article-content h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
.article-content p { margin-bottom: 1rem; }
.article-content ul, .article-content ol { margin: 1rem 0 1rem 1.5rem; }
.article-content li { margin-bottom: 0.4rem; }

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}
.breadcrumbs a { color: var(--color-text-light); }
.breadcrumbs a:hover { color: var(--color-primary); }

/* Badge */
.badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}
.badge--top { background: #e76f51; }
.badge--value { background: var(--color-primary); }

/* Footer */
.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  padding: 2rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.affiliate-disclosure {
  background: #f0f0f0;
  border-left: 4px solid var(--color-accent);
  padding: 1rem;
  margin: 2rem 0;
  font-size: 0.85rem;
  color: var(--color-text-light);
  border-radius: 0 8px 8px 0;
}

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--color-border); padding: 1rem 0; }
.faq-item summary { font-weight: 600; cursor: pointer; font-size: 1.05rem; }
.faq-item p { margin-top: 0.5rem; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card .pros-cons { grid-template-columns: 1fr; }
  .site-header .container { flex-direction: column; text-align: center; }
  .comparison-table { font-size: 0.85rem; }
  .comparison-table th, .comparison-table td { padding: 0.5rem; }
}
