/*
Theme Name: ToolReview Pro
Theme URI: https://example.com/toolreview-pro
Author: Your Name
Description: A clean, professional WordPress theme designed for tool reviews and affiliate marketing. Features star ratings, pros/cons lists, affiliate link buttons, and a conversion-optimized layout.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toolreview-pro
Tags: blog, e-commerce, reviews, affiliate, one-column, two-columns, custom-colors, custom-menu, featured-images, sticky-post, threaded-comments
*/

/* ============================================================
   TOOLREVIEW PRO — MASTER STYLESHEET
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --color-primary:   #1d4ed8;
  --color-primary-dark: #1e3a8a;
  --color-accent:    #f59e0b;
  --color-accent-dark: #d97706;
  --color-success:   #16a34a;
  --color-danger:    #dc2626;
  --color-text:      #1f2937;
  --color-muted:     #6b7280;
  --color-border:    #e5e7eb;
  --color-bg:        #f9fafb;
  --color-white:     #ffffff;
  --color-card:      #ffffff;
  --color-navy:      #0f172a;
  --shadow-sm:       0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:       0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.06);
  --shadow-lg:       0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.05);
  --radius-sm:       6px;
  --radius-md:       10px;
  --radius-lg:       16px;
  --font-sans:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition:      all 0.2s ease;
  --max-width:       1200px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-dark); }
ul, ol { padding-left: 1.5rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
  margin-bottom: 0.75em;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p  { margin-bottom: 1.25rem; color: var(--color-text); }

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

.site-content-area {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  padding: 2.5rem 0;
}

.site-content-area.full-width {
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  .site-content-area { grid-template-columns: 1fr; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--color-navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--color-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.site-logo .logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.5px;
}

.site-logo .logo-text span { color: var(--color-accent); }

/* ---------- Navigation ---------- */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
}

.main-nav ul li a {
  display: block;
  padding: 0.5rem 0.875rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item > a {
  color: var(--color-white);
  background: rgba(255,255,255,.1);
}

.nav-search-btn {
  background: var(--color-accent);
  color: var(--color-navy) !important;
  font-weight: 700 !important;
  padding: 0.5rem 1rem !important;
}
.nav-search-btn:hover { background: var(--color-accent-dark) !important; color: var(--color-navy) !important; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; transition: var(--transition); }

@media (max-width: 768px) {
  .hamburger { display: block; }
  .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--color-navy); padding: 1rem; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
}

/* ============================================================
   HERO / BANNER
   ============================================================ */
.hero-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1e3a8a 50%, #1d4ed8 100%);
  color: white;
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-banner .container { position: relative; z-index: 1; }

.hero-tagline {
  display: inline-block;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.3);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero-banner h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-banner p {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 2rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--color-accent); }
.hero-stat span   { font-size: 0.8rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 480px) {
  .hero-stats { gap: 1.5rem; }
  .hero-stat strong { font-size: 1.4rem; }
}

/* ============================================================
   REVIEW CARDS — INDEX / ARCHIVE
   ============================================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-border);
}

.section-header h2 { margin: 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
}
.section-label::before { content: ''; display: block; width: 12px; height: 3px; background: var(--color-primary); border-radius: 2px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.reviews-grid.list-view { grid-template-columns: 1fr; }

/* ---------- Review Card ---------- */
.review-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.review-card .card-image-wrap {
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
  aspect-ratio: 16/9;
}

.review-card .card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.review-card:hover .card-image-wrap img { transform: scale(1.04); }

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 100px;
}

.card-badge.editors-pick { background: var(--color-accent); color: var(--color-navy); }
.card-badge.best-value  { background: var(--color-success); }

.card-score-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-navy);
  color: white;
  font-size: 0.95rem;
  font-weight: 800;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--color-accent);
}

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.card-title a { color: inherit; }
.card-title a:hover { color: var(--color-primary); }

.star-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.75rem;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 0.95rem;
  color: #d1d5db;
}

