/* ============================================
   BuyeReports - Product Review & Comparison Site
   Global Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #DBEAFE;
  --secondary: #0F172A;
  --accent-green: #10B981;
  --accent-green-light: #D1FAE5;
  --accent-red: #EF4444;
  --accent-red-light: #FEE2E2;
  --accent-yellow: #F59E0B;
  --accent-yellow-light: #FEF3C7;
  --bg: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1200px;
  --nav-height: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--primary-dark); }

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
}

input, select {
  font-family: inherit;
  outline: none;
}

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.2; }
h2 { font-size: 1.875rem; font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.4; }
h4 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }

.section-title {
  text-align: center;
  margin-bottom: 8px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
}
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover {
  background: var(--primary-light);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-green {
  background: var(--accent-green-light);
  color: #065F46;
}
.badge-blue {
  background: var(--primary-light);
  color: #1E40AF;
}
.badge-yellow {
  background: var(--accent-yellow-light);
  color: #92400E;
}

/* ---------- Star Rating ---------- */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--accent-yellow);
  font-size: 1rem;
}
.stars.sm { font-size: 0.8rem; }
.stars.lg { font-size: 1.4rem; }
.stars .star-empty { color: #D1D5DB; }

.rating-score {
  font-weight: 700;
  color: var(--text-primary);
  margin-left: 6px;
  font-size: 0.9rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
}
.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--primary-light);
  color: var(--primary);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-search {
  position: relative;
}
.nav-search input {
  padding: 8px 16px 8px 38px;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 0.9rem;
  width: 220px;
  background: var(--bg);
  transition: all 0.3s;
}
.nav-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  width: 280px;
}
.nav-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.nav-compare-btn {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.nav-compare-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}
.compare-count {
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
}
.mobile-menu-btn {
  display: none;
  background: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  padding: 4px;
}

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
  padding: 20px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  padding: 14px 20px;
  border-radius: var(--radius);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1.05rem;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, #1E3A5F 0%, #2563EB 50%, #3B82F6 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-search {
  display: flex;
  max-width: 560px;
  margin: 0 auto 40px;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-search input {
  flex: 1;
  padding: 18px 24px;
  border: none;
  font-size: 1.05rem;
  color: var(--text-primary);
}
.hero-search input::placeholder {
  color: var(--text-muted);
}
.hero-search button {
  padding: 18px 32px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}