.star.filled   { color: var(--color-accent); }
.star.half     { color: var(--color-accent); opacity: 0.6; }

.rating-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text);
}

.rating-count {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.card-excerpt {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  gap: 0.75rem;
}

.card-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}
.btn-primary:hover { background: var(--color-primary-dark); color: white; }

.btn-affiliate {
  background: var(--color-accent);
  color: var(--color-navy);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
}
.btn-affiliate:hover { background: var(--color-accent-dark); color: var(--color-navy); }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: white; }

/* ============================================================
   SINGLE REVIEW PAGE
   ============================================================ */
.review-hero {
  background: var(--color-navy);
  padding: 2.5rem 0;
  margin-bottom: 0;
}

.review-hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: center;
}

.review-meta-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.review-category-badge {
  background: rgba(29,78,216,.3);
  border: 1px solid rgba(29,78,216,.5);
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 100px;
}

.review-date { font-size: 0.8rem; color: rgba(255,255,255,.5); }

.review-hero h1 { color: white; font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 1rem; }

.review-hero-stars { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.review-hero-stars .stars { font-size: 1.25rem; }
.review-hero-stars .rating-text { color: white; font-size: 1rem; font-weight: 700; }
.review-hero-stars .rating-count { color: rgba(255,255,255,.5); }

.review-hero p { color: rgba(255,255,255,.75); font-size: 1rem; margin-bottom: 0; }

.review-hero-product-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.review-hero-product-card img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-sm);
}

.product-card-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.product-card-availability {
  font-size: 0.82rem;
  color: var(--color-success);
  font-weight: 600;
  margin-bottom: 1rem;
}
.product-card-availability::before { content: '✓ '; }

.btn-buy-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--color-accent);
  color: var(--color-navy);
  font-size: 1rem;
  font-weight: 800;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-buy-now:hover { background: var(--color-accent-dark); color: var(--color-navy); transform: translateY(-1px); }

.affiliate-disclosure {
  font-size: 0.7rem;
  color: var(--color-muted);
  margin-top: 0.625rem;
}

@media (max-width: 768px) {
  .review-hero-inner { grid-template-columns: 1fr; }
  .review-hero-product-card { max-width: 400px; margin: 0 auto; }
}

/* ---------- Score Overview Box ---------- */
.score-overview {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.score-overview-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.big-score {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(29,78,216,.3);
}

.big-score .score-num { font-size: 2rem; font-weight: 900; line-height: 1; }
.big-score .score-max { font-size: 0.7rem; opacity: 0.7; }

.score-overview-title strong { display: block; font-size: 1.1rem; margin-bottom: 0.25rem; }
.score-overview-title p { font-size: 0.875rem; color: var(--color-muted); margin: 0; }

.score-bars { display: flex; flex-direction: column; gap: 0.75rem; }

.score-bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 40px;
  align-items: center;
  gap: 0.75rem;
}

.score-bar-label { font-size: 0.82rem; font-weight: 600; color: var(--color-text); }

.score-bar-track {
  height: 8px;
  background: var(--color-bg);
  border-radius: 100px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--color-primary), #60a5fa);
  transition: width 1s ease;
}

.score-bar-num { font-size: 0.82rem; font-weight: 700; color: var(--color-primary); text-align: right; }

/* ---------- Pros & Cons ---------- */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 580px) { .pros-cons-grid { grid-template-columns: 1fr; } }

.pros-box, .cons-box {
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.pros-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.cons-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.pros-box h4 {
  color: var(--color-success);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cons-box h4 {
  color: var(--color-danger);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pros-list, .cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pros-list li, .cons-list li {
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.pros-list li::before { content: '✓'; color: var(--color-success); font-weight: 700; flex-shrink: 0; }
.cons-list li::before { content: '✗'; color: var(--color-danger); font-weight: 700; flex-shrink: 0; }

/* ---------- Verdict Box ---------- */
.verdict-box {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 2px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.verdict-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.verdict-box-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-primary-dark);
}

.verdict-icon {
  width: 34px;
  height: 34px;
  background: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.verdict-box p { color: #1e3a8a; margin: 0; font-size: 0.95rem; line-height: 1.7; }

/* ---------- Review Body Content ---------- */
.review-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.review-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.875rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.review-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.review-content h3 { font-size: 1.2rem; margin-top: 1.5rem; }

.review-content img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: 1.5rem 0;
}

.review-content blockquote {
  border-left: 4px solid var(--color-primary);
  background: #eff6ff;
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  color: var(--color-primary-dark);
  font-style: italic;
}

/* ---------- Spec Table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-table th {
  background: var(--color-navy);
  color: white;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-table td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--color-border); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: #f8fafc; }
.spec-table td:first-child { font-weight: 600; color: var(--color-navy); width: 40%; }

/* ---------- Affiliate CTA Strip ---------- */
.affiliate-cta-strip {
  background: linear-gradient(135deg, var(--color-navy), #1e3a8a);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.affiliate-cta-strip .cta-left strong { display: block; color: white; font-size: 1.1rem; margin-bottom: 0.25rem; }
.affiliate-cta-strip .cta-left p   { color: rgba(255,255,255,.65); font-size: 0.85rem; margin: 0; }

.btn-cta-big {
  background: var(--color-accent);
  color: var(--color-navy);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-cta-big:hover { background: white; color: var(--color-navy); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 1.75rem; }

.widget {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.widget-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-border);
}

/* Top Picks Widget */
.top-picks-list { list-style: none; padding: 0; margin: 0; }
.top-picks-list li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}
.top-picks-list li:last-child { border-bottom: none; padding-bottom: 0; }

.pick-rank {
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pick-rank.rank-1 { background: var(--color-accent); color: var(--color-navy); }
.pick-rank.rank-2 { background: #94a3b8; }
.pick-rank.rank-3 { background: #d97706; }

.pick-info { flex: 1; min-width: 0; }
.pick-info a { font-size: 0.875rem; font-weight: 600; color: var(--color-navy); display: block; }
.pick-info a:hover { color: var(--color-primary); }
.pick-info .pick-price { font-size: 0.78rem; color: var(--color-muted); }

/* Categories Widget */
.category-list { list-style: none; padding: 0; margin: 0; }
.category-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--color-border); }
.category-list li:last-child { border-bottom: none; }
.category-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--color-text);
}
.category-list li a:hover { color: var(--color-primary); }
.cat-count {
  background: var(--color-bg);
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
}

/* Sidebar CTA */
.sidebar-cta-widget {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  text-align: center;
}
.sidebar-cta-widget .widget-title { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.15); }
.sidebar-cta-widget h4 { color: white; margin-bottom: 0.5rem; }
.sidebar-cta-widget p  { color: rgba(255,255,255,.75); font-size: 0.875rem; margin-bottom: 1.25rem; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  background: white;
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
}

.breadcrumbs nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs .separator { color: var(--color-border); }
.breadcrumbs .current { color: var(--color-text); font-weight: 500; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.pagination a, .pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  background: white;
  color: var(--color-text);
  transition: var(--transition);
}

.pagination a:hover { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.pagination .current { background: var(--color-primary); color: white; border-color: var(--color-primary); }

/* ============================================================
   DISCLOSURE NOTICE
   ============================================================ */
.affiliate-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  font-size: 0.8rem;
  color: #92400e;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.affiliate-notice::before { content: 'ℹ️'; font-size: 1rem; flex-shrink: 0; line-height: 1.4; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,.7);
  margin-top: 4rem;
}

.footer-top {
  padding: 3.5rem 0 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

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

.footer-brand .logo-text { color: white; font-size: 1.25rem; font-weight: 800; margin-bottom: 0.75rem; }
.footer-brand .logo-text span { color: var(--color-accent); }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; max-width: 280px; }

.footer-col h5 {
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,.6); }
.footer-col ul li a:hover { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  flex-wrap: wrap;
}

.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--color-accent); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-muted  { color: var(--color-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.w-full { width: 100%; }

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