.hero-search button:hover {
  background: var(--primary-dark);
}
.hero-categories {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-cat-chip {
  padding: 10px 22px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.hero-cat-chip:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
.categories-section {
  padding: 72px 0;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid var(--border-light);
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cat-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.cat-icon.electronics { background: #DBEAFE; }
.cat-icon.appliances { background: #D1FAE5; }
.cat-icon.health { background: #FEE2E2; }
.cat-card h3 { margin-bottom: 8px; }
.cat-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.cat-card .btn { margin-top: auto; }

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}
.product-card-img.electronics { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); }
.product-card-img.appliances { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }
.product-card-img.health { background: linear-gradient(135deg, #FEE2E2, #FECACA); }

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}
.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  line-height: 1.3;
}
.product-card-body h3 a {
  color: var(--text-primary);
}
.product-card-body h3 a:hover {
  color: var(--primary);
}
.product-card-cat {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-card-rating {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.product-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.product-card-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}
.product-card-price .prefix {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}
.compare-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
}
.compare-checkbox input {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

/* ---------- Horizontal Scroll Row ---------- */
.scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.scroll-row::-webkit-scrollbar { height: 6px; }
.scroll-row::-webkit-scrollbar-track { background: transparent; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.scroll-row .product-card {
  min-width: 300px;
  scroll-snap-align: start;
}

/* ============================================
   TOP PICKS / FEATURED SECTION
   ============================================ */
.featured-section {
  padding: 72px 0;
  background: #fff;
}

/* ============================================
   LATEST REVIEWS SECTION
   ============================================ */
.latest-section {
  padding: 72px 0;
}

/* ============================================
   COMPARE CTA
   ============================================ */
.compare-cta {
  padding: 72px 0;
  background: linear-gradient(135deg, #0F172A, #1E3A5F);
  color: #fff;
  text-align: center;
}
.compare-cta h2 { margin-bottom: 12px; }
.compare-cta p {
  opacity: 0.8;
  font-size: 1.1rem;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.compare-cta .btn-white {
  font-size: 1.05rem;
  padding: 14px 36px;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  padding: 56px 0;
  background: var(--primary-light);
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.newsletter-text h3 { margin-bottom: 6px; }
.newsletter-text p { color: var(--text-secondary); }
.newsletter-form {
  display: flex;
  gap: 8px;
  min-width: 400px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.newsletter-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.newsletter-form .btn { flex-shrink: 0; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--secondary);
  color: #CBD5E1;
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  color: #CBD5E1;
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748B;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb .sep { margin: 0 8px; }

/* ============================================
   CATEGORY PAGE
   ============================================ */
.category-header {
  padding: 32px 0 40px;
}
.category-header h1 { margin-bottom: 8px; }
.category-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filter-bar select {
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: #fff;
  cursor: pointer;
}
.filter-bar label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.filter-results {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail {
  padding: 24px 0 60px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.product-gallery {
  background: #fff;
  border-radius: var(--radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  box-shadow: var(--shadow);
}
.product-info h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.product-info-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.product-info-rating .rating-score {
  font-size: 1.2rem;
}
.product-info-rating .review-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.product-info-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.product-info-price .currency { font-size: 1.2rem; color: var(--text-muted); }
.product-info-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Pros & Cons ---------- */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.pros, .cons {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.pros h3 { color: var(--accent-green); margin-bottom: 16px; }
.cons h3 { color: var(--accent-red); margin-bottom: 16px; }
.pros ul li, .cons ul li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-light);
}
.pros ul li::before { content: '✓'; color: var(--accent-green); font-weight: 700; }
.cons ul li::before { content: '✗'; color: var(--accent-red); font-weight: 700; }

/* ---------- Specs Table ---------- */
.specs-section {
  margin-bottom: 48px;
}
.specs-table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-collapse: collapse;
}
.specs-table tr:nth-child(even) { background: var(--bg); }
.specs-table td {
  padding: 14px 24px;
  font-size: 0.95rem;
}
.specs-table td:first-child {
  font-weight: 600;
  color: var(--text-secondary);
  width: 30%;
}

/* ---------- Review Content ---------- */
.review-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 48px;
}
.review-content h2 { margin: 32px 0 16px; font-size: 1.5rem; }
.review-content h2:first-child { margin-top: 0; }
.review-content p { margin-bottom: 16px; color: var(--text-secondary); }

/* ---------- Related Products ---------- */
.related-section { padding-top: 24px; border-top: 1px solid var(--border); }
.related-section h2 { margin-bottom: 24px; }

/* ============================================
   COMPARE PAGE
   ============================================ */
.compare-header {
  padding: 32px 0 40px;
}
.compare-header h1 { margin-bottom: 8px; }
.compare-header p { color: var(--text-secondary); font-size: 1.1rem; }

.compare-add-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.compare-add-bar select {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  min-width: 250px;
}
.compare-add-bar .btn { flex-shrink: 0; }

.compare-table-wrap {
  overflow-x: auto;
  margin-bottom: 48px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 600px;
}
.compare-table th {
  padding: 20px;
  text-align: center;
  background: var(--bg);
  position: relative;
  min-width: 180px;
}
.compare-table th .remove-compare {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-red-light);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
}
.compare-table th .compare-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border-radius: var(--radius);
}
.compare-table th .compare-name {
  font-size: 1rem;
  margin-bottom: 4px;
}
.compare-table th .compare-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}
.compare-table td {
  padding: 14px 20px;
  text-align: center;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
}
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg);
}
.compare-table .best {
  background: #F0FDF4;
  color: var(--accent-green);
  font-weight: 600;
}
.compare-table .best::after {
  content: ' 🏆';
}

.empty-compare {
  text-align: center;
  padding: 80px 20px;
}
.empty-compare .empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}
.empty-compare h2 { margin-bottom: 8px; }
.empty-compare p { color: var(--text-secondary); margin-bottom: 24px; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  padding: 60px 0;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.about-hero h1 { margin-bottom: 12px; }
.about-hero p { color: var(--text-secondary); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

.about-content {
  padding: 60px 0;
}
.about-section {
  max-width: 800px;
  margin: 0 auto 48px;
}
.about-section h2 { margin-bottom: 16px; }
.about-section p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.about-value {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-value .value-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.about-value h3 { margin-bottom: 8px; font-size: 1.1rem; }
.about-value p { font-size: 0.9rem; color: var(--text-secondary); }

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none !important; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--secondary);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  animation: slideUp 0.3s ease;
  max-width: 360px;
}
.toast.success { background: var(--accent-green); }
.toast.error { background: var(--accent-red); }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE - Tablet
   ============================================ */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.05rem; }

  .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { min-width: 0; width: 100%; }
  .about-values { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .nav-search { display: none; }
  .mobile-menu-btn { display: block; }
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */
@media (max-width: 600px) {
  .container { padding: 0 16px; }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }

  .hero { padding: 48px 0 60px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-search { flex-direction: column; border-radius: var(--radius); }
  .hero-search input { padding: 14px 18px; }
  .hero-search button { padding: 14px; }
  .hero-categories { gap: 8px; }
  .hero-cat-chip { padding: 8px 16px; font-size: 0.85rem; }

  .product-grid { grid-template-columns: 1fr; }
  .scroll-row .product-card { min-width: 260px; }

  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-results { margin-left: 0; }

  .compare-table-wrap { margin: 0 -16px 32px; }
  .compare-table { font-size: 0.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .product-actions { flex-direction: column; }
  .product-actions .btn { width: 100%; }

  .compare-add-bar { flex-direction: column; }
  .compare-add-bar select { width: 100%; }
}
